AntiMicroX
Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes
AddEditAutoProfileDialog Class Reference

#include <addeditautoprofiledialog.h>

Inheritance diagram for AddEditAutoProfileDialog:
[legend]
Collaboration diagram for AddEditAutoProfileDialog:
[legend]

Signals

void captureFinished ()
 

Public Member Functions

 AddEditAutoProfileDialog (AutoProfileInfo *info, AntiMicroSettings *settings, QList< InputDevice * > *devices, QList< QString > &reservedUniques, bool edit=false, QWidget *parent=nullptr)
 
 AddEditAutoProfileDialog (QWidget *parent=nullptr)
 
 ~AddEditAutoProfileDialog ()
 
AutoProfileInfogetAutoProfile () const
 
QString getOriginalUniqueID () const
 
QString getOriginalExe () const
 
QString getOriginalWindowClass () const
 
QString getOriginalWindowName () const
 
QList< InputDevice * > * getDevices () const
 
AntiMicroSettingsgetSettings () const
 
bool getEditForm () const
 
bool getDefaultInfo () const
 
const QList< QString > & getReservedUniques ()
 

Protected Member Functions

virtual void accept ()
 Validate the form that is contained in this window. More...
 

Private Slots

void openProfileBrowseDialog ()
 
void openApplicationBrowseDialog ()
 
void saveAutoProfileInformation ()
 
void checkForReservedUniques (int index)
 
void checkForDefaultStatus ()
 
void windowPropAssignment (CapturedWindowInfoDialog *dialog)
 
void checkDefaultCheckbox (const QString &text)
 
void showCaptureHelpWindow ()
 
void checkForGrabbedWindow (UnixCaptureWindowUtility *util)
 

Private Member Functions

void check_profile_file ()
 
void check_executable_file ()
 

Private Attributes

Ui::AddEditAutoProfileDialog * ui
 
AutoProfileInfoinfo
 
QList< InputDevice * > * devices
 
AntiMicroSettingssettings
 
bool editForm
 
bool defaultInfo
 
QList< QString > reservedUniques
 
QString originalUniqueID
 
QString originalExe
 
QString originalWindowClass
 
QString originalWindowName
 

Constructor & Destructor Documentation

◆ AddEditAutoProfileDialog() [1/2]

AddEditAutoProfileDialog::AddEditAutoProfileDialog ( AutoProfileInfo info,
AntiMicroSettings settings,
QList< InputDevice * > *  devices,
QList< QString > &  reservedUniques,
bool  edit = false,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

◆ AddEditAutoProfileDialog() [2/2]

AddEditAutoProfileDialog::AddEditAutoProfileDialog ( QWidget *  parent = nullptr)

◆ ~AddEditAutoProfileDialog()

AddEditAutoProfileDialog::~AddEditAutoProfileDialog ( )

Member Function Documentation

◆ accept()

void AddEditAutoProfileDialog::accept ( )
protectedvirtual

Validate the form that is contained in this window.

Here is the call graph for this function:

◆ captureFinished

void AddEditAutoProfileDialog::captureFinished ( )
signal

◆ check_executable_file()

void AddEditAutoProfileDialog::check_executable_file ( )
private
Exceptions
std::runtime_error
Here is the caller graph for this function:

◆ check_profile_file()

void AddEditAutoProfileDialog::check_profile_file ( )
private
Exceptions
std::runtime_error
Here is the caller graph for this function:

◆ checkDefaultCheckbox

void AddEditAutoProfileDialog::checkDefaultCheckbox ( const QString &  text)
privateslot
Here is the caller graph for this function:

◆ checkForDefaultStatus

void AddEditAutoProfileDialog::checkForDefaultStatus ( )
privateslot
Here is the caller graph for this function:

◆ checkForGrabbedWindow

void AddEditAutoProfileDialog::checkForGrabbedWindow ( UnixCaptureWindowUtility util)
privateslot

◆ checkForReservedUniques

void AddEditAutoProfileDialog::checkForReservedUniques ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAutoProfile()

AutoProfileInfo * AddEditAutoProfileDialog::getAutoProfile ( ) const
Here is the caller graph for this function:

◆ getDefaultInfo()

bool AddEditAutoProfileDialog::getDefaultInfo ( ) const

◆ getDevices()

QList< InputDevice * > * AddEditAutoProfileDialog::getDevices ( ) const

◆ getEditForm()

bool AddEditAutoProfileDialog::getEditForm ( ) const

◆ getOriginalExe()

QString AddEditAutoProfileDialog::getOriginalExe ( ) const

◆ getOriginalUniqueID()

QString AddEditAutoProfileDialog::getOriginalUniqueID ( ) const
Here is the caller graph for this function:

◆ getOriginalWindowClass()

QString AddEditAutoProfileDialog::getOriginalWindowClass ( ) const

◆ getOriginalWindowName()

QString AddEditAutoProfileDialog::getOriginalWindowName ( ) const

◆ getReservedUniques()

const QList< QString > & AddEditAutoProfileDialog::getReservedUniques ( )
Here is the caller graph for this function:

◆ getSettings()

AntiMicroSettings * AddEditAutoProfileDialog::getSettings ( ) const

◆ openApplicationBrowseDialog

void AddEditAutoProfileDialog::openApplicationBrowseDialog ( )
privateslot
Here is the caller graph for this function:

◆ openProfileBrowseDialog

void AddEditAutoProfileDialog::openProfileBrowseDialog ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveAutoProfileInformation

void AddEditAutoProfileDialog::saveAutoProfileInformation ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ showCaptureHelpWindow

void AddEditAutoProfileDialog::showCaptureHelpWindow ( )
privateslot
Here is the caller graph for this function:

◆ windowPropAssignment

void AddEditAutoProfileDialog::windowPropAssignment ( CapturedWindowInfoDialog dialog)
privateslot
Here is the call graph for this function:

Field Documentation

◆ defaultInfo

bool AddEditAutoProfileDialog::defaultInfo
private

◆ devices

QList<InputDevice *>* AddEditAutoProfileDialog::devices
private

◆ editForm

bool AddEditAutoProfileDialog::editForm
private

◆ info

AutoProfileInfo* AddEditAutoProfileDialog::info
private

◆ originalExe

QString AddEditAutoProfileDialog::originalExe
private

◆ originalUniqueID

QString AddEditAutoProfileDialog::originalUniqueID
private

◆ originalWindowClass

QString AddEditAutoProfileDialog::originalWindowClass
private

◆ originalWindowName

QString AddEditAutoProfileDialog::originalWindowName
private

◆ reservedUniques

QList<QString> AddEditAutoProfileDialog::reservedUniques
private

◆ settings

AntiMicroSettings* AddEditAutoProfileDialog::settings
private

◆ ui

Ui::AddEditAutoProfileDialog* AddEditAutoProfileDialog::ui
private

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