aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/ScriptDialog.h
blob: 07ac15d4bb6e81af39c9f0fe08148dc8c24b00d0 (plain)
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
//===========================================
//  Lumina-DE source code
//  Copyright (c) 2014, Ken Moore
//  Available under the 3-clause BSD license
//  See the LICENSE file for full details
//===========================================
//  This is the dialog for selecting an installed application
//===========================================
#ifndef _LUMINA_FILE_MANAGER_SCRIPT_SELECT_DIALOG_H
#define _LUMINA_FILE_MANAGER_SCRIPT_SELECT_DIALOG_H

#include "globals.h"

namespace Ui{
	class ScriptDialog;
};

class ScriptDialog : public QDialog{
	Q_OBJECT
public:
	ScriptDialog(QWidget *parent = 0);
	~ScriptDialog();

	//Main interaction functions
	bool isValid();
	QString icon();
	QString name();
	QString command();

private:
	Ui::ScriptDialog *ui;
	bool ok;

private slots:
	void on_pushApply_clicked();
	void on_pushCancel_clicked();
	void on_tool_getexec_clicked();
	void on_tool_geticon_clicked();
	void checkItems(bool firstrun = false);
};
#endif
bgstack15