DebugDrawerConfigWidget.h
Go to the documentation of this file.
1 /*
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @package RobotAPI::ArmarXObjects::DebugDrawerConfigWidget
17  * @author Adrian Knobloch ( adrian dot knobloch at student dot kit dot edu )
18  * @date 2019
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
26 
27 #include <RobotAPI/libraries/DebugDrawerConfigWidget/ui_DebugDrawerConfigWidget.h>
28 
29 #include <QWidget>
30 #include <QSettings>
31 
32 
33 namespace armarx
34 {
35  /**
36  * @defgroup Library-DebugDrawerConfigWidget DebugDrawerConfigWidget
37  * @ingroup RobotAPI
38  * A description of the library DebugDrawerConfigWidget.
39  *
40  * @class DebugDrawerConfigWidget
41  * @ingroup Library-DebugDrawerConfigWidget
42  * @brief Brief description of class DebugDrawerConfigWidget.
43  *
44  * Detailed description of class DebugDrawerConfigWidget.
45  */
46  class DebugDrawerConfigWidget : public QWidget
47  {
48  public:
49  DebugDrawerConfigWidget(const DebugDrawerComponentPtr& debugDrawer, QWidget* parent = nullptr);
50 
51  void loadSettings(QSettings* settings);
52  void saveSettings(QSettings* settings);
53 
56 
57  public slots:
58  void refresh();
59 
60  void onVisibilityChanged(QListWidgetItem* item);
61 
62  void onDefaultLayerVisibilityChanged(int checkState);
63  void onDefaultLayerVisibilityPerLayerChanged(QListWidgetItem* item);
64 
67 
68  protected:
70  Ui::DebugDrawerConfigWidget ui;
71  };
72 
73 }
armarx::DebugDrawerConfigWidget::onAddDefaultLayerVisibility
void onAddDefaultLayerVisibility()
Definition: DebugDrawerConfigWidget.cpp:134
DebugDrawerComponent.h
armarx::DebugDrawerConfigWidget::getDebugDrawer
DebugDrawerComponentPtr getDebugDrawer() const
Definition: DebugDrawerConfigWidget.cpp:79
armarx::DebugDrawerConfigWidget::onDefaultLayerVisibilityChanged
void onDefaultLayerVisibilityChanged(int checkState)
Definition: DebugDrawerConfigWidget.cpp:116
armarx::DebugDrawerConfigWidget::refresh
void refresh()
Definition: DebugDrawerConfigWidget.cpp:84
armarx::DebugDrawerConfigWidget::saveSettings
void saveSettings(QSettings *settings)
Definition: DebugDrawerConfigWidget.cpp:57
armarx::DebugDrawerConfigWidget::onDefaultLayerVisibilityPerLayerChanged
void onDefaultLayerVisibilityPerLayerChanged(QListWidgetItem *item)
Definition: DebugDrawerConfigWidget.cpp:125
armarx::DebugDrawerConfigWidget::loadSettings
void loadSettings(QSettings *settings)
Definition: DebugDrawerConfigWidget.cpp:44
armarx::DebugDrawerConfigWidget::setDebugDrawer
void setDebugDrawer(const DebugDrawerComponentPtr &debugDrawer)
Definition: DebugDrawerConfigWidget.cpp:68
armarx::DebugDrawerConfigWidget::onRemoveDefaultLayerVisibility
void onRemoveDefaultLayerVisibility()
Definition: DebugDrawerConfigWidget.cpp:148
IceInternal::Handle< DebugDrawerComponent >
armarx::DebugDrawerConfigWidget::ui
Ui::DebugDrawerConfigWidget ui
Definition: DebugDrawerConfigWidget.h:70
armarx::DebugDrawerConfigWidget::debugDrawer
DebugDrawerComponentPtr debugDrawer
Definition: DebugDrawerConfigWidget.h:69
armarx::DebugDrawerConfigWidget
Brief description of class DebugDrawerConfigWidget.
Definition: DebugDrawerConfigWidget.h:46
armarx::DebugDrawerConfigWidget::DebugDrawerConfigWidget
DebugDrawerConfigWidget(const DebugDrawerComponentPtr &debugDrawer, QWidget *parent=nullptr)
Definition: DebugDrawerConfigWidget.cpp:29
armarx::DebugDrawerConfigWidget::onVisibilityChanged
void onVisibilityChanged(QListWidgetItem *item)
Definition: DebugDrawerConfigWidget.cpp:107
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28