dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
luxconfiguration.cpp
Go to the documentation of this file.
1
11
/*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 3 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful, but
18
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20
* for more details.
21
*
22
* You should have received a copy of the GNU General Public License along
23
* with this program; if not, see <http://www.gnu.org/licenses/>
24
*/
25
26
#include "
uavobjectwidgetutils/smartsavebutton.h
"
27
#include "
luxconfiguration.h
"
28
#include "ui_luxconfiguration.h"
29
30
#include "hwlux.h"
31
32
LuxConfiguration::LuxConfiguration
(QWidget *parent)
33
:
ConfigTaskWidget
(parent)
34
, ui(new Ui::
LuxConfiguration
)
35
{
36
ui->setupUi(
this
);
37
38
// Load UAVObjects to widget relations from UI file
39
// using objrelation dynamic property
40
autoLoadWidgets
();
41
42
enableControls
(
true
);
43
populateWidgets
();
44
refreshWidgetsValues
();
45
forceConnectedState
();
46
}
47
48
LuxConfiguration::~LuxConfiguration
()
49
{
50
delete
ui;
51
}
ConfigTaskWidget::autoLoadWidgets
void autoLoadWidgets()
Definition:
configtaskwidget.cpp:716
LuxConfiguration::LuxConfiguration
LuxConfiguration(QWidget *parent=nullptr)
Definition:
luxconfiguration.cpp:32
LuxConfiguration::~LuxConfiguration
~LuxConfiguration()
Definition:
luxconfiguration.cpp:48
ConfigTaskWidget
Definition:
configtaskwidget.h:55
luxconfiguration.h
smartsavebutton.h
ConfigTaskWidget::populateWidgets
virtual void populateWidgets()
Definition:
configtaskwidget.cpp:355
ConfigTaskWidget::enableControls
virtual void enableControls(bool enable)
Definition:
configtaskwidget.cpp:449
ConfigTaskWidget::forceConnectedState
void forceConnectedState()
Definition:
configtaskwidget.cpp:322
ConfigTaskWidget::refreshWidgetsValues
virtual void refreshWidgetsValues(UAVObject *obj=NULL)
Definition:
configtaskwidget.cpp:371
LuxConfiguration
Definition:
luxconfiguration.h:36
ground
gcs
src
plugins
boards_brotronics
luxconfiguration.cpp
Generated by
1.8.6