File indexing completed on 2024-04-28 15:40:13
0001 // SPDX-FileCopyrightText: 2003-2022 Jesper K. Pedersen <blackie@kde.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 #ifndef WELCOMEDIALOG_H 0006 #define WELCOMEDIALOG_H 0007 0008 #include <QDialog> 0009 #include <qdialog.h> 0010 0011 class QLineEdit; 0012 0013 namespace MainWindow 0014 { 0015 0016 class WelcomeDialog : public QDialog 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 explicit WelcomeDialog(QWidget *parent = nullptr); 0022 QString configFileName() const; 0023 0024 protected Q_SLOTS: 0025 void slotLoadDemo(); 0026 void createSetup(); 0027 void checkFeatures(); 0028 0029 private: 0030 QString m_configFile; 0031 }; 0032 0033 class FileDialog : public QDialog 0034 { 0035 Q_OBJECT 0036 public: 0037 explicit FileDialog(QWidget *parent); 0038 QString getFileName(); 0039 protected Q_SLOTS: 0040 void slotBrowseForDirecory(); 0041 0042 private: 0043 QLineEdit *m_lineEdit; 0044 }; 0045 0046 } 0047 0048 #endif // WELCOMEDIALOG_H 0049 // vi:expandtab:tabstop=4 shiftwidth=4: