[Uml-devel] branches/work/soc-umbrello/umbrello
Andi Fischer
andi.fischer at hispeed.ch
Sat May 12 21:13:39 UTC 2012
SVN commit 1294481 by fischer:
Differences to trunk reduced.
M +4 -0 uml.cpp
M +6 -0 widgets/classifierwidget.cpp
--- branches/work/soc-umbrello/umbrello/uml.cpp #1294480:1294481
@@ -230,11 +230,15 @@
QAction* fileSaveAs = KStandardAction::saveAs(this, SLOT(slotFileSaveAs()), actionCollection());
QAction* fileClose = KStandardAction::close(this, SLOT(slotFileClose()), actionCollection());
filePrint = KStandardAction::print(this, SLOT(slotFilePrint()), actionCollection());
+ filePrint->setPriority(QAction::LowPriority); // icon only
printPreview = KStandardAction::printPreview(this, SLOT(slotPrintPreview()), actionCollection());
+ printPreview->setPriority(QAction::LowPriority); // icon only
QAction* fileQuit = KStandardAction::quit(this, SLOT(slotFileQuit()), actionCollection());
editUndo = m_pUndoStack->createUndoAction(actionCollection());
editRedo = m_pUndoStack->createRedoAction(actionCollection());
+ editUndo->setPriority(QAction::LowPriority); // icon only
+ editRedo->setPriority(QAction::LowPriority); // icon only
disconnect( m_pUndoStack, SIGNAL(undoTextChanged(QString)), editUndo, 0 );
disconnect( m_pUndoStack, SIGNAL(redoTextChanged(QString)), editRedo, 0 );
--- branches/work/soc-umbrello/umbrello/widgets/classifierwidget.cpp #1294480:1294481
@@ -825,6 +825,12 @@
updateTextItemGroups();
}
+/**
+ * Will be called when a menu selection has been made from the
+ * popup menu.
+ *
+ * @param action The action that has been selected.
+ */
void ClassifierWidget::slotMenuSelection(QAction* action)
{
ListPopupMenu *menu = ListPopupMenu::menuFromAction(action);
More information about the umbrello-devel
mailing list