-
Notifications
You must be signed in to change notification settings - Fork 0
/
appdialog.h
38 lines (28 loc) · 790 Bytes
/
appdialog.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
#ifndef APPDIALOG_H
#define APPDIALOG_H
#include <QDialog>
#include <QTreeWidgetItem>
#include "Utilities.h"
namespace Ui {
class AppDialog;
}
class AppDialog : public QDialog
{
Q_OBJECT
public:
explicit AppDialog(QWidget *parent = nullptr);
~AppDialog();
QString appPath() const;
private:
Ui::AppDialog *ui;
QString mAppPath;
void addApp(const QString &name, const AppDef& app, QTreeWidgetItem *parent);
private slots:
void on_filterEdit_textChanged();
void on_appTree_itemDoubleClicked(QTreeWidgetItem *item, int column);
void on_appTree_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_iconLoadedByFuture();
};
#endif // APPDIALOG_H