blob: f9482280ae06e6a587ff6fc2d7387f5c48b258cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef TEXTDLG_H
#define TEXTDLG_H
#include <qdialog.h>
#include <qlabel.h>
#include <qlineedit.h>
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
|