-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmainwindow.h
66 lines (51 loc) · 1.87 KB
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QObject>
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_CreateNFO_clicked();
QString getDataFromURL();
void modifyGenre(const std::string& genre, bool checked);
// textChanged events for the form
void on_showNameInput_textChanged(const QString &arg1);
void on_showPosterInput_textChanged(const QString &arg1);
void on_showDateInput_textChanged(const QString &arg1);
void on_showLocationInput_textChanged(const QString &arg1);
void on_showMasterInput_textChanged(const QString &arg1);
void on_showSynopsisInput_textChanged();
void on_outputFolderInput_textChanged(const QString &arg1);
void on_outputFolderInput_editingFinished();
void on_encoraIDText_textChanged(const QString &arg1);
void on_encoraAPIKey_textChanged(const QString &arg1);
// Genre toggles
void on_checkbox_musical_toggled(bool checked);
void on_checkbox_play_toggled(bool checked);
void on_checkbox_ballet_toggled(bool checked);
void on_checkbox_bootleg_toggled(bool checked);
void on_checkbox_proshot_toggled(bool checked);
// NFT
void on_isNFTCheckbox_toggled(bool checked);
// API buttons
void on_resetAPIKeyButton_pressed();
void on_encoraLookupButton_clicked();
// cast table functions
void on_castTable_cellClicked(int row, int column);
void on_castTable_cellChanged(int row, int column);
void on_actionReset_API_Key_triggered();
void on_actionLoad_NFO_triggered();
private:
Ui::MainWindow *ui;
void clearAllValues();
QString actorNameFromDialog;
QString downloadLinkFromDialog;
};
#endif