From ab474b97614825636831a81c7ea8097ef7b14af9 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 14 Sep 2013 12:18:39 +0200 Subject: Add toolbars to tabs Remove global toolbar and add a toolbar to each tab instead. --- archiveview.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archiveview.h') diff --git a/archiveview.h b/archiveview.h index 58213a1..22bc960 100644 --- a/archiveview.h +++ b/archiveview.h @@ -32,6 +32,7 @@ class QTextEdit; class QCompleter; class QStandardItemModel; class QSpinBox; +class QToolBar; class ArchiveView : public QWidget { Q_OBJECT @@ -43,6 +44,7 @@ class ArchiveView : public QWidget { void setCurrentArchivePath(const QStringList &p) { mCurrentArchivePath = p; } ArchiveModel *archiveModel() { return mArchiveModel; } ArchiveTree *archiveTree() { return mTree; } + QToolBar *toolBar() { return mToolBar; } public slots: void refreshArchive(); @@ -74,6 +76,7 @@ class ArchiveView : public QWidget { QStandardItemModel *mGenreModel; QSplitter *mTreeSplitter; QTextEdit *mMetadataView; + QToolBar *mToolBar; }; class ArchiveTree : public SmTreeView { -- cgit v1.2.3-70-g09d2