Relacs
0.9.8
|
#include <deviceselector.h>
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) | |
Dialog to allow configuration of available and active devices.
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.
enum Codes |
DeviceSelector | ( | std::map< int, ConfigClass * > | deviceLists, |
QWidget * | parent = nullptr |
||
) |
Creates a new device selector widget
|
slot |
Dialog callback, handles saving.
References Options::append(), Options::clear(), DeviceSelector::CODE_APPLY, DeviceSelector::newDeviceSettings(), and Options::newSection().
|
signal |
Signaled when settings were changed
Referenced by DeviceSelector::dialogClosed().