-
-
Notifications
You must be signed in to change notification settings - Fork 342
Expand file tree
/
Copy pathDialogOpenProgram.h
More file actions
34 lines (25 loc) · 726 Bytes
/
Copy pathDialogOpenProgram.h
File metadata and controls
34 lines (25 loc) · 726 Bytes
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
/*
* Copyright (C) 2015 Ruslan Kabatsayev <b7.10110111@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DIALOG_OPEN_PROGRAM_H_20151117_
#define DIALOG_OPEN_PROGRAM_H_20151117_
#include <QFileDialog>
#include <QList>
class QLineEdit;
class QByteArray;
class DialogOpenProgram : public QFileDialog {
Q_OBJECT
public:
explicit DialogOpenProgram(QWidget *parent = nullptr, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString());
public:
[[nodiscard]] QList<QByteArray> arguments() const;
[[nodiscard]] QString workingDirectory() const;
private Q_SLOTS:
void browsePressed();
private:
QLineEdit *argsEdit_;
QLineEdit *workDir_;
};
#endif