FeatureLearningSaveToMemoryWidget.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 ArmarX::
17 * @author Julian Zimmer (urdbu at student dot kit dot edu)
18 * @date 2018
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #pragma once
24 
25 #include <VisionX/gui-plugins/FeatureLearning/ui_FeatureLearningSaveToMemoryWidget.h>
26 //#include "FeatureLearningWidgetController.h"
27 
28 // qt includes
29 #include <QDialog>
30 #include <QMap>
31 
32 namespace armarx
33 {
34  class FeatureLearningWidgetController;
35 }
36 
37 /*
38 namespace Ui
39 {
40  FeatureLearningSaveToMemoryWidget::setupUi(QDialog* FeatureLearningSaveToMemoryWidget);
41 }
42 */
43 
44 namespace visionx
45 {
47  public QDialog
48  {
49  Q_OBJECT
50 
51  public:
54 
55  Ui::FeatureLearningSaveToMemoryWidget* getWidget();
56  void setOverwriteWarningMap(QMap<QString, bool> newMap);
57 
58 
59  public slots:
61 
62  signals:
63 
64  private:
65  Ui::FeatureLearningSaveToMemoryWidget widget;
66 
67  //this map saves wether each combobox entry has a feature file in the memory already or not
68  QMap<QString, bool> overwriteWarningMap;
69  };
70 }
71 
72 
visionx
ArmarX headers.
Definition: OpenPoseStressTest.h:38
visionx::FeatureLearningSaveToMemoryWidget::refreshOverwriteWarningLabel
void refreshOverwriteWarningLabel()
Definition: FeatureLearningSaveToMemoryWidget.cpp:57
visionx::FeatureLearningSaveToMemoryWidget::setOverwriteWarningMap
void setOverwriteWarningMap(QMap< QString, bool > newMap)
Definition: FeatureLearningSaveToMemoryWidget.cpp:73
visionx::FeatureLearningSaveToMemoryWidget::FeatureLearningSaveToMemoryWidget
FeatureLearningSaveToMemoryWidget()
Definition: FeatureLearningSaveToMemoryWidget.cpp:32
visionx::FeatureLearningSaveToMemoryWidget
Definition: FeatureLearningSaveToMemoryWidget.h:46
visionx::FeatureLearningSaveToMemoryWidget::getWidget
Ui::FeatureLearningSaveToMemoryWidget * getWidget()
Definition: FeatureLearningSaveToMemoryWidget.cpp:50
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
visionx::FeatureLearningSaveToMemoryWidget::~FeatureLearningSaveToMemoryWidget
~FeatureLearningSaveToMemoryWidget() override
Definition: FeatureLearningSaveToMemoryWidget.cpp:45