From d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189 Mon Sep 17 00:00:00 2001 From: thufir Date: Thu, 04 Jul 2002 16:58:16 +0000 Subject: added opie-sheet --- (limited to 'noncore/apps/opie-sheet/textdlg.h') diff --git a/noncore/apps/opie-sheet/textdlg.h b/noncore/apps/opie-sheet/textdlg.h new file mode 100644 index 0000000..f948228 --- a/dev/null +++ b/noncore/apps/opie-sheet/textdlg.h @@ -0,0 +1,24 @@ +#ifndef TEXTDLG_H +#define TEXTDLG_H + +#include +#include +#include + +class TextDialog: public QDialog +{ + Q_OBJECT + + // QT objects + QLabel *label; + QLineEdit *edit; + + public: + TextDialog(QWidget *parent=0); + ~TextDialog(); + + int exec(const QString &caption, const QString &text, const QString &value=""); + QString getValue(); +}; + +#endif -- cgit v0.9.0.2