Changes stuff for Qt.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6077 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-02-09 00:11:51 +00:00
parent dbace79cf2
commit 9765b75cfa
19 changed files with 760 additions and 69 deletions

View File

@ -1,3 +1,17 @@
2003-02-08 John Levon <levon@movementarian.org>
* Makefile.am:
* QChanges.h:
* QChanges.C:
* QChangesDialog.h:
* QChangesDialog.C:
* ui/QChangesDialogBase.ui: add changes dialog
* ui/QPrefIdentityModule.ui:
* QPrefs.C:
* QPrefsDialog.h:
* QPrefsDialog.C: add identity prefs
2003-02-07 John Levon <levon@movementarian.org>
* lyx_gui.C: delete lyxserver on exit path (bug 865)

View File

@ -47,6 +47,7 @@ Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
: aboutlyx(lv, d),
bibitem(lv, d),
bibtex(lv, d),
changes(lv, d),
character(lv, d),
citation(lv, d),
document(lv, d),

View File

@ -37,6 +37,12 @@ void Dialogs::showBibtex(InsetCommand * ic)
}
void Dialogs::showMergeChanges()
{
pimpl_->changes.controller().show();
}
void Dialogs::showCharacter()
{
pimpl_->character.controller().show();

View File

@ -21,6 +21,7 @@
#include "ControlAboutlyx.h"
#include "ControlBibitem.h"
#include "ControlBibtex.h"
#include "ControlChanges.h"
#include "ControlCharacter.h"
#include "ControlCitation.h"
#include "ControlDocument.h"
@ -57,6 +58,8 @@
#include "QBibitemDialog.h"
#include "QBibtex.h"
#include "QBibtexDialog.h"
#include "QChanges.h"
#include "QChangesDialog.h"
#include "QCharacter.h"
#include "QCharacterDialog.h"
#include "QCitation.h"
@ -137,6 +140,9 @@ BibitemDialog;
typedef GUI<ControlBibtex, QBibtex, OkCancelReadOnlyPolicy, Qt2BC>
BibtexDialog;
typedef GUI<ControlChanges, QChanges, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
ChangesDialog;
typedef GUI<ControlCharacter, QCharacter, OkApplyCancelReadOnlyPolicy, Qt2BC>
CharacterDialog;
@ -230,6 +236,7 @@ struct Dialogs::Impl {
AboutlyxDialog aboutlyx;
BibitemDialog bibitem;
BibtexDialog bibtex;
ChangesDialog changes;
CharacterDialog character;
CitationDialog citation;
DocumentDialog document;

View File

@ -28,6 +28,7 @@ libqt2_la_SOURCES = \
QAbout.C QAbout.h \
QBibitem.C QBibitem.h \
QBibtex.C QBibtex.h \
QChanges.C QChanges.h \
QCharacter.C QCharacter.h \
QCitation.C QCitation.h \
QDocument.C QDocument.h \

View File

@ -14,6 +14,7 @@ UIFILES = \
QAskForTextDialog.ui \
QBibitemDialogBase.ui \
QBibtexDialogBase.ui \
QChangesDialogBase.ui \
QCharacterDialogBase.ui \
QCitationDialogBase.ui \
QDelimiterDialogBase.ui \
@ -36,6 +37,7 @@ UIFILES = \
QPrefDateModule.ui \
QPrefDisplayModule.ui \
QPrefFileformatsModule.ui \
QPrefIdentityModule.ui \
QPrefKeyboardModule.ui \
QPrefLanguageModule.ui \
QPrefLatexModule.ui \
@ -71,6 +73,7 @@ MOCFILES = \
QBibitemDialog.C QBibitemDialog.h \
QBibtexDialog.C QBibtexDialog.h \
QBrowseBox.C QBrowseBox.h \
QChangesDialog.C QChangesDialog.h \
QCharacterDialog.C QCharacterDialog.h \
QCitationDialog.C QCitationDialog.h \
QCommandBuffer.C QCommandBuffer.h \

View File

@ -0,0 +1,72 @@
/**
* \file QChanges.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlChanges.h"
#include "qt_helpers.h"
#include <qpushbutton.h>
#include <qtextview.h>
#include "QChangesDialog.h"
#include "QChanges.h"
#include "Qt2BC.h"
typedef Qt2CB<ControlChanges, Qt2DB<QChangesDialog> > base_class;
QChanges::QChanges()
: base_class(qt_("Changes"))
{
}
void QChanges::build_dialog()
{
dialog_.reset(new QChangesDialog(this));
bc().setCancel(dialog_->closePB);
bc().addReadOnly(dialog_->acceptPB);
bc().addReadOnly(dialog_->rejectPB);
}
void QChanges::next()
{
controller().find();
string text;
string author(controller().getChangeAuthor());
string date(controller().getChangeDate());
if (!author.empty())
text += "Change by " + author + "\n\n";
if (!date.empty())
text += "Change made at " + date + "\n";
dialog_->changeTV->setText(toqstr(text));
}
void QChanges::accept()
{
controller().accept();
}
void QChanges::reject()
{
controller().reject();
}

View File

@ -0,0 +1,47 @@
// -*- C++ -*-
/**
* \file QChanges.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS
*/
#ifndef QCHANGES_H
#define QCHANGES_H
#ifdef __GNUG__
#pragma interface
#endif
#include "Qt2Base.h"
class ControlChanges;
class QChangesDialog;
class QChanges
: public Qt2CB<ControlChanges, Qt2DB<QChangesDialog> >
{
public:
friend class QChangesDialog;
QChanges();
void accept();
void reject();
void next();
private:
/// Apply changes
virtual void apply() {};
/// update
virtual void update_contents() {};
/// build the dialog
virtual void build_dialog();
};
#endif // QCHANGES_H

View File

@ -0,0 +1,56 @@
/**
* \file QChangesDialog.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlChanges.h"
#include <qpushbutton.h>
#include "QChangesDialog.h"
#include "QChanges.h"
QChangesDialog::QChangesDialog(QChanges * form)
: QChangesDialogBase(0, 0, false, 0),
form_(form)
{
connect(closePB, SIGNAL(clicked()),
form, SLOT(slotClose()));
}
void QChangesDialog::nextPressed()
{
form_->next();
}
void QChangesDialog::acceptPressed()
{
form_->accept();
}
void QChangesDialog::rejectPressed()
{
form_->reject();
}
void QChangesDialog::closeEvent(QCloseEvent *e)
{
form_->slotWMHide();
e->accept();
}

View File

@ -0,0 +1,41 @@
// -*- C++ -*-
/**
* \file QChangesDialog.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS
*/
#ifndef QCHANGESDIALOG_H
#define QCHANGESDIALOG_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ui/QChangesDialogBase.h"
class QChanges;
class QChangesDialog : public QChangesDialogBase {
Q_OBJECT
public:
QChangesDialog(QChanges * form);
protected slots:
virtual void nextPressed();
virtual void acceptPressed();
virtual void rejectPressed();
protected:
virtual void closeEvent(QCloseEvent * e);
private:
QChanges * form_;
};
#endif // QCHANGESDIALOG_H

View File

@ -34,6 +34,7 @@
#include "ui/QPrefLanguageModule.h"
#include "ui/QPrefPrinterModule.h"
#include "ui/QPrefUIModule.h"
#include "ui/QPrefIdentityModule.h"
#include "QPrefs.h"
#include "Qt2BC.h"
#include "lyxrc.h"
@ -229,6 +230,10 @@ void QPrefs::apply()
rc.print_paper_dimension_flag = fromqstr(printmod->printerPaperSizeED->text());
QPrefIdentityModule * idmod(dialog_->identityModule);
rc.user_name = fromqstr(idmod->nameED->text());
rc.user_email = fromqstr(idmod->emailED->text());
QPrefScreenFontsModule * fontmod(dialog_->screenfontsModule);
LyXRC const oldrc(rc);
@ -377,6 +382,11 @@ void QPrefs::update_contents()
uimod->lastfilesSB->setValue(rc.num_lastfiles);
QPrefIdentityModule * idmod(dialog_->identityModule);
idmod->nameED->setText(toqstr(rc.user_name));
idmod->emailED->setText(toqstr(rc.user_email));
QPrefKeyboardModule * keymod(dialog_->keyboardModule);
// FIXME: can derive CB from the two EDs

View File

@ -34,6 +34,7 @@
#include "ui/QPrefLanguageModule.h"
#include "ui/QPrefPrinterModule.h"
#include "ui/QPrefUIModule.h"
#include "ui/QPrefIdentityModule.h"
#include "support/lstrings.h"
#include "lyxrc.h"
@ -97,6 +98,7 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
languageModule = new QPrefLanguageModule(prefsWS);
printerModule = new QPrefPrinterModule(prefsWS);
uiModule = new QPrefUIModule(prefsWS);
identityModule = new QPrefIdentityModule(prefsWS);
prefsWS->addWidget(asciiModule, 0);
prefsWS->addWidget(dateModule, 1);
@ -112,6 +114,7 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
prefsWS->addWidget(languageModule, 11);
prefsWS->addWidget(printerModule, 12);
prefsWS->addWidget(uiModule, 13);
prefsWS->addWidget(identityModule, 14);
QListViewItem * i;
@ -148,6 +151,8 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
i = new QListViewItem(out, i, qt_("Printer"));
pane_map_[i] = printerModule;
i = new QListViewItem(prefsLV, out, qt_("Identity"));
pane_map_[i] = identityModule;
i = new QListViewItem(prefsLV, out, qt_("Paths"));
pane_map_[i] = pathsModule;
i = new QListViewItem(prefsLV, i, qt_("Converters"));
@ -307,6 +312,8 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
connect(screenfontsModule->screenLargestED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(screenfontsModule->screenHugeED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(screenfontsModule->screenHugerED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(identityModule->nameED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(identityModule->emailED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
}

View File

@ -39,6 +39,7 @@ class QPrefFileformatsModule;
class QPrefLanguageModule;
class QPrefPrinterModule;
class QPrefUIModule;
class QPrefIdentityModule;
class QPrefsDialog : public QPrefsDialogBase {
Q_OBJECT
@ -109,6 +110,7 @@ private:
QPrefLanguageModule * languageModule;
QPrefPrinterModule * printerModule;
QPrefUIModule * uiModule;
QPrefIdentityModule * identityModule;
QPrefs * form_;
};

View File

@ -53,6 +53,7 @@ void QRef::build_dialog()
dialog_.reset(new QRefDialog(this));
bc().setOK(dialog_->okPB);
bc().setApply(dialog_->applyPB);
bc().setCancel(dialog_->closePB);
bc().addReadOnly(dialog_->refsLB);
bc().addReadOnly(dialog_->sortCB);

View File

@ -33,6 +33,8 @@ QRefDialog::QRefDialog(QRef * form)
{
connect(okPB, SIGNAL(clicked()),
form_, SLOT(slotOK()));
connect(applyPB, SIGNAL(clicked()),
form_, SLOT(slotApply()));
connect(closePB, SIGNAL(clicked()),
form_, SLOT(slotClose()));
}

View File

@ -0,0 +1,277 @@
<!DOCTYPE UI><UI>
<class>QChangesDialogBase</class>
<include location="global">config.h</include>
<include location="local">qt_helpers.h</include>
<widget>
<class>QDialog</class>
<property stdset="1">
<name>name</name>
<cstring>QChangesDialogBase</cstring>
</property>
<property stdset="1">
<name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
<width>297</width>
<height>252</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Changes</string>
</property>
<property stdset="1">
<name>sizeGripEnabled</name>
<bool>true</bool>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout4</cstring>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>changeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Change :</string>
</property>
</widget>
<widget>
<class>QTextView</class>
<property stdset="1">
<name>name</name>
<cstring>changeTV</cstring>
</property>
<property stdset="1">
<name>focusPolicy</name>
<enum>WheelFocus</enum>
</property>
<property>
<name>toolTip</name>
<string>Details of the change</string>
</property>
</widget>
</vbox>
</widget>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>acceptPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Accept</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
<property>
<name>toolTip</name>
<string>Accept this change</string>
</property>
</widget>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>rejectPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Reject</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
<property>
<name>toolTip</name>
<string>Reject this change</string>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer3</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer4</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout2</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>nextPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Next change</string>
</property>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
<property>
<name>toolTip</name>
<string>Go to next change</string>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer1</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>closePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Cancel</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>nextPB</sender>
<signal>clicked()</signal>
<receiver>QChangesDialogBase</receiver>
<slot>nextPressed()</slot>
</connection>
<connection>
<sender>rejectPB</sender>
<signal>clicked()</signal>
<receiver>QChangesDialogBase</receiver>
<slot>rejectPressed()</slot>
</connection>
<connection>
<sender>acceptPB</sender>
<signal>clicked()</signal>
<receiver>QChangesDialogBase</receiver>
<slot>acceptPressed()</slot>
</connection>
<slot access="public">acceptPressed()</slot>
<slot access="public">rejectPressed()</slot>
<slot access="public">nextPressed()</slot>
</connections>
<tabstops>
<tabstop>changeTV</tabstop>
<tabstop>acceptPB</tabstop>
<tabstop>rejectPB</tabstop>
<tabstop>nextPB</tabstop>
<tabstop>closePB</tabstop>
</tabstops>
</UI>

View File

@ -0,0 +1,129 @@
<!DOCTYPE UI><UI>
<class>QPrefIdentityModule</class>
<include location="global">config.h</include>
<include location="local">qt_helpers.h</include>
<widget>
<class>QWidget</class>
<property stdset="1">
<name>name</name>
<cstring>QPrefIdentityModule</cstring>
</property>
<property stdset="1">
<name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
<width>388</width>
<height>209</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Identity</string>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>emailLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;E-mail:</string>
</property>
<property>
<name>buddy</name>
<cstring>emailED</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>nameED</cstring>
</property>
<property>
<name>toolTip</name>
<string>Your name</string>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>nameLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Name:</string>
</property>
<property>
<name>buddy</name>
<cstring>nameED</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>emailED</cstring>
</property>
<property>
<name>toolTip</name>
<string>Your E-mail address</string>
</property>
</widget>
</grid>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer1</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<tabstops>
<tabstop>nameED</tabstop>
<tabstop>emailED</tabstop>
</tabstops>
</UI>

View File

@ -13,8 +13,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>348</width>
<height>439</height>
<width>290</width>
<height>380</height>
</rect>
</property>
<property stdset="1">
@ -246,70 +246,6 @@
<bool>false</bool>
</property>
</widget>
<widget row="7" column="0" rowspan="1" colspan="2" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout8</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<spacer>
<property>
<name>name</name>
<cstring>Spacer7</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>okPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;OK</string>
</property>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
</widget>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>closePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Close</string>
</property>
</widget>
</hbox>
</widget>
<widget row="1" column="0" rowspan="1" colspan="2" >
<class>QLabel</class>
<property stdset="1">
@ -372,6 +308,85 @@
</sizepolicy>
</property>
</widget>
<widget row="7" column="0" rowspan="1" colspan="2" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<spacer>
<property>
<name>name</name>
<cstring>Spacer7</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>okPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;OK</string>
</property>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
</widget>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>applyPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Apply</string>
</property>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
</widget>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>closePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Close</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<connections>

View File

@ -13,8 +13,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>434</width>
<height>292</height>
<width>463</width>
<height>383</height>
</rect>
</property>
<property stdset="1">
@ -408,7 +408,7 @@
</property>
<property stdset="1">
<name>title</name>
<string>Rotate 90°</string>
<string>Rotate 90 degrees</string>
</property>
<vbox>
<property stdset="1">