mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 05:22:04 +05:00
Update spin-boxes step (in active dialogs) on change of corresponding preference.
This commit is contained in:
parent
d8af99d938
commit
54704f7e7b
@ -17,7 +17,7 @@
|
|||||||
// License along with this library; if not, write to the Free Software
|
// License along with this library; if not, write to the Free Software
|
||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
@ -1694,6 +1694,13 @@ void GeometryGUI::createPreferences()
|
|||||||
|
|
||||||
void GeometryGUI::preferencesChanged( const QString& section, const QString& param )
|
void GeometryGUI::preferencesChanged( const QString& section, const QString& param )
|
||||||
{
|
{
|
||||||
|
if (section == "Geometry") {
|
||||||
|
SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr();
|
||||||
|
if (param == QString("SettingsGeomStep")) {
|
||||||
|
double spin_step = aResourceMgr->doubleValue(section, param, 100.);
|
||||||
|
EmitSignalDefaultStepValueChanged(spin_step);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LightApp_Displayer* GeometryGUI::displayer()
|
LightApp_Displayer* GeometryGUI::displayer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user