[Kst] branches/work/kst/portto4/kst/src/libkstapp
Peter Kümmel
syntheticpp at gmx.net
Wed Oct 27 22:49:28 CEST 2010
SVN commit 1190487 by kuemmel:
Plot dialog: move Appearance and Dimensions items to the end
M +9 -0 plotitemdialog.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/plotitemdialog.cpp #1190486:1190487
@@ -138,6 +138,15 @@
addMultipleEditOption(plot->plotName(), plot->descriptionTip(), plot->shortName());
}
+ QList<QList<QListWidgetItem*> > moveItems;
+ moveItems << _listWidget->findItems("Appearance", Qt::MatchFixedString);
+ moveItems << _listWidget->findItems("Dimensions", Qt::MatchFixedString);
+ foreach(const QList<QListWidgetItem*>& found, moveItems) {
+ if (found.size() > 0) {
+ _listWidget->addItem(_listWidget->takeItem(_listWidget->row(found.first())));
+ }
+ }
+
selectDialogPage(contentsPage);
_saveAsDefault->show();
More information about the Kst
mailing list