From 0e27f8f8aaf1a0dbff9aed960e78f109517a387a Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 10 Dec 2014 07:13:29 +0100 Subject: Revamped MetadataWidget Split it up into a small QTreeView and a QTextEdit for the comment. QTreeView and horizontal scrollbars don't seem to play nice together. Qt never displays the bar even if ElideText is set to none. So add a QToolTip for the Subject/Name, since it's most likely not displayed completely. --- archiveview.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'archiveview.h') diff --git a/archiveview.h b/archiveview.h index 202e2f9..d0bb252 100644 --- a/archiveview.h +++ b/archiveview.h @@ -75,10 +75,13 @@ class ArchiveView : public QWidget { QStringList mCurrentArchivePath; SmTreeView *mActorView; SmTreeView *mGenreView; + SmTreeView *mMetaView; + QTextEdit *mComment; QStandardItemModel *mActorModel; QStandardItemModel *mGenreModel; + QStandardItemModel *mMetaModel; QSplitter *mTreeSplitter; - QTextEdit *mMetadataView; + QSplitter *mRightSplitter; QToolBar *mToolBar; }; -- cgit v1.2.3-70-g09d2