RetroArch
playlistentrydialog.h
Go to the documentation of this file.
1 #ifndef PLAYLISTENTRYDIALOG_H
2 #define PLAYLISTENTRYDIALOG_H
3 
4 #include <QDialog>
5 
6 class QSettings;
7 class QLineEdit;
8 class QComboBox;
9 class QCheckBox;
10 class MainWindow;
11 
12 class PlaylistEntryDialog : public QDialog
13 {
14  Q_OBJECT
15 public:
16  PlaylistEntryDialog(MainWindow *mainwindow, QWidget *parent = 0);
17  const QHash<QString, QString> getSelectedCore();
18  const QString getSelectedDatabase();
19  const QString getSelectedName();
20  const QString getSelectedPath();
21  const QStringList getSelectedExtensions();
22  bool filterInArchive();
23  bool nameFieldEnabled();
24  void setEntryValues(const QHash<QString, QString> &contentHash);
25 public slots:
26  bool showDialog(const QHash<QString, QString> &hash = QHash<QString, QString>());
27  void hideDialog();
28  void onAccepted();
29  void onRejected();
30 private slots:
31  void onPathClicked();
32 private:
33  void loadPlaylistOptions();
34 
36  QSettings *m_settings;
37  QLineEdit *m_nameLineEdit;
38  QLineEdit *m_pathLineEdit;
40  QComboBox *m_coreComboBox;
41  QComboBox *m_databaseComboBox;
43 };
44 
45 #endif
const QStringList getSelectedExtensions()
Definition: playlistentrydialog.cpp:257
const QHash< QString, QString > getSelectedCore()
Definition: playlistentrydialog.cpp:237
QComboBox * m_databaseComboBox
Definition: playlistentrydialog.h:41
void onPathClicked()
Definition: playlistentrydialog.cpp:97
bool nameFieldEnabled()
Definition: playlistentrydialog.cpp:183
const QString getSelectedPath()
Definition: playlistentrydialog.cpp:247
QLineEdit * m_extensionsLineEdit
Definition: playlistentrydialog.h:39
QComboBox * m_coreComboBox
Definition: playlistentrydialog.h:40
QCheckBox * m_extensionArchiveCheckBox
Definition: playlistentrydialog.h:42
Definition: ui_qt.h:236
void onRejected()
Definition: playlistentrydialog.cpp:273
Definition: playlistentrydialog.h:12
joypad_connection_t * slots
Definition: btstack_hid.c:629
bool showDialog(const QHash< QString, QString > &hash=QHash< QString, QString >())
Definition: playlistentrydialog.cpp:277
QLineEdit * m_nameLineEdit
Definition: playlistentrydialog.h:37
void onAccepted()
Definition: playlistentrydialog.cpp:269
void hideDialog()
Definition: playlistentrydialog.cpp:288
const QString getSelectedName()
Definition: playlistentrydialog.cpp:242
bool filterInArchive()
Definition: playlistentrydialog.cpp:92
const QString getSelectedDatabase()
Definition: playlistentrydialog.cpp:252
void loadPlaylistOptions()
Definition: playlistentrydialog.cpp:107
QSettings * m_settings
Definition: playlistentrydialog.h:36
PlaylistEntryDialog(MainWindow *mainwindow, QWidget *parent=0)
Definition: playlistentrydialog.cpp:31
MainWindow * m_mainwindow
Definition: playlistentrydialog.h:35
void setEntryValues(const QHash< QString, QString > &contentHash)
Definition: playlistentrydialog.cpp:188
QLineEdit * m_pathLineEdit
Definition: playlistentrydialog.h:38