1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00
OpenMW/components/contentselector/view/textinputdialog.hpp
graffy76 217a4d75b4 Implemented profile function in launcher datafiles page
Implemented dependency sorting to ensure dependent files appear latest
in the list.
2013-10-06 21:13:47 -05:00

33 lines
541 B
C++

#ifndef TEXTINPUTDIALOG_HPP
#define TEXTINPUTDIALOG_HPP
#include <QDialog>
class QDialogButtonBox;
namespace ContentSelectorView {
class LineEdit;
}
class TextInputDialog : public QDialog
{
Q_OBJECT
ContentSelectorView::LineEdit *mLineEdit;
QDialogButtonBox *mButtonBox;
public:
explicit TextInputDialog(const QString& title, const QString &text, QWidget *parent = 0);
QString getText() const;
int exec();
private slots:
void slotUpdateOkButton(QString text);
};
#endif // TEXTINPUTDIALOG_HPP