Mercurial > retraceit
comparison src/filterwidget.cpp @ 28:4e16fbd10945
(issue3-5) Make the default sort order configurable
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 05 May 2015 18:46:35 +0200 |
parents | 64a51a42c01f |
children | 3916cb3c9105 |
comparison
equal
deleted
inserted
replaced
27:5bd14af5bce5 | 28:4e16fbd10945 |
---|---|
52 | 52 |
53 void FilterWidget::filterChanged() { | 53 void FilterWidget::filterChanged() { |
54 QString filterText = mEditLine->text(); | 54 QString filterText = mEditLine->text(); |
55 mModel->setFilterKeyColumn(mColFilterMap.value(mCombo->currentIndex())); | 55 mModel->setFilterKeyColumn(mColFilterMap.value(mCombo->currentIndex())); |
56 mModel->setFilterWildcard(filterText); | 56 mModel->setFilterWildcard(filterText); |
57 emit filterHasChanged(); | |
57 } | 58 } |
58 | 59 |
59 void FilterWidget::setupGUI() { | 60 void FilterWidget::setupGUI() { |
60 QHBoxLayout *root = new QHBoxLayout; | 61 QHBoxLayout *root = new QHBoxLayout; |
61 | 62 |