mainAction->setChecked(!show);
mainAction->setVisible(show);
mainAction->trigger();
- vcrAction->setChecked(!show);
- vcrAction->setVisible(show);
- vcrAction->trigger();
- timeAction->setChecked(!show);
- timeAction->setVisible(show);
- timeAction->trigger();
+
+ setVCRTimeToolBarVisible(show);
+
colorAction->setChecked(!show);
colorAction->setVisible(show);
colorAction->trigger();
dataAction->trigger();
}
+void PVViewer_GUIElements::setVCRTimeToolBarVisible(bool show)
+{
+ vcrAction->setChecked(!show);
+ vcrAction->setVisible(show);
+ vcrAction->trigger();
+ timeAction->setChecked(!show);
+ timeAction->setVisible(show);
+ timeAction->trigger();
+}
+
QList<QToolBar*> PVViewer_GUIElements::getToolbars()
{
buildPVWidgets();
void setToolBarEnabled(bool enabled);
QList<QToolBar*> getToolbars();
+ void setVCRTimeToolBarVisible(bool show);
+
private:
PVViewer_GUIElements(QMainWindow* desk);
virtual ~PVViewer_GUIElements() {}