Revert changes made for debug.
ob->treeView()->header()->setSectionResizeMode(SUIT_DataObject::VisibilityId, QHeaderView::Fixed);
ob->treeView()->header()->moveSection(SUIT_DataObject::NameId,SUIT_DataObject::VisibilityId);
ob->treeView()->setColumnWidth(SUIT_DataObject::VisibilityId, VISIBILITY_COLUMN_WIDTH);
- ob->setProperty( "shortcut", QKeySequence( "Ctrl+Shift+O" ) );
+ ob->setProperty( "shortcut", QKeySequence( "Alt+Shift+O" ) );
wid = ob;
ob->connectPopupRequest( this, SLOT( onConnectPopupRequest( SUIT_PopupClient*, QContextMenuEvent* ) ) );
}
pyCons->setFont( resMgr->fontValue( "PyConsole", "font" ) );
pyCons->setIsShowBanner( resMgr->booleanValue( "PyConsole", "show_banner", true ) );
pyCons->setAutoCompletion( resMgr->booleanValue( "PyConsole", "auto_completion", true ) );
- pyCons->setProperty( "shortcut", QKeySequence( "Ctrl+Shift+P" ) );
+ pyCons->setProperty( "shortcut", QKeySequence( "Alt+Shift+P" ) );
wid = pyCons;
}
#endif
#endif
// Define SHORTCUT_MGR_DBG to enable SUIT_ShortcutMgr debug logging.
-#define SHORTCUT_MGR_DBG
+// #define SHORTCUT_MGR_DBG
/*! \returns true, if SUIT_ShortcutMgr debug logging is enabled. */
SUIT_EXPORT extern inline bool ShCutDbg() {
#ifdef SHORTCUT_MGR_DBG
ob->setAutoSizeFirstColumn(autoSizeFirst);
ob->setAutoSizeColumns(autoSize);
ob->setResizeOnExpandItem(resizeOnExpandItem);
- ob->setProperty( "shortcut", QKeySequence( "Ctrl+Shift+O" ) );
+ ob->setProperty( "shortcut", QKeySequence( "Alt+Shift+O" ) );
for ( int i = SalomeApp_DataObject::EntryId; i < SalomeApp_DataObject::LastId; i++ )
{
pyCons->setFont(resourceMgr()->fontValue( "PyConsole", "font" ));
pyCons->setIsShowBanner(resourceMgr()->booleanValue( "PyConsole", "show_banner", true ));
pyCons->setAutoCompletion( resMgr->booleanValue( "PyConsole", "auto_completion", true ) );
- pyCons->setProperty( "shortcut", QKeySequence( "Ctrl+Shift+P" ) );
+ pyCons->setProperty( "shortcut", QKeySequence( "Alt+Shift+P" ) );
wid = pyCons;
}
else if ( flag == WT_NoteBook )