[Kst] branches/work/kst/portto4/kst/src/libkstapp
Nicolas Brisset
nicolas.brisset at eurocopter.com
Tue Feb 28 22:27:33 UTC 2012
SVN commit 1282839 by brisset:
Rename "Dimensions" to "Size/Position" as discussed on the list.
Barth, I'll let you do the real work of refactoring the classes so that each dialog gets a different, more usable dimensions dialog.
M +1 -1 dimensionstab.cpp
M +1 -1 plotitemdialog.cpp
M +1 -1 viewitemdialog.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/dimensionstab.cpp #1282838:1282839
@@ -16,7 +16,7 @@
DimensionsTab::DimensionsTab(ViewItem* viewItem, QWidget *parent)
: DialogTab(parent), _viewItem(viewItem) {
setupUi(this);
- setTabTitle(tr("Dimensions"));
+ setTabTitle(tr("Size/Position"));
connect(_fixAspectRatio, SIGNAL(toggled(bool)), this, SLOT(updateButtons()));
--- branches/work/kst/portto4/kst/src/libkstapp/plotitemdialog.cpp #1282838:1282839
@@ -141,7 +141,7 @@
QList<QList<QListWidgetItem*> > moveItems;
moveItems << _listWidget->findItems("Appearance", Qt::MatchFixedString);
- moveItems << _listWidget->findItems("Dimensions", Qt::MatchFixedString);
+ moveItems << _listWidget->findItems("Size/Position", Qt::MatchFixedString);
foreach(const QList<QListWidgetItem*>& found, moveItems) {
if (found.size() > 0) {
_listWidget->addItem(_listWidget->takeItem(_listWidget->row(found.first())));
--- branches/work/kst/portto4/kst/src/libkstapp/viewitemdialog.cpp #1282838:1282839
@@ -105,7 +105,7 @@
_dimensionsTab = new DimensionsTab(_item, this);
DialogPage *dimensionsPage = new DialogPage(this);
- dimensionsPage->setPageTitle(tr("Dimensions"));
+ dimensionsPage->setPageTitle(tr("Size/Position"));
dimensionsPage->addDialogTab(_dimensionsTab);
addDialogPage(dimensionsPage);
connect(_dimensionsTab, SIGNAL(apply()), this, SLOT(dimensionsChanged()));
More information about the Kst
mailing list