summaryrefslogtreecommitdiffstats
path: root/archiveview.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-09-14 12:18:39 +0200
committerArno <am@disconnect.de>2013-09-14 12:18:39 +0200
commitab474b97614825636831a81c7ea8097ef7b14af9 (patch)
treef5c2dd2e1e29ffe3f7d2704ad05dcee39c8a0a03 /archiveview.h
parent361a5c3fbd2a693440491e3720e77a6245ac48d6 (diff)
downloadSheMov-ab474b97614825636831a81c7ea8097ef7b14af9.tar.gz
SheMov-ab474b97614825636831a81c7ea8097ef7b14af9.tar.bz2
SheMov-ab474b97614825636831a81c7ea8097ef7b14af9.zip
Add toolbars to tabs
Remove global toolbar and add a toolbar to each tab instead.
Diffstat (limited to 'archiveview.h')
-rw-r--r--archiveview.h3
1 files changed, 3 insertions, 0 deletions
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 {