Class SetupStepWidget
Defined in File setup_step_widget.hpp
Inheritance Relationships
Base Type
public QWidget
Class Documentation
-
class SetupStepWidget : public QWidget
The GUI code for one SetupStep.
Public Functions
Called after construction to initialize the step.
- Parameters:
parent_node – Shared pointer to the parent node
parent_widget – Pointer to the parent gui element
rviz_panel – Pointer to the shared rviz panel
config_data – All the data
-
inline virtual void onInit()
-
inline virtual void focusGiven()
function called when widget is activated, allows to update/initialize GUI
-
inline virtual bool focusLost()
function called when widget loses focus, although switching away can be rejected
- Returns:
If the widget should not be switched away from, return false
-
inline bool isReady()
Signals
-
void dataUpdated()
When the underlying data has been updated (which can cause other steps to become “Ready”)
-
void advanceRequest()
When this signal is received, the GUI should attempt to advance to the next step.
-
void setModalMode(bool isModal)
Event for when the current screen is in modal view. Disables the left navigation.