Cppcheck
Public Member Functions | Protected Slots | Protected Attributes | Private Attributes | List of all members
ApplicationDialog Class Reference

Dialog to edit a startable application. More...

#include <applicationdialog.h>

Inheritance diagram for ApplicationDialog:

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

ApplicationmApplication
 Underlying Application. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ApplicationDialog()

ApplicationDialog::ApplicationDialog ( const QString &  title,
Application app,
QWidget *  parent = nullptr 
)

Constructor.

Parameters
titleTitle for the dialog.
appApplication definition.
parentParent widget.

Definition at line 34 of file applicationdialog.cpp.

References browse(), Application::getName(), Application::getParameters(), Application::getPath(), mUI, and ok().

◆ ~ApplicationDialog()

ApplicationDialog::~ApplicationDialog ( )
override

Definition at line 54 of file applicationdialog.cpp.

References mUI.

Member Function Documentation

◆ browse

void ApplicationDialog::browse ( )
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().

◆ ok

void ApplicationDialog::ok ( )
protectedslot

Member Data Documentation

◆ mApplication

Application& ApplicationDialog::mApplication
private

Underlying Application.

Definition at line 79 of file applicationdialog.h.

Referenced by ok().

◆ mUI

Ui::ApplicationDialog* ApplicationDialog::mUI
protected

UI from the Qt designer.

Definition at line 72 of file applicationdialog.h.

Referenced by ApplicationDialog(), browse(), ok(), and ~ApplicationDialog().


The documentation for this class was generated from the following files: