summaryrefslogtreecommitdiffstats
path: root/archiveview.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-05-06 04:27:07 +0200
committerArno <arno@disconnect.de>2016-05-06 04:27:07 +0200
commit99fcbe41868834e52adaa9bc9f7cd186dd4eb3c9 (patch)
treeb2504d18bca94b1e49d3722d224340f9405d6d7e /archiveview.h
parentce6fba33a51bb586c1e2bc4977e4cd4d15594b00 (diff)
downloadSheMov-99fcbe41868834e52adaa9bc9f7cd186dd4eb3c9.tar.gz
SheMov-99fcbe41868834e52adaa9bc9f7cd186dd4eb3c9.tar.bz2
SheMov-99fcbe41868834e52adaa9bc9f7cd186dd4eb3c9.zip
Add clear button to NewMovieWizard
Only show it when called from the wizard.
Diffstat (limited to 'archiveview.h')
-rw-r--r--archiveview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiveview.h b/archiveview.h
index 4b8f81b..35c4629 100644
--- a/archiveview.h
+++ b/archiveview.h
@@ -160,7 +160,7 @@ class ArchiveFilesProxy : public QSortFilterProxyModel {
class MappingEditorWidget : public QWidget {
Q_OBJECT
public:
- explicit MappingEditorWidget(const QString &caption, QWidget *parent = 0);
+ explicit MappingEditorWidget(const QString &caption, bool showClearButton = false, QWidget *parent = 0);
void fillCompleter(const QStringList &completions);
void setCurrentItems(const QStringList &items);
QStringList items() const;
@@ -179,6 +179,7 @@ class MappingEditorWidget : public QWidget {
SmTreeView *mView;
QPushButton *mAdd;
QPushButton *mRemove;
+ QPushButton *mClear;
QLineEdit *mEditor;
QCompleter *mCompleter;
QStringListModel *mCompleterModel;