summaryrefslogtreecommitdiff
path: root/gui/tracedialog.h
blob: a71e28a5f3d5adb2fd443f6812acd3386e3b9587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "ui_tracedialog.h"
#include <QDialog>

class TraceDialog : public QDialog, public Ui_TraceDialog
{
    Q_OBJECT
public:
    TraceDialog(QWidget *parent = 0);

    void accept() override;

    QString api() const;
    QString applicationPath() const;
    QStringList arguments() const;

private slots:
    void browse();

private:
    bool isFileOk(const QString &fileName);
};