Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Commits
39142986
Commit
39142986
authored
1 year ago
by
Peter Albrecht
Browse files
Options
Downloads
Patches
Plain Diff
Added documentation for ConnectionStatusLabel
parent
ef7c71b3
No related branches found
Branches containing commit
No related tags found
1 merge request
!420
Add documentation to skill memory gui
Pipeline
#16900
passed
1 year ago
Stage: build-and-test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/RobotAPI/libraries/skills_gui/ConnectionStatusLabel.h
+12
-1
12 additions, 1 deletion
source/RobotAPI/libraries/skills_gui/ConnectionStatusLabel.h
with
12 additions
and
1 deletion
source/RobotAPI/libraries/skills_gui/ConnectionStatusLabel.h
+
12
−
1
View file @
39142986
...
...
@@ -5,6 +5,10 @@
namespace
armarx
::
skills
::
gui
{
/**
* @brief The ConnectionStatusLabel class is a label, which can accept a message to show for a
* defined amount of time. After this time, the message disappears.
*/
class
ConnectionStatusLabel
:
public
QLabel
{
public:
...
...
@@ -16,7 +20,7 @@ namespace armarx::skills::gui
public
slots
:
/**
* @brief Display a message
to indicate a connection drop
.
* @brief Display a message.
*/
void
handleMessage
(
std
::
string
const
&
message
);
...
...
@@ -27,7 +31,14 @@ namespace armarx::skills::gui
void
resetLabel
();
private:
/**
* @brief The timer handling the time, for which to show the message.
*/
QTimer
*
timer
=
nullptr
;
/**
* @brief The time, for which to show the message, in [ms].
*/
int
ms_delay
;
};
}
// namespace armarx::skills::gui
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment