LTMWidget.h
Go to the documentation of this file.
1#pragma once
2
3#include <QWidget>
4
7
8class QLineEdit;
9class QPushButton;
10class QTextEdit;
11class QScrollArea;
12class QGroupBox;
13
14namespace armarx::armem::gui
15{
16
17 class LTMWidget : public QWidget
18 {
19 Q_OBJECT
20 using This = LTMWidget;
21
22 public:
23 LTMWidget();
24
25 void update(const std::vector<std::string>& memoryNames);
26 std::vector<std::string> getEnabledLTMMemories() const;
27
28
29 public slots:
30
31 signals:
32 void storeInLTM();
35
36 private slots:
37 void deSelectMemoryServers();
38
39 signals:
40
41
42 private:
43 void updateSelectAllButtonState();
44
45 QGroupBox* _availableMemoriesGroupBox;
46 QScrollArea* _availableMemoriesScrollArea;
47
48 QPushButton* _de_selectMemoryServers;
49 bool _allMemoryServersSelected = false;
50 QString _selectText = "Select all Memory Servers";
51 QString _deselectText = "Deselect all Memory Servers";
52
53 QPushButton* _storeInLTMButton;
54 QPushButton* _startLTMRecordingButton;
55 QPushButton* _stopLTMRecordingButton;
56 };
57
58} // namespace armarx::armem::gui
std::vector< std::string > getEnabledLTMMemories() const
void update(const std::vector< std::string > &memoryNames)
Definition LTMWidget.cpp:83