StatusLabel.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QLabel>
4
#include <QPushButton>
5
6
namespace
armarx::skills::gui
7
{
8
class
StatusLabel
:
public
QWidget
9
{
10
public
:
11
/**
12
* @brief Constructor for StatusLabel
13
*/
14
StatusLabel
();
15
16
public
slots:
17
/**
18
* @brief Display a message to indicate an update.
19
*/
20
void
handleMessage
(std::string
const
&
message
, std::string
const
& error);
21
22
private
slots:
23
/**
24
* @brief Reset the label to default state.
25
*/
26
void
resetLabel();
27
28
private
:
29
void
setupUi();
30
31
// contents
32
QLabel* label =
nullptr
;
33
QPushButton* resetButton =
nullptr
;
34
};
35
}
// namespace armarx::skills::gui
armarx::skills::gui::StatusLabel::handleMessage
void handleMessage(std::string const &message, std::string const &error)
Display a message to indicate an update.
Definition:
StatusLabel.cpp:16
message
message(STATUS "Boost-Library-Dir: " "${Boost_LIBRARY_DIRS}") message(STATUS "Boost-LIBRARIES
Definition:
CMakeLists.txt:8
armarx::skills::gui
Definition:
PeriodicUpdateWidget.cpp:11
armarx::skills::gui::StatusLabel
Definition:
StatusLabel.h:8
armarx::skills::gui::StatusLabel::StatusLabel
StatusLabel()
Constructor for StatusLabel.
Definition:
StatusLabel.cpp:8
ArmarXGui
libraries
ArmarXGuiBase
widgets
StatusLabel.h
Generated on Sat Oct 12 2024 09:14:03 for armarx_documentation by
1.8.17