summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-09-17 14:50:41 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-17 15:27:50 -0700
commit7a90b9d7647537057f574916314a9f488e900e8a (patch)
tree637b1323f03d35ca42e40b7ed7906f63487dcb0f /qt-ui/mainwindow.cpp
parentabc5d5864cbf8e47d102b04d359a89fce13d0eb8 (diff)
downloadsubsurface-7a90b9d7647537057f574916314a9f488e900e8a.tar.gz
Trigger the log->filter by tag to open the tag filter.
You can't really close it for now. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 6e3aeec80..8cdf6de88 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -69,6 +69,7 @@ MainWindow::MainWindow() : QMainWindow(),
Q_ASSERT_X(m_Instance == NULL, "MainWindow", "MainWindow recreated!");
m_Instance = this;
ui.setupUi(this);
+ ui.tagFilter->hide();
profileToolbarActions << ui.profCalcAllTissues << ui.profCalcCeiling << ui.profDcCeiling << ui.profEad <<
ui.profHR << ui.profIncrement3m << ui.profMod << ui.profNdl_tts << ui.profNdl_tts <<
ui.profPhe << ui.profPn2 << ui.profPO2 << ui.profRuler << ui.profSAC << ui.profScaled <<
@@ -1327,3 +1328,8 @@ void MainWindow::on_paste_triggered()
selective_copy_dive(&copyPasteDive, &displayed_dive, what, false);
ui.InfoWidget->showAndTriggerEditSelective(what);
}
+
+void MainWindow::on_actionFilterTags_triggered()
+{
+ ui.tagFilter->show();
+}