123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef QSPINPUTDLG_H
- #define QSPINPUTDLG_H
- #include <QWidget>
- #include <QString>
- #include <QFont>
- #include <QColor>
- #include "qsptextbox.h"
- //TODO: implement this to replace generic QInputDialog
- namespace Ui {
- class QspInputDlg;
- }
- class QspInputDlg : public QWidget
- {
- Q_OBJECT
- public:
- explicit QspInputDlg(QWidget *parent = 0);
- ~QspInputDlg();
- QspInputDlg(const QColor& backColor,
- const QColor& fontColor,
- const QFont& font,
- const QString& caption,
- const QString& text,
- bool isHtml,
- const QString& gamePath,
- QWidget *parent = 0);
- private:
- QString GetText() const { return m_text; }
- QspTextBox m_desc;
- QString m_text;
- };
- #endif // QSPINPUTDLG_H
|