BlueQuartzSoftware / SIMPLView

Qt-based GUI for SIMPL
7 stars 15 forks source link

Updated the Show / Hide on Error preference values #29

Closed mmarineBlueQuartz closed 6 years ago

mmarineBlueQuartz commented 6 years ago

Updated the preference values to make more sense when reading the preferences file and changed the value key to better describe what the value means. Word of warning for future changes: calling toggleViewAction()->toggle() on a QDockWidget does not change the widget's visibility. toggleViewAction()->setChecked(bool) should be checked before continued use. QDockWidget::setVisible(bool) and QDockWidget::setHidden(bool) do work and fulfill the intended purpose. To complete the fix, changes in SVWidgetsLib need to also be integrated where a signal variable was hardcoded to false.