mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
qboxes falling downward through the chimney...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8208 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5c80e7737b
commit
540b89fcf2
@ -1,3 +1,13 @@
|
||||
2003-12-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||
|
||||
* QBox.[Ch]: (new)
|
||||
* QBoxDialog.[Ch]: (new)
|
||||
* ui/QBoxDialogBase.ui: (new)
|
||||
* Makefile.am:
|
||||
* Makefile.dialogs:
|
||||
* Dialogs.C: new VSpace dialog.
|
||||
* lengthcommon.[Ch]: add insertItem(int) method
|
||||
|
||||
2003-12-05 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||
|
||||
* QDocument.C: use geometry on custom, A3, B3 and B4
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "ControlAboutlyx.h"
|
||||
#include "ControlBibtex.h"
|
||||
#include "ControlBox.h"
|
||||
#include "ControlBranch.h"
|
||||
#include "ControlChanges.h"
|
||||
#include "ControlCharacter.h"
|
||||
@ -42,6 +43,7 @@
|
||||
#include "QAbout.h"
|
||||
#include "QBibitem.h"
|
||||
#include "QBibtex.h"
|
||||
#include "QBox.h"
|
||||
#include "QBranch.h"
|
||||
#include "QChanges.h"
|
||||
#include "QCharacter.h"
|
||||
@ -84,9 +86,9 @@ using std::string;
|
||||
|
||||
namespace {
|
||||
|
||||
char const * const dialognames[] = { "aboutlyx", "bibitem", "bibtex", "branch",
|
||||
"changes", "character", "citation", "error", "errorlist", "ert", "external", "file",
|
||||
"float", "graphics", "include", "index", "label", "log",
|
||||
char const * const dialognames[] = { "aboutlyx", "bibitem", "bibtex", "box",
|
||||
"branch", "changes", "character", "citation", "error", "errorlist", "ert", "external",
|
||||
"file", "float", "graphics", "include", "index", "label", "log",
|
||||
"mathpanel", "mathdelimiter", "mathmatrix",
|
||||
"minipage", "note", "paragraph", "ref", "tabular", "tabularcreate", "texinfo",
|
||||
|
||||
@ -139,6 +141,10 @@ Dialog * Dialogs::build(string const & name)
|
||||
dialog->setController(new ControlBibtex(*dialog));
|
||||
dialog->setView(new QBibtex(*dialog));
|
||||
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
|
||||
} else if (name == "box") {
|
||||
dialog->setController(new ControlBox(*dialog));
|
||||
dialog->setView(new QBox(*dialog));
|
||||
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
|
||||
} else if (name == "branch") {
|
||||
dialog->setController(new ControlBranch(*dialog));
|
||||
dialog->setView(new QBranch(*dialog));
|
||||
|
@ -30,6 +30,7 @@ libqt2_la_SOURCES = \
|
||||
QAbout.C QAbout.h \
|
||||
QBibitem.C QBibitem.h \
|
||||
QBibtex.C QBibtex.h \
|
||||
QBox.C QBox.h \
|
||||
QBranch.C QBranch.h \
|
||||
QChanges.C QChanges.h \
|
||||
QCharacter.C QCharacter.h \
|
||||
|
@ -17,6 +17,7 @@ UIFILES = \
|
||||
QBibitemDialogBase.ui \
|
||||
QBibtexDialogBase.ui \
|
||||
QBibtexAddDialogBase.ui \
|
||||
QBoxDialogBase.ui \
|
||||
QBranchDialogBase.ui \
|
||||
QChangesDialogBase.ui \
|
||||
QCharacterDialogBase.ui \
|
||||
@ -80,6 +81,7 @@ MOCFILES = \
|
||||
QAboutDialog.C QAboutDialog.h \
|
||||
QBibitemDialog.C QBibitemDialog.h \
|
||||
QBibtexDialog.C QBibtexDialog.h \
|
||||
QBoxDialog.C QBoxDialog.h \
|
||||
QBranchDialog.C QBranchDialog.h \
|
||||
QBrowseBox.C QBrowseBox.h \
|
||||
QChangesDialog.C QChangesDialog.h \
|
||||
|
272
src/frontends/qt2/QBox.C
Normal file
272
src/frontends/qt2/QBox.C
Normal file
@ -0,0 +1,272 @@
|
||||
/**
|
||||
* \file QBox.C
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Jürgen Vigna (Minipage stuff)
|
||||
* \author Martin Vermeer
|
||||
* \author Jürgen Spitzmüller
|
||||
*
|
||||
* Full author contact details are available in file CREDITS.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "QBox.h"
|
||||
#include "ControlBox.h"
|
||||
#include "QBoxDialog.h"
|
||||
#include "qt_helpers.h"
|
||||
#include "controllers/helper_funcs.h"
|
||||
#include "support/lstrings.h"
|
||||
#include "support/tostr.h"
|
||||
|
||||
#include "Qt2BC.h"
|
||||
#include "lyxrc.h" // to set the default length values
|
||||
#include "insets/insetbox.h"
|
||||
|
||||
#include "lengthcombo.h"
|
||||
#include "lengthcommon.h"
|
||||
#include <qpushbutton.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qbuttongroup.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
using lyx::support::getStringFromVector;
|
||||
using lyx::support::isStrDbl;
|
||||
using lyx::support::subst;
|
||||
using std::string;
|
||||
|
||||
|
||||
typedef QController<ControlBox, QView<QBoxDialog> > base_class;
|
||||
|
||||
QBox::QBox(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Box Settings"))
|
||||
{}
|
||||
|
||||
|
||||
void QBox::build_dialog()
|
||||
{
|
||||
dialog_.reset(new QBoxDialog(this));
|
||||
|
||||
// fill the box type choice
|
||||
box_gui_tokens(ids_, gui_names_);
|
||||
for (unsigned int i = 0; i < gui_names_.size(); ++i)
|
||||
dialog_->typeCO->insertItem(toqstr(gui_names_[i]));
|
||||
|
||||
// add the special units to the height choice
|
||||
// width needs different handling
|
||||
box_gui_tokens_special_length(ids_spec_, gui_names_spec_);
|
||||
for (unsigned int i = 1; i < gui_names_spec_.size(); ++i) {
|
||||
dialog_->heightUnitsLC->insertItem(toqstr(gui_names_spec_[i]));
|
||||
}
|
||||
|
||||
bcview().addReadOnly(dialog_->typeCO);
|
||||
bcview().addReadOnly(dialog_->innerBoxCO);
|
||||
bcview().addReadOnly(dialog_->valignCO);
|
||||
bcview().addReadOnly(dialog_->ialignCO);
|
||||
bcview().addReadOnly(dialog_->halignCO);
|
||||
bcview().addReadOnly(dialog_->widthED);
|
||||
bcview().addReadOnly(dialog_->heightED);
|
||||
bcview().addReadOnly(dialog_->widthUnitsLC);
|
||||
bcview().addReadOnly(dialog_->heightUnitsLC);
|
||||
|
||||
bcview().setRestore(dialog_->restorePB);
|
||||
bcview().setOK(dialog_->okPB);
|
||||
bcview().setApply(dialog_->applyPB);
|
||||
bcview().setCancel(dialog_->closePB);
|
||||
}
|
||||
|
||||
|
||||
void QBox::update_contents()
|
||||
{
|
||||
string type(controller().params().type);
|
||||
for (unsigned int i = 0; i < gui_names_.size(); ++i) {
|
||||
if (type == ids_[i])
|
||||
dialog_->typeCO->setCurrentItem(i);
|
||||
}
|
||||
|
||||
// default: minipage
|
||||
unsigned int inner_type = 2;
|
||||
if (!controller().params().inner_box)
|
||||
// none
|
||||
inner_type = 0;
|
||||
if (controller().params().use_parbox)
|
||||
// parbox
|
||||
inner_type = 1;
|
||||
bool frameless = (controller().params().type == "Frameless");
|
||||
setInnerType(frameless, inner_type);
|
||||
|
||||
char c = controller().params().pos;
|
||||
dialog_->valignCO->setCurrentItem(string("tcb").find(c, 0));
|
||||
c = controller().params().inner_pos;
|
||||
dialog_->ialignCO->setCurrentItem(string("tcbs").find(c, 0));
|
||||
c = controller().params().hor_pos;
|
||||
dialog_->halignCO->setCurrentItem(string("lcrs").find(c, 0));
|
||||
|
||||
bool ibox = controller().params().inner_box;
|
||||
dialog_->valignCO->setEnabled(ibox);
|
||||
dialog_->ialignCO->setEnabled(ibox);
|
||||
dialog_->halignCO->setEnabled(!ibox);
|
||||
setSpecial(ibox);
|
||||
|
||||
LyXLength::UNIT default_unit =
|
||||
(lyxrc.default_papersize > 3) ? LyXLength::CM : LyXLength::IN;
|
||||
|
||||
lengthToWidgets(dialog_->widthED, dialog_->widthUnitsLC,
|
||||
(controller().params().width).asString(), default_unit);
|
||||
|
||||
string const special(controller().params().special);
|
||||
if (!special.empty() && special != "none") {
|
||||
QString spc;
|
||||
for (unsigned int i = 0; i < gui_names_spec_.size(); i++) {
|
||||
if (special == ids_spec_[i])
|
||||
spc = toqstr(gui_names_spec_[i].c_str());
|
||||
}
|
||||
for (int j = 0; j < dialog_->widthUnitsLC->count(); j++) {
|
||||
if (dialog_->widthUnitsLC->text(j) == spc)
|
||||
dialog_->widthUnitsLC->setCurrentItem(j);
|
||||
}
|
||||
}
|
||||
|
||||
lengthToWidgets(dialog_->heightED, dialog_->heightUnitsLC,
|
||||
(controller().params().height).asString(), default_unit);
|
||||
|
||||
string const height_special(controller().params().height_special);
|
||||
if (!height_special.empty() && height_special != "none") {
|
||||
QString hspc;
|
||||
for (unsigned int i = 0; i < gui_names_spec_.size(); i++) {
|
||||
if (height_special == ids_spec_[i]) {
|
||||
hspc = toqstr(gui_names_spec_[i].c_str());
|
||||
}
|
||||
}
|
||||
for (int j = 0; j < dialog_->heightUnitsLC->count(); j++) {
|
||||
if (dialog_->heightUnitsLC->text(j) == hspc) {
|
||||
dialog_->heightUnitsLC->setCurrentItem(j);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dialog_->heightED->setEnabled(ibox);
|
||||
dialog_->heightUnitsLC->setEnabled(ibox);
|
||||
}
|
||||
|
||||
|
||||
void QBox::apply()
|
||||
{
|
||||
controller().params().type =
|
||||
ids_[dialog_->typeCO->currentItem()];
|
||||
|
||||
controller().params().inner_box =
|
||||
dialog_->innerBoxCO->currentText() != qt_("None");
|
||||
controller().params().use_parbox =
|
||||
dialog_->innerBoxCO->currentText() == qt_("Parbox");
|
||||
|
||||
controller().params().pos =
|
||||
"tcb"[dialog_->valignCO->currentItem()];
|
||||
controller().params().inner_pos =
|
||||
"tcbs"[dialog_->ialignCO->currentItem()];
|
||||
controller().params().hor_pos =
|
||||
"lcrs"[dialog_->halignCO->currentItem()];
|
||||
|
||||
int i = 0;
|
||||
bool spec = false;
|
||||
QString special = dialog_->widthUnitsLC->currentText();
|
||||
if (special == qt_("Height")) {
|
||||
i = 1;
|
||||
spec = true;
|
||||
} else if (special == qt_("Depth")) {
|
||||
i = 2;
|
||||
spec = true;
|
||||
} else if (special == qt_("Total Height")) {
|
||||
i = 3;
|
||||
spec = true;
|
||||
} else if (special == qt_("Width")) {
|
||||
i = 4;
|
||||
spec = true;
|
||||
}
|
||||
controller().params().special = ids_spec_[i];
|
||||
|
||||
string width;
|
||||
if (spec) {
|
||||
width = fromqstr(dialog_->widthED->text());
|
||||
// beware: bogosity! the unit is simply ignored in this case
|
||||
width += "in";
|
||||
} else
|
||||
width = widgetsToLength(dialog_->widthED, dialog_->widthUnitsLC);
|
||||
|
||||
controller().params().width = LyXLength(width);
|
||||
|
||||
i = 0;
|
||||
spec = false;
|
||||
special = dialog_->heightUnitsLC->currentText();
|
||||
if (special == qt_("Height")) {
|
||||
i = 1;
|
||||
spec = true;
|
||||
} else if (special == qt_("Depth")) {
|
||||
i = 2;
|
||||
spec = true;
|
||||
} else if (special == qt_("Total Height")) {
|
||||
i = 3;
|
||||
spec = true;
|
||||
} else if (special == qt_("Width")) {
|
||||
i = 4;
|
||||
spec = true;
|
||||
}
|
||||
controller().params().height_special = ids_spec_[i];
|
||||
|
||||
string height;
|
||||
if (spec) {
|
||||
height = fromqstr(dialog_->heightED->text());
|
||||
// beware: bogosity! the unit is simply ignored in this case
|
||||
height += "in";
|
||||
} else
|
||||
height = widgetsToLength(dialog_->heightED, dialog_->heightUnitsLC);
|
||||
|
||||
controller().params().height = LyXLength(height);
|
||||
}
|
||||
|
||||
|
||||
void QBox::setSpecial(bool ibox)
|
||||
{
|
||||
box_gui_tokens_special_length(ids_spec_, gui_names_spec_);
|
||||
// check if the widget contains the special units
|
||||
int count = dialog_->widthUnitsLC->count();
|
||||
bool has_special = false;
|
||||
for (int i = 0; i < count; i++)
|
||||
if (dialog_->widthUnitsLC->text(i).contains(qt_("Total Height")) > 0)
|
||||
has_special = true;
|
||||
// insert 'em if needed...
|
||||
if (!ibox && !has_special) {
|
||||
for (unsigned int i = 1; i < gui_names_spec_.size(); i++)
|
||||
dialog_->widthUnitsLC->insertItem(toqstr(gui_names_spec_[i]));
|
||||
// ... or remove 'em if needed
|
||||
} else if (ibox && has_special) {
|
||||
dialog_->widthUnitsLC->clear();
|
||||
for (int i = 0; i < num_units; i++)
|
||||
dialog_->widthUnitsLC->insertItem(unit_name_gui[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void QBox::setInnerType(bool frameless, int i)
|
||||
{
|
||||
// with "frameless" boxes, inner box is mandatory (i.e. is the actual box)
|
||||
// we have to remove "none" then and adjust the combo
|
||||
if (frameless) {
|
||||
dialog_->innerBoxCO->clear();
|
||||
dialog_->innerBoxCO->insertItem(qt_("Parbox"));
|
||||
dialog_->innerBoxCO->insertItem(qt_("Minipage"));
|
||||
dialog_->innerBoxCO->setCurrentItem(i - 1);
|
||||
} else {
|
||||
if (dialog_->innerBoxCO->count() == 2)
|
||||
i += 1;
|
||||
dialog_->innerBoxCO->clear();
|
||||
dialog_->innerBoxCO->insertItem(qt_("None"));
|
||||
dialog_->innerBoxCO->insertItem(qt_("Parbox"));
|
||||
dialog_->innerBoxCO->insertItem(qt_("Minipage"));
|
||||
dialog_->innerBoxCO->setCurrentItem(i);
|
||||
}
|
||||
}
|
54
src/frontends/qt2/QBox.h
Normal file
54
src/frontends/qt2/QBox.h
Normal file
@ -0,0 +1,54 @@
|
||||
// -*- C++ -*-
|
||||
/**
|
||||
* \file QBox.h
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Jürgen Spitzmüller
|
||||
* \ author Martin Vermeer
|
||||
*
|
||||
* Full author contact details are available in file CREDITS.
|
||||
*/
|
||||
|
||||
#ifndef QBOX_H
|
||||
#define QBOX_H
|
||||
|
||||
|
||||
#include "QDialogView.h"
|
||||
#include <vector>
|
||||
|
||||
|
||||
class ControlBox;
|
||||
class QBoxDialog;
|
||||
|
||||
///
|
||||
class QBox
|
||||
: public QController<ControlBox, QView<QBoxDialog> >
|
||||
{
|
||||
public:
|
||||
///
|
||||
friend class QBoxDialog;
|
||||
///
|
||||
QBox(Dialog &);
|
||||
/// add and remove special lengths
|
||||
void setSpecial(bool ibox);
|
||||
/// only show valid inner box items
|
||||
void setInnerType(bool frameless, int i);
|
||||
private:
|
||||
/// Apply changes
|
||||
virtual void apply();
|
||||
/// update
|
||||
virtual void update_contents();
|
||||
/// build the dialog
|
||||
virtual void build_dialog();
|
||||
///
|
||||
std::vector<std::string> ids_;
|
||||
///
|
||||
std::vector<std::string> gui_names_;
|
||||
///
|
||||
std::vector<std::string> ids_spec_;
|
||||
///
|
||||
std::vector<std::string> gui_names_spec_;
|
||||
};
|
||||
|
||||
#endif // QBOX_H
|
90
src/frontends/qt2/QBoxDialog.C
Normal file
90
src/frontends/qt2/QBoxDialog.C
Normal file
@ -0,0 +1,90 @@
|
||||
/**
|
||||
* \file QBoxDialog.C
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Jürgen Spitzmüller
|
||||
*
|
||||
* Full author contact details are available in file CREDITS.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "QBox.h"
|
||||
#include "QBoxDialog.h"
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include "lengthcombo.h"
|
||||
#include <qcombobox.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlineedit.h>
|
||||
|
||||
|
||||
QBoxDialog::QBoxDialog(QBox * form)
|
||||
: QBoxDialogBase(0, 0, false, 0),
|
||||
form_(form)
|
||||
{
|
||||
connect(restorePB, SIGNAL(clicked()),
|
||||
form, SLOT(slotRestore()));
|
||||
connect(okPB, SIGNAL(clicked()),
|
||||
form, SLOT(slotOK()));
|
||||
connect(applyPB, SIGNAL(clicked()),
|
||||
form, SLOT(slotApply()));
|
||||
connect(closePB, SIGNAL(clicked()),
|
||||
form, SLOT(slotClose()));
|
||||
}
|
||||
|
||||
|
||||
void QBoxDialog::closeEvent(QCloseEvent * e)
|
||||
{
|
||||
form_->slotWMHide();
|
||||
e->accept();
|
||||
}
|
||||
|
||||
|
||||
void QBoxDialog::change_adaptor()
|
||||
{
|
||||
form_->changed();
|
||||
}
|
||||
|
||||
|
||||
void QBoxDialog::innerBoxChanged(const QString & str)
|
||||
{
|
||||
bool ibox = (str != qt_("None"));
|
||||
valignCO->setEnabled(ibox);
|
||||
ialignCO->setEnabled(ibox);
|
||||
halignCO->setEnabled(!ibox);
|
||||
heightED->setEnabled(ibox);
|
||||
heightUnitsLC->setEnabled(ibox);
|
||||
form_->setSpecial(ibox);
|
||||
}
|
||||
|
||||
|
||||
void QBoxDialog::typeChanged(int index)
|
||||
{
|
||||
bool frameless = (index == 0);
|
||||
if (frameless) {
|
||||
valignCO->setEnabled(true);
|
||||
ialignCO->setEnabled(true);
|
||||
halignCO->setEnabled(false);
|
||||
heightED->setEnabled(true);
|
||||
heightUnitsLC->setEnabled(true);
|
||||
form_->setSpecial(true);
|
||||
}
|
||||
int itype = innerBoxCO->currentItem();
|
||||
form_->setInnerType(frameless, itype);
|
||||
}
|
||||
|
||||
|
||||
void QBoxDialog::restoreClicked()
|
||||
{
|
||||
form_->setInnerType(true, 2);
|
||||
widthED->setText("100");
|
||||
widthUnitsLC->setCurrentItem(LyXLength::PCW);
|
||||
heightED->setText("1");
|
||||
for (int j = 0; j < heightUnitsLC->count(); j++) {
|
||||
if (heightUnitsLC->text(j) == qt_("Total Height"))
|
||||
heightUnitsLC->setCurrentItem(j);
|
||||
}
|
||||
}
|
35
src/frontends/qt2/QBoxDialog.h
Normal file
35
src/frontends/qt2/QBoxDialog.h
Normal file
@ -0,0 +1,35 @@
|
||||
// -*- C++ -*-
|
||||
/**
|
||||
* \file QBoxDialog.h
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Jürgen Spitzmüller
|
||||
*
|
||||
* Full author contact details are available in file CREDITS.
|
||||
*/
|
||||
|
||||
#ifndef QBOXDIALOG_H
|
||||
#define QBOXDIALOG_H
|
||||
|
||||
|
||||
#include "ui/QBoxDialogBase.h"
|
||||
|
||||
class QBox;
|
||||
|
||||
class QBoxDialog : public QBoxDialogBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QBoxDialog(QBox * form);
|
||||
protected slots:
|
||||
virtual void change_adaptor();
|
||||
virtual void innerBoxChanged(const QString &);
|
||||
virtual void typeChanged(int);
|
||||
virtual void restoreClicked();
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
private:
|
||||
QBox * form_;
|
||||
};
|
||||
|
||||
#endif // QBOXDIALOG_H
|
@ -46,6 +46,12 @@ void LengthCombo::setCurrentItem(LyXLength::UNIT unit)
|
||||
}
|
||||
|
||||
|
||||
void LengthCombo::setCurrentItem(int item)
|
||||
{
|
||||
QComboBox::setCurrentItem(item);
|
||||
}
|
||||
|
||||
|
||||
void LengthCombo::setEnabled(bool b)
|
||||
{
|
||||
QComboBox::setEnabled(b);
|
||||
|
@ -25,8 +25,10 @@ class LengthCombo : public QComboBox {
|
||||
public:
|
||||
LengthCombo(QWidget * parent, char * name);
|
||||
|
||||
/// set the current item
|
||||
/// set the current item from unit
|
||||
virtual void setCurrentItem(LyXLength::UNIT unit);
|
||||
/// set the current item from int
|
||||
virtual void setCurrentItem(int item);
|
||||
/// get the current item
|
||||
LyXLength::UNIT currentLengthItem() const;
|
||||
/// enable the widget
|
||||
|
887
src/frontends/qt2/ui/QBoxDialogBase.ui
Normal file
887
src/frontends/qt2/ui/QBoxDialogBase.ui
Normal file
@ -0,0 +1,887 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QBoxDialogBase</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">qt_helpers.h</include>
|
||||
<include location="local">vspace.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QBoxDialogBase</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>298</width>
|
||||
<height>291</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>caption</name>
|
||||
<string>Box settings</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizeGripEnabled</name>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property>
|
||||
<name>layoutMargin</name>
|
||||
</property>
|
||||
<property>
|
||||
<name>layoutSpacing</name>
|
||||
</property>
|
||||
<grid>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>11</number>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>spacing</name>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget row="0" column="1" >
|
||||
<class>QComboBox</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>typeCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Supported box types</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="3" column="0" rowspan="1" colspan="2" >
|
||||
<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>heightLA</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>frameShape</name>
|
||||
<enum>MShape</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>frameShadow</name>
|
||||
<enum>MShadow</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&Height:</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>buddy</name>
|
||||
<cstring>heightED</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Height value</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="1" column="2" >
|
||||
<class>LengthCombo</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>heightUnitsLC</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizePolicy</name>
|
||||
<sizepolicy>
|
||||
<hsizetype>3</hsizetype>
|
||||
<vsizetype>0</vsizetype>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>minimumSize</name>
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>22</height>
|
||||
</size>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>focusPolicy</name>
|
||||
<enum>StrongFocus</enum>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Units of height value</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="1" column="1" >
|
||||
<class>QLineEdit</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>heightED</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizePolicy</name>
|
||||
<sizepolicy>
|
||||
<hsizetype>1</hsizetype>
|
||||
<vsizetype>0</vsizetype>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Height value</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="0" column="2" >
|
||||
<class>LengthCombo</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>widthUnitsLC</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizePolicy</name>
|
||||
<sizepolicy>
|
||||
<hsizetype>3</hsizetype>
|
||||
<vsizetype>0</vsizetype>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>minimumSize</name>
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>22</height>
|
||||
</size>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>focusPolicy</name>
|
||||
<enum>StrongFocus</enum>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Units of width value</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="0" column="0" >
|
||||
<class>QLabel</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>widthLA</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>frameShape</name>
|
||||
<enum>MShape</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>frameShadow</name>
|
||||
<enum>MShadow</enum>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&Width:</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>buddy</name>
|
||||
<cstring>widthED</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Width value</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="0" column="1" >
|
||||
<class>QLineEdit</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>widthED</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizePolicy</name>
|
||||
<sizepolicy>
|
||||
<hsizetype>1</hsizetype>
|
||||
<vsizetype>0</vsizetype>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Width value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</grid>
|
||||
</widget>
|
||||
<widget row="7" column="0" rowspan="1" colspan="3" >
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>Layout4</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>restorePB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&Restore</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>autoDefault</name>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>default</name>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string></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>okPB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&OK</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>default</name>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string></string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget>
|
||||
<class>QPushButton</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>applyPB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&Apply</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>autoDefault</name>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>default</name>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string></string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget>
|
||||
<class>QPushButton</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>closePB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&Close</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>autoDefault</name>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>default</name>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget row="5" column="0" rowspan="1" colspan="3" >
|
||||
<class>QGroupBox</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>AlignmentGB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>title</name>
|
||||
<string>Alignment</string>
|
||||
</property>
|
||||
<grid>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>11</number>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>spacing</name>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget row="2" column="1" >
|
||||
<class>QComboBox</class>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Left</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Center</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Right</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Stretch</string>
|
||||
</property>
|
||||
</item>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>halignCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Horizontal alignment of the content inside the box</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="1" column="1" >
|
||||
<class>QComboBox</class>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Top</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Middle</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Bottom</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Stretch</string>
|
||||
</property>
|
||||
</item>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>ialignCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Vertical alignment of the content inside the box</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="0" column="1" >
|
||||
<class>QComboBox</class>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Top</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Middle</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Bottom</string>
|
||||
</property>
|
||||
</item>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>valignCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Vertical alignment of the box (with regard to baseline)</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="2" column="0" >
|
||||
<class>QLabel</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>halignLA</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>Content hori&zontal:</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>buddy</name>
|
||||
<cstring>halignCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Horizontal alignment of the content inside the box</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="1" column="0" >
|
||||
<class>QLabel</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>ialignLA</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>Content &vertical:</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>buddy</name>
|
||||
<cstring>ialignCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Vertical alignment of the content inside the box</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="0" column="0" >
|
||||
<class>QLabel</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>valignLA</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&Box vertical:</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>buddy</name>
|
||||
<cstring>valignCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Vertical alignment of the box (with regard to baseline)</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer row="0" column="2" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer6</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>
|
||||
<spacer row="1" column="2" >
|
||||
<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>
|
||||
<spacer row="2" column="2" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer8</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>
|
||||
</grid>
|
||||
</widget>
|
||||
<spacer row="6" column="1" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer5</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>
|
||||
<spacer row="2" column="1" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer5_3</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>
|
||||
<spacer row="4" column="1" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer5_2</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 row="1" column="1" >
|
||||
<class>QComboBox</class>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>None</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Parbox</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property>
|
||||
<name>text</name>
|
||||
<string>Minipage</string>
|
||||
</property>
|
||||
</item>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>innerBoxCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Inner box -- needed for fixed width & line breaks</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="1" column="0" >
|
||||
<class>QLabel</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>innerBoxLA</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>&Inner Box:</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>buddy</name>
|
||||
<cstring>innerBoxCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Inner box -- needed for fixed width & line breaks</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget row="0" column="0" >
|
||||
<class>QLabel</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>typeLA</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>T&ype:</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>buddy</name>
|
||||
<cstring>typeCO</cstring>
|
||||
</property>
|
||||
<property>
|
||||
<name>toolTip</name>
|
||||
<string>Supported box types</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer row="0" column="2" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer10_2</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>
|
||||
<spacer row="1" column="2" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer10</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>
|
||||
<spacer row="3" column="2" >
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer9</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>
|
||||
</grid>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>LengthCombo</class>
|
||||
<header location="local">lengthcombo.h</header>
|
||||
<sizehint>
|
||||
<width>-1</width>
|
||||
<height>-1</height>
|
||||
</sizehint>
|
||||
<container>0</container>
|
||||
<sizepolicy>
|
||||
<hordata>5</hordata>
|
||||
<verdata>5</verdata>
|
||||
</sizepolicy>
|
||||
<pixmap>image0</pixmap>
|
||||
<signal>selectionChanged(LyXLength::UNIT)</signal>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<images>
|
||||
<image>
|
||||
<name>image0</name>
|
||||
<data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
|
||||
</image>
|
||||
</images>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>widthED</sender>
|
||||
<signal>textChanged(const QString&)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>widthUnitsLC</sender>
|
||||
<signal>selectionChanged(LyXLength::UNIT)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>valignCO</sender>
|
||||
<signal>highlighted(const QString&)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>heightED</sender>
|
||||
<signal>textChanged(const QString&)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>heightUnitsLC</sender>
|
||||
<signal>selectionChanged(LyXLength::UNIT)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>restorePB</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>restoreClicked()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>typeCO</sender>
|
||||
<signal>activated(int)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>typeCO</sender>
|
||||
<signal>activated(int)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>typeChanged(int)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>halignCO</sender>
|
||||
<signal>activated(int)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>ialignCO</sender>
|
||||
<signal>activated(int)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>innerBoxCO</sender>
|
||||
<signal>activated(const QString&)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>innerBoxChanged(const QString &)</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>innerBoxCO</sender>
|
||||
<signal>activated(int)</signal>
|
||||
<receiver>QBoxDialogBase</receiver>
|
||||
<slot>change_adaptor()</slot>
|
||||
</connection>
|
||||
<slot access="public">change_adaptor()</slot>
|
||||
<slot access="public">innerBoxChanged(const QString &)</slot>
|
||||
<slot access="public">restoreClicked()</slot>
|
||||
<slot access="public">typeChanged(int)</slot>
|
||||
</connections>
|
||||
<tabstops>
|
||||
<tabstop>widthED</tabstop>
|
||||
<tabstop>widthUnitsLC</tabstop>
|
||||
<tabstop>valignCO</tabstop>
|
||||
<tabstop>restorePB</tabstop>
|
||||
<tabstop>applyPB</tabstop>
|
||||
<tabstop>okPB</tabstop>
|
||||
<tabstop>closePB</tabstop>
|
||||
</tabstops>
|
||||
</UI>
|
Loading…
Reference in New Issue
Block a user