From de520355e8f37f5a70015e98a505ee25810b2620 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 28 Dec 2011 19:46:10 +0100 Subject: Delete items in DbAnalyzer (again) While making it possible to mark items in DbAnalyzerDialog I removed the button for deleting items. That is obviously wrong, fix it. --- dbanalyzer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dbanalyzer.h') diff --git a/dbanalyzer.h b/dbanalyzer.h index 25b0bfb..c0b8f14 100644 --- a/dbanalyzer.h +++ b/dbanalyzer.h @@ -24,6 +24,7 @@ class QPushButton; class SmTreeModel; class DbAnalyzer; class QLabel; +class QStackedLayout; class DbAnalyzerDialog : public QDialog { Q_OBJECT @@ -64,11 +65,13 @@ class DbAnalyzerDialog : public QDialog { QPushButton *mCancel; QPushButton *mMark; QPushButton *mRefresh; + QPushButton *mDelete; QLabel *mTotal; QList mTotals; DbAnalyzer *mAnalyzer; int mMarkMode; QTreeView *mCurrentView; + QStackedLayout *mButtonStack; }; class DbAnalyzer : public QThread { -- cgit v1.2.3-70-g09d2