comparison src/filterwidget.cpp @ 94:07e1e47954f6

Default to include empty fields
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 29 Jun 2015 15:38:41 +0200
parents b8c7644a9d49
children
comparison
equal deleted inserted replaced
93:e4e3228dda08 94:07e1e47954f6
85 baseLayout->addWidget(mEditLine); 85 baseLayout->addWidget(mEditLine);
86 86
87 if (mWithEmptyChk) { 87 if (mWithEmptyChk) {
88 mEmptyChk = new QCheckBox(tr("Include empty fields")); 88 mEmptyChk = new QCheckBox(tr("Include empty fields"));
89 baseLayout->addWidget(mEmptyChk); 89 baseLayout->addWidget(mEmptyChk);
90 mEmptyChk->setCheckState(Qt::Checked);
90 connect(mEmptyChk, &QCheckBox::stateChanged, this, &FilterWidget::includeEmptyChanged); 91 connect(mEmptyChk, &QCheckBox::stateChanged, this, &FilterWidget::includeEmptyChanged);
91 } 92 }
92 93
93 setLayout(root); 94 setLayout(root);
94 } 95 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)