Skip to content
Snippets Groups Projects
Commit 4ca73c4d authored by Andre Meixner's avatar Andre Meixner :camera:
Browse files

Merge branch 'feature/periodic-widget-disable-auto' into 'master'

Add slot for PeriodicUpdateWidget to disable auto update

See merge request !103
parents f6ba410d 4fbe77f9
No related branches found
No related tags found
1 merge request!103Add slot for PeriodicUpdateWidget to disable auto update
Pipeline #21117 passed
Pipeline: RobotAPI

#21119

    ...@@ -99,6 +99,15 @@ namespace armarx::skills::gui ...@@ -99,6 +99,15 @@ namespace armarx::skills::gui
    emit stopTimerSignal(); emit stopTimerSignal();
    } }
    void
    PeriodicUpdateWidget::disableAutoUpdate()
    {
    if (isAutoEnabled())
    {
    _autoCheckBox->setChecked(false);
    }
    }
    void void
    PeriodicUpdateWidget::_updateTimerFrequency() PeriodicUpdateWidget::_updateTimerFrequency()
    { {
    ...@@ -138,4 +147,10 @@ namespace armarx::skills::gui ...@@ -138,4 +147,10 @@ namespace armarx::skills::gui
    return _timer; return _timer;
    } }
    bool
    PeriodicUpdateWidget::isAutoEnabled() const
    {
    return _autoCheckBox->isChecked();
    }
    } // namespace armarx } // namespace armarx
    ...@@ -35,6 +35,7 @@ namespace armarx::skills::gui ...@@ -35,6 +35,7 @@ namespace armarx::skills::gui
    public slots: public slots:
    void disableAutoUpdate();
    signals: signals:
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment