From 0e3e202c90e3ccb80310087409936c00189f0cea Mon Sep 17 00:00:00 2001 From: am Date: Wed, 22 Jul 2009 18:44:02 +0000 Subject: -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 --- textenterdialog.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 textenterdialog.h (limited to 'textenterdialog.h') 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 +#include + +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 + -- cgit v1.2.3-70-g09d2