summaryrefslogtreecommitdiffstats
path: root/randomtab.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-11-10 19:03:45 +0100
committerArno <arno@disconnect.de>2016-11-10 19:03:45 +0100
commitce0d37ac854cb7102f0476e837b252cb0c127876 (patch)
tree36510186b648a4376470eea82f281d3482799b61 /randomtab.h
parentaa0cdc4493c0f0435a64cfa8cee010c7659dc8fa (diff)
downloadSheMov-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.h3
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;