summaryrefslogtreecommitdiffstats
path: root/textenterdialog.h
diff options
context:
space:
mode:
authoram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-22 18:44:02 +0000
committeram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-07-22 18:44:02 +0000
commit0e3e202c90e3ccb80310087409936c00189f0cea (patch)
treea4a38c32e761f024e2dfad6a59097cff15472b9e /textenterdialog.h
parent84ed109c159dcbd0c9395717d54599e902060b26 (diff)
downloadSheMov-0e3e202c90e3ccb80310087409936c00189f0cea.tar.gz
SheMov-0e3e202c90e3ccb80310087409936c00189f0cea.tar.bz2
SheMov-0e3e202c90e3ccb80310087409936c00189f0cea.zip
-Finished CoverArchiveEditor (finally, don't like that piece of code, too complicated)
-It's now possible to manually add a movie w/o a file -Some usability fixes git-svn-id: file:///var/svn/repos2/shemov/trunk@394 f440f766-f032-0410-8965-dc7d17de2ca0
Diffstat (limited to 'textenterdialog.h')
-rw-r--r--textenterdialog.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/textenterdialog.h b/textenterdialog.h
new file mode 100644
index 0000000..f555b85
--- /dev/null
+++ b/textenterdialog.h
@@ -0,0 +1,32 @@
+/*
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version
+ 2 of the License, or (at your option) any later version.
+*/
+
+#ifndef TEXTENTERDIALOG_H
+#define TEXTENTERDIALOG_H
+
+#include <QDialog>
+#include <QLineEdit>
+
+class QLineEdit;
+class QPushButton;
+class QString;
+
+class TextEnterDialog : public QDialog {
+ Q_OBJECT
+ public:
+ TextEnterDialog(const QString &text, QWidget *parent = 0, Qt::WindowFlags f = 0);
+ ~TextEnterDialog() {};
+ const QString text() const { return mText->text(); };
+
+ private:
+ QPushButton *mOk;
+ QPushButton *mClose;
+ QLineEdit *mText;
+};
+
+#endif
+