setPreferenceProperty( typeOfCursor, "indexes", aCursorTypeIndicesList );
setPreferenceProperty( typeOfCursor, "icons", aCursorTypeIconsList );
+
+ int viewerGroup = addPreference( tr( "PREF_GROUP_VIEWER" ), genTab );
+ addPreference( tr( "PREF_VIEWER_AUTO_FITALL" ), viewerGroup,
+ LightApp_Preferences::Bool, "HYDRO", "auto_fit_all" );
}
+QCursor HYDROGUI_Module::getPrefEditCursor() const
+{
+ int aCursorType = SUIT_Session::session()->resourceMgr()->integerValue("preferences", "type_of_cursor", (int)CT_CrossCursor );
+ if ( aCursorType >= Qt::BlankCursor)
+ aCursorType++;
+ QCursor aCursor = QCursor( Qt::CursorShape(aCursorType) );
+ return aCursor;
+}
+
void HYDROGUI_Module::update( const int flags )
{
- if( !isUpdateEnabled() )
+ if ( !isUpdateEnabled() )
return;
QApplication::setOverrideCursor( Qt::WaitCursor );