Cppcheck
|
Dialog to edit a startable application. More...
#include <applicationdialog.h>
Public Member Functions | |
ApplicationDialog (const QString &title, Application &app, QWidget *parent=nullptr) | |
Constructor. More... | |
~ApplicationDialog () override | |
Protected Slots | |
void | ok () |
void | browse () |
Slot to browse for an application. More... | |
Protected Attributes | |
Ui::ApplicationDialog * | mUI |
UI from the Qt designer. More... | |
Private Attributes | |
Application & | mApplication |
Underlying Application. More... | |
Dialog to edit a startable application.
User can open errors with user specified applications. This is a dialog to modify/add an application to open errors with.
Definition at line 41 of file applicationdialog.h.
ApplicationDialog::ApplicationDialog | ( | const QString & | title, |
Application & | app, | ||
QWidget * | parent = nullptr |
||
) |
Constructor.
title | Title for the dialog. |
app | Application definition. |
parent | Parent widget. |
Definition at line 34 of file applicationdialog.cpp.
References browse(), Application::getName(), Application::getParameters(), Application::getPath(), mUI, and ok().
|
override |
Definition at line 54 of file applicationdialog.cpp.
References mUI.
|
protectedslot |
Slot to browse for an application.
Definition at line 59 of file applicationdialog.cpp.
References getPath(), mUI, setPath(), and SETTINGS_LAST_APP_PATH.
Referenced by ApplicationDialog().
|
protectedslot |
Definition at line 79 of file applicationdialog.cpp.
References mApplication, mUI, Application::setName(), Application::setParameters(), and Application::setPath().
Referenced by ApplicationDialog().
|
private |
|
protected |
UI from the Qt designer.
Definition at line 72 of file applicationdialog.h.
Referenced by ApplicationDialog(), browse(), ok(), and ~ApplicationDialog().