Relacs  0.9.8
Classes | Public Types | Public Slots | Signals | Public Member Functions | List of all members
DeviceSelector Class Reference

#include <deviceselector.h>

Inheritance diagram for DeviceSelector:
Inheritance graph
[legend]
Collaboration diagram for DeviceSelector:
Collaboration graph
[legend]

Public Types

enum  Codes { CODE_APPLY = 1, CODE_OK = 2 }
 

Public Slots

void dialogClosed (int code)
 

Signals

void newDeviceSettings ()
 

Public Member Functions

 DeviceSelector (std::map< int, ConfigClass * > deviceLists, QWidget *parent=nullptr)
 

Detailed Description

Dialog to allow configuration of available and active devices.

Author
Philipp Kuhlmann

All available devices are extracted through checking every loaded plugin for devices. Active devices are loaded directly from the configuration file. For adding/activating a new device and loading current active devices, a temporary device object is created to get information about all options. The temporary device is destroyed immediatly after its use.

Member Enumeration Documentation

enum Codes

Dialog button control codes

Enumerator
CODE_APPLY 
CODE_OK 

Constructor & Destructor Documentation

DeviceSelector ( std::map< int, ConfigClass * >  deviceLists,
QWidget *  parent = nullptr 
)

Creates a new device selector widget

Member Function Documentation

void dialogClosed ( int  code)
slot
void newDeviceSettings ( )
signal

Signaled when settings were changed

Referenced by DeviceSelector::dialogClosed().


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