diff options
author | Arno <arno@disconnect.de> | 2016-11-10 19:03:45 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-11-10 19:03:45 +0100 |
commit | ce0d37ac854cb7102f0476e837b252cb0c127876 (patch) | |
tree | 36510186b648a4376470eea82f281d3482799b61 /randomtab.h | |
parent | aa0cdc4493c0f0435a64cfa8cee010c7659dc8fa (diff) | |
download | SheMov-ce0d37ac854cb7102f0476e837b252cb0c127876.tar.gz SheMov-ce0d37ac854cb7102f0476e837b252cb0c127876.tar.bz2 SheMov-ce0d37ac854cb7102f0476e837b252cb0c127876.zip |
Setup logging facility
Log what we're doing in a QTextEdit below the FileView.
Diffstat (limited to 'randomtab.h')
-rw-r--r-- | randomtab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/randomtab.h b/randomtab.h index f8d2218..ccec1d6 100644 --- a/randomtab.h +++ b/randomtab.h @@ -17,6 +17,7 @@ class QTreeView; class QSortFilterProxyModel; class QStandardItemModel; class QLineEdit; +class QTextEdit; class RandomTab : public QWidget { Q_OBJECT @@ -29,6 +30,7 @@ class RandomTab : public QWidget { void clearAll(); void refreshComboboxes(); void select(); + void logMessage(const QString &msg); private: void setupGui(); @@ -43,6 +45,7 @@ class RandomTab : public QWidget { QPushButton *mClear; QPushButton *mRefresh; QTreeView *mFileView; + QTextEdit *mLog; QStandardItemModel *mFileModel; QStandardItemModel *mGenreModel; QStandardItemModel *mActorModel; |