| 1 | #pragma once |
| 2 | |
| 3 | #include "pch.h" |
| 4 | #include "ui_preferences_dialog.h" |
| 5 | |
| 6 | class PreferencesDialog : public QDialog { |
| 7 | Q_OBJECT |
| 8 | |
| 9 | public: |
| 10 | PreferencesDialog(QWidget *parent = nullptr); |
| 11 | ~PreferencesDialog(); |
| 12 | |
| 13 | QString getRclone() const; |
| 14 | QString getRcloneConf() const; |
| 15 | QString getStream() const; |
| 16 | QString getMount() const; |
| 17 | QString getDefaultDownloadDir() const; |
| 18 | QString getDefaultUploadDir() const; |
| 19 | QString getDefaultDownloadOptions() const; |
| 20 | QString getDefaultUploadOptions() const; |
| 21 | QString getDefaultRcloneOptions() const; |
| 22 | |
| 23 | bool getCheckRcloneBrowserUpdates() const; |
| 24 | bool getCheckRcloneUpdates() const; |
| 25 | |
| 26 | bool getAlwaysShowInTray() const; |
| 27 | bool getCloseToTray() const; |
| 28 | bool getNotifyFinishedTransfers() const; |
| 29 | |
| 30 | bool getShowFolderIcons() const; |
| 31 | bool getShowFileIcons() const; |
| 32 | bool getRowColors() const; |
| 33 | bool getShowHidden() const; |
| 34 | bool getDarkMode() const; |
| 35 | QString getIconSize() const; |
| 36 | |
| 37 | bool getUseProxy() const; |
| 38 | QString getHttpProxy() const; |
| 39 | QString getHttpsProxy() const; |
| 40 | QString getNoProxy() const; |
| 41 | |
| 42 | private: |
| 43 | Ui::PreferencesDialog ui; |
| 44 | }; |