source: src-qt4/pc-softwaremanager/configDialog.h @ 78fa8b2

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 78fa8b2 was 78fa8b2, checked in by Ken Moore <ken@…>, 19 months ago

Merge the new AppCafe? into the src-qt4 tree from the projects directory

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#ifndef _APPCAFE_CONFIG_DIALOG_H
2#define _APPCAFE_CONFIG_DIALOG_H
3
4#include <QDialog>
5#include <QWidget>
6#include <QString>
7#include <QFileDialog>
8#include <QMessageBox>
9#include <QInputDialog>
10
11#include "pbiDBAccess.h"
12
13namespace Ui {
14    class ConfigDialog;
15}
16
17class ConfigDialog : public QDialog{
18        Q_OBJECT
19       
20public:
21        explicit ConfigDialog(QWidget* parent = 0);
22        virtual ~ConfigDialog();
23       
24        void setupDone(); //make sure the public variables below are set before running this
25       
26        //Data setup/retrieval variables
27        bool applyChanges;
28        QStringList xdgOpts;
29        bool keepDownloads;
30        QString downloadDir;
31        PBIDBAccess *DB;
32       
33private:
34        Ui::ConfigDialog *ui;
35        QString repoID;
36       
37private slots:
38        //Repo Tab
39        void refreshRepoTab();
40        void on_combo_repo_currentIndexChanged();
41        void on_tool_repo_add_clicked();
42        void on_tool_repo_remove_clicked();
43        void on_tool_repomirror_add_clicked();
44        void on_tool_repomirror_remove_clicked();
45        void on_tool_repomirror_up_clicked();
46        void on_tool_repomirror_down_clicked();
47       
48        //Config Tab
49        void on_group_download_toggled(bool);
50        void on_tool_getDownloadDir_clicked();
51       
52        //ButtonBox
53        void on_buttonBox_accepted();
54        void on_buttonBox_rejected();
55       
56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.