mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 11:23:50 +00:00
cfdc19c427
Fixed datafilespage model implementation in launcher Filtered addons in table view by selected game file
31 lines
580 B
C++
31 lines
580 B
C++
#ifndef TEXTINPUTDIALOG_HPP
|
|
#define TEXTINPUTDIALOG_HPP
|
|
|
|
#include <QDialog>
|
|
|
|
class QDialogButtonBox;
|
|
|
|
namespace ContentSelectorView {
|
|
class LineEdit;
|
|
}
|
|
|
|
|
|
class TextInputDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit TextInputDialog(const QString& title, const QString &text, QWidget *parent = 0);
|
|
inline ContentSelectorView::LineEdit *lineEdit() { return mLineEdit; }
|
|
void setOkButtonEnabled(bool enabled);
|
|
|
|
ContentSelectorView::LineEdit *mLineEdit;
|
|
|
|
int exec();
|
|
|
|
private:
|
|
QDialogButtonBox *mButtonBox;
|
|
|
|
|
|
};
|
|
|
|
#endif // TEXTINPUTDIALOG_HPP
|