mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
The big KDE reorg + fi l10n update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1255 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
54ada32955
commit
577fca3be7
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
|||||||
|
2000-12-04 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
|
* configure.in: add new KDE Makefiles
|
||||||
|
* src/vspace.h: return GlueLength not a normal one
|
||||||
|
* src/support/lstrings.h:
|
||||||
|
* src/support/lstrings.C: add isStrUnsignedInt(),
|
||||||
|
strToUnsignedInt()
|
||||||
|
|
||||||
|
* src/frontends/kde/*: big reorganisation, update
|
||||||
|
FormParagraph, add FormTabCreate
|
||||||
|
|
||||||
2000-12-04 Angus Leeming <a.leeming@ic.ac.uk>
|
2000-12-04 Angus Leeming <a.leeming@ic.ac.uk>
|
||||||
|
|
||||||
* lib/ui/default.ui: small grammatical change.
|
* lib/ui/default.ui: small grammatical change.
|
||||||
|
@ -297,6 +297,9 @@ AC_OUTPUT([Makefile \
|
|||||||
src/frontends/support/Makefile \
|
src/frontends/support/Makefile \
|
||||||
src/frontends/xforms/Makefile \
|
src/frontends/xforms/Makefile \
|
||||||
src/frontends/kde/Makefile \
|
src/frontends/kde/Makefile \
|
||||||
|
src/frontends/kde/moc/Makefile \
|
||||||
|
src/frontends/kde/dlg/Makefile \
|
||||||
|
src/frontends/kde/dlg/moc/Makefile \
|
||||||
src/frontends/gnome/Makefile \
|
src/frontends/gnome/Makefile \
|
||||||
], [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
|
], [sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2000-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
2000-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* fi.po: update from Pauli Virtanen
|
||||||
|
|
||||||
* fr.po: update from Jean-Pierre
|
* fr.po: update from Jean-Pierre
|
||||||
|
|
||||||
2000-11-30 Angus Leeming <a.leeming@ic.ac.uk>
|
2000-11-30 Angus Leeming <a.leeming@ic.ac.uk>
|
||||||
|
@ -26,24 +26,29 @@ src/frontends/gnome/FormToc.C
|
|||||||
src/frontends/gnome/FormUrl.C
|
src/frontends/gnome/FormUrl.C
|
||||||
src/frontends/gnome/Menubar_pimpl.C
|
src/frontends/gnome/Menubar_pimpl.C
|
||||||
src/frontends/kde/citationdlg.C
|
src/frontends/kde/citationdlg.C
|
||||||
src/frontends/kde/copyrightdlgdata.C
|
src/frontends/kde/dlg/copyrightdlgdata.C
|
||||||
|
src/frontends/kde/dlg/indexdlgdata.C
|
||||||
|
src/frontends/kde/dlg/paraabovedlgdata.C
|
||||||
|
src/frontends/kde/dlg/parabelowdlgdata.C
|
||||||
|
src/frontends/kde/dlg/paradlgdata.C
|
||||||
|
src/frontends/kde/dlg/paraextradlgdata.C
|
||||||
|
src/frontends/kde/dlg/parageneraldlgdata.C
|
||||||
|
src/frontends/kde/dlg/printdlgdata.C
|
||||||
|
src/frontends/kde/dlg/tabcreatedlgdata.C
|
||||||
src/frontends/kde/FormCitation.C
|
src/frontends/kde/FormCitation.C
|
||||||
src/frontends/kde/FormCopyright.C
|
src/frontends/kde/FormCopyright.C
|
||||||
src/frontends/kde/FormIndex.C
|
src/frontends/kde/FormIndex.C
|
||||||
src/frontends/kde/FormParagraph.C
|
src/frontends/kde/FormParagraph.C
|
||||||
src/frontends/kde/FormPrint.C
|
src/frontends/kde/FormPrint.C
|
||||||
src/frontends/kde/FormRef.C
|
src/frontends/kde/FormRef.C
|
||||||
|
src/frontends/kde/FormTabularCreate.C
|
||||||
src/frontends/kde/FormToc.C
|
src/frontends/kde/FormToc.C
|
||||||
src/frontends/kde/FormUrl.C
|
src/frontends/kde/FormUrl.C
|
||||||
src/frontends/kde/indexdlg.C
|
src/frontends/kde/indexdlg.C
|
||||||
src/frontends/kde/indexdlgdata.C
|
|
||||||
src/frontends/kde/paradlg.C
|
src/frontends/kde/paradlg.C
|
||||||
src/frontends/kde/paraextradlg.C
|
src/frontends/kde/paraextradlg.C
|
||||||
src/frontends/kde/paraextradlgdata.C
|
|
||||||
src/frontends/kde/parageneraldlg.C
|
src/frontends/kde/parageneraldlg.C
|
||||||
src/frontends/kde/parageneraldlgdata.C
|
|
||||||
src/frontends/kde/printdlg.C
|
src/frontends/kde/printdlg.C
|
||||||
src/frontends/kde/printdlgdata.C
|
|
||||||
src/frontends/kde/refdlg.C
|
src/frontends/kde/refdlg.C
|
||||||
src/frontends/kde/tocdlg.C
|
src/frontends/kde/tocdlg.C
|
||||||
src/frontends/kde/urldlg.C
|
src/frontends/kde/urldlg.C
|
||||||
|
@ -24,12 +24,11 @@
|
|||||||
// temporary till ported
|
// temporary till ported
|
||||||
extern void ShowCredits();
|
extern void ShowCredits();
|
||||||
|
|
||||||
|
|
||||||
// Signal enabling all visible popups to be redrawn if so desired.
|
// Signal enabling all visible popups to be redrawn if so desired.
|
||||||
// E.g., when the GUI colours have been remapped.
|
// E.g., when the GUI colours have been remapped. This will probably
|
||||||
|
// work out different when xforms is gone
|
||||||
Signal0<void> Dialogs::redrawGUI;
|
Signal0<void> Dialogs::redrawGUI;
|
||||||
|
|
||||||
|
|
||||||
Dialogs::Dialogs(LyXView * lv)
|
Dialogs::Dialogs(LyXView * lv)
|
||||||
{
|
{
|
||||||
dialogs_.push_back(new FormCitation(lv, this));
|
dialogs_.push_back(new FormCitation(lv, this));
|
||||||
|
@ -80,9 +80,7 @@ void FormParagraph::update(bool switched)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (physpar->added_space_top.kind()==VSpace::LENGTH) {
|
if (physpar->added_space_top.kind()==VSpace::LENGTH) {
|
||||||
// FIXME: ??? this breaks badly if we ever add non glue length vspace to a paragraph
|
LyXGlueLength above = physpar->added_space_top.length();
|
||||||
// I need some help here ... it is silly anyway !
|
|
||||||
LyXGlueLength above(physpar->added_space_top.length().asString());
|
|
||||||
lyxerr[Debug::GUI] << "Reading above space : \"" << physpar->added_space_top.length().asString() << "\"" << endl;
|
lyxerr[Debug::GUI] << "Reading above space : \"" << physpar->added_space_top.length().asString() << "\"" << endl;
|
||||||
dialog_->setAboveLength(above.value(), above.plusValue(), above.minusValue(),
|
dialog_->setAboveLength(above.value(), above.plusValue(), above.minusValue(),
|
||||||
above.unit(), above.plusUnit(), above.minusUnit());
|
above.unit(), above.plusUnit(), above.minusUnit());
|
||||||
@ -90,9 +88,7 @@ void FormParagraph::update(bool switched)
|
|||||||
dialog_->setAboveLength(0.0, 0.0, 0.0, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE);
|
dialog_->setAboveLength(0.0, 0.0, 0.0, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE);
|
||||||
|
|
||||||
if (physpar->added_space_bottom.kind()==VSpace::LENGTH) {
|
if (physpar->added_space_bottom.kind()==VSpace::LENGTH) {
|
||||||
// FIXME: ??? this breaks badly if we ever add non glue length vspace to a paragraph
|
LyXGlueLength below = physpar->added_space_bottom.length();
|
||||||
// I need some help here ... it is silly anyway !
|
|
||||||
LyXGlueLength below(physpar->added_space_bottom.length().asString());
|
|
||||||
lyxerr[Debug::GUI] << "Reading below space : \"" << physpar->added_space_bottom.length().asString() << "\"" << endl;
|
lyxerr[Debug::GUI] << "Reading below space : \"" << physpar->added_space_bottom.length().asString() << "\"" << endl;
|
||||||
dialog_->setBelowLength(below.value(), below.plusValue(), below.minusValue(),
|
dialog_->setBelowLength(below.value(), below.plusValue(), below.minusValue(),
|
||||||
below.unit(), below.plusUnit(), below.minusUnit());
|
below.unit(), below.plusUnit(), below.minusUnit());
|
||||||
@ -150,6 +146,9 @@ void FormParagraph::apply()
|
|||||||
else
|
else
|
||||||
spacebelow = VSpace(dialog_->getSpaceBelowKind());
|
spacebelow = VSpace(dialog_->getSpaceBelowKind());
|
||||||
|
|
||||||
|
spaceabove.setKeep(dialog_->getAboveKeep());
|
||||||
|
spacebelow.setKeep(dialog_->getBelowKeep());
|
||||||
|
|
||||||
lyxerr[Debug::GUI] << "Setting above space \"" << LyXGlueLength(spaceabove.length().asString()).asString() << "\"" << endl;
|
lyxerr[Debug::GUI] << "Setting above space \"" << LyXGlueLength(spaceabove.length().asString()).asString() << "\"" << endl;
|
||||||
lyxerr[Debug::GUI] << "Setting below space \"" << LyXGlueLength(spacebelow.length().asString()).asString() << "\"" << endl;
|
lyxerr[Debug::GUI] << "Setting below space \"" << LyXGlueLength(spacebelow.length().asString()).asString() << "\"" << endl;
|
||||||
|
|
||||||
@ -178,6 +177,10 @@ void FormParagraph::apply()
|
|||||||
dialog_->getExtraAlign(),
|
dialog_->getExtraAlign(),
|
||||||
dialog_->getHfillBetween(),
|
dialog_->getHfillBetween(),
|
||||||
dialog_->getStartNewMinipage());
|
dialog_->getStartNewMinipage());
|
||||||
|
|
||||||
|
lv_->view()->update(BufferView::SELECT | BufferView::FITCUR | BufferView::CHANGE);
|
||||||
|
lv_->buffer()->markDirty();
|
||||||
|
setMinibuffer(lv_, _("Paragraph layout set"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormParagraph::show()
|
void FormParagraph::show()
|
||||||
|
77
src/frontends/kde/FormTabularCreate.C
Normal file
77
src/frontends/kde/FormTabularCreate.C
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
* FormTabularCreate.C
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
|
*/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
#include "tabcreatedlg.h"
|
||||||
|
#include "Dialogs.h"
|
||||||
|
#include "FormTabularCreate.h"
|
||||||
|
#include "gettext.h"
|
||||||
|
#include "QtLyXView.h"
|
||||||
|
#include "BufferView.h"
|
||||||
|
#include "insets/insettabular.h"
|
||||||
|
|
||||||
|
using std::endl;
|
||||||
|
|
||||||
|
FormTabularCreate::FormTabularCreate(LyXView *v, Dialogs *d)
|
||||||
|
: dialog_(0), lv_(v), d_(d), h_(0)
|
||||||
|
{
|
||||||
|
// let the dialog be shown
|
||||||
|
// This is a permanent connection so we won't bother
|
||||||
|
// storing a copy because we won't be disconnecting.
|
||||||
|
d->showTabularCreate.connect(slot(this, &FormTabularCreate::show));
|
||||||
|
}
|
||||||
|
|
||||||
|
FormTabularCreate::~FormTabularCreate()
|
||||||
|
{
|
||||||
|
delete dialog_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FormTabularCreate::apply(unsigned int rows, unsigned cols)
|
||||||
|
{
|
||||||
|
if (!lv_->view()->available())
|
||||||
|
return;
|
||||||
|
|
||||||
|
InsetTabular * in = new InsetTabular(*lv_->buffer(), rows, cols);
|
||||||
|
if (!lv_->view()->open_new_inset(in))
|
||||||
|
delete in;
|
||||||
|
}
|
||||||
|
|
||||||
|
void FormTabularCreate::show()
|
||||||
|
{
|
||||||
|
if (!dialog_)
|
||||||
|
dialog_ = new TabularCreateDialog(this, 0, _("LyX: Insert Table"));
|
||||||
|
|
||||||
|
if (!dialog_->isVisible()) {
|
||||||
|
h_ = d_->hideBufferDependent.connect(slot(this, &FormTabularCreate::hide));
|
||||||
|
}
|
||||||
|
|
||||||
|
dialog_->raise();
|
||||||
|
dialog_->setActiveWindow();
|
||||||
|
|
||||||
|
update();
|
||||||
|
dialog_->show();
|
||||||
|
}
|
||||||
|
|
||||||
|
void FormTabularCreate::close()
|
||||||
|
{
|
||||||
|
h_.disconnect();
|
||||||
|
}
|
||||||
|
|
||||||
|
void FormTabularCreate::hide()
|
||||||
|
{
|
||||||
|
dialog_->hide();
|
||||||
|
close();
|
||||||
|
}
|
60
src/frontends/kde/FormTabularCreate.h
Normal file
60
src/frontends/kde/FormTabularCreate.h
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
/* FormTabularCreate.h
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
|
*/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#ifndef FORMTABULARCREATE_H
|
||||||
|
#define FORMTABULARCREATE_H
|
||||||
|
|
||||||
|
#include "DialogBase.h"
|
||||||
|
|
||||||
|
class Dialogs;
|
||||||
|
class LyXView;
|
||||||
|
class TabularCreateDialog;
|
||||||
|
|
||||||
|
class FormTabularCreate : public DialogBase, public noncopyable {
|
||||||
|
public:
|
||||||
|
/**@name Constructors and Destructors */
|
||||||
|
//@{
|
||||||
|
///
|
||||||
|
FormTabularCreate(LyXView *, Dialogs *);
|
||||||
|
///
|
||||||
|
~FormTabularCreate();
|
||||||
|
//@}
|
||||||
|
|
||||||
|
/// create the table
|
||||||
|
void apply(unsigned int rows, unsigned int cols);
|
||||||
|
/// close the connections
|
||||||
|
void close();
|
||||||
|
|
||||||
|
private:
|
||||||
|
/// Create the dialog if necessary, update it and display it.
|
||||||
|
void show();
|
||||||
|
/// Hide the dialog.
|
||||||
|
void hide();
|
||||||
|
|
||||||
|
/// Real GUI implementation.
|
||||||
|
TabularCreateDialog * dialog_;
|
||||||
|
|
||||||
|
/// the LyXView we belong to
|
||||||
|
LyXView * lv_;
|
||||||
|
|
||||||
|
/** Which Dialogs do we belong to?
|
||||||
|
Used so we can get at the signals we have to connect to.
|
||||||
|
*/
|
||||||
|
Dialogs * d_;
|
||||||
|
|
||||||
|
/// Hide connection.
|
||||||
|
Connection h_;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -33,6 +33,8 @@ using std::pair;
|
|||||||
using std::stack;
|
using std::stack;
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
|
// FIXME: we should be able to move sections around like klyx can.
|
||||||
|
|
||||||
FormToc::FormToc(LyXView *v, Dialogs *d)
|
FormToc::FormToc(LyXView *v, Dialogs *d)
|
||||||
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
|
||||||
toclist(0), type(Buffer::TOC_TOC), depth(1)
|
toclist(0), type(Buffer::TOC_TOC), depth(1)
|
||||||
|
@ -2,45 +2,17 @@ AUTOMAKE_OPTIONS = foreign 1.4
|
|||||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||||
noinst_LTLIBRARIES = libkde.la
|
noinst_LTLIBRARIES = libkde.la
|
||||||
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||||
|
SUBDIRS = dlg moc
|
||||||
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
|
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
|
||||||
${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
|
||||||
-I${top_srcdir}/src/frontends/xforms
|
-I${top_srcdir}/src/frontends/xforms
|
||||||
|
|
||||||
# just to make sure, automake makes them
|
|
||||||
BUILTSOURCES = citationdlg_moc.C \
|
|
||||||
copyrightdlg_moc.C \
|
|
||||||
copyrightdlgdata_moc.C \
|
|
||||||
indexdlg_moc.C \
|
|
||||||
indexdlgdata_moc.C \
|
|
||||||
paradlg_moc.C \
|
|
||||||
parageneraldlg_moc.C \
|
|
||||||
parageneraldlgdata_moc.C \
|
|
||||||
paraextradlg_moc.C \
|
|
||||||
paraextradlgdata_moc.C \
|
|
||||||
printdlg_moc.C \
|
|
||||||
printdlgdata_moc.C \
|
|
||||||
refdlg_moc.C \
|
|
||||||
tocdlg_moc.C \
|
|
||||||
urldlg_moc.C
|
|
||||||
|
|
||||||
# generated by qtarch
|
|
||||||
|
|
||||||
GENSOURCES = copyrightdlgdata.C \
|
|
||||||
copyrightdlgdata.h \
|
|
||||||
indexdlgdata.C \
|
|
||||||
indexdlgdata.h \
|
|
||||||
parageneraldlgdata.C \
|
|
||||||
parageneraldlgdata.h \
|
|
||||||
paraextradlgdata.C \
|
|
||||||
paraextradlgdata.h \
|
|
||||||
printdlgdata.C \
|
|
||||||
printdlgdata.h
|
|
||||||
|
|
||||||
DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
|
DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
|
||||||
|
|
||||||
libkde_la_OBJADD = \
|
libkde_la_OBJADD = \
|
||||||
../xforms/ButtonController.lo \
|
moc/libkdemoc.la \
|
||||||
../xforms/Color.lo \
|
dlg/libkdedlg.la \
|
||||||
|
dlg/moc/libkdedlgmoc.la \
|
||||||
../xforms/FormBase.lo \
|
../xforms/FormBase.lo \
|
||||||
../xforms/FormDocument.lo \
|
../xforms/FormDocument.lo \
|
||||||
../xforms/form_document.lo \
|
../xforms/form_document.lo \
|
||||||
@ -53,17 +25,16 @@ libkde_la_OBJADD = \
|
|||||||
../xforms/form_preferences.lo \
|
../xforms/form_preferences.lo \
|
||||||
../xforms/FormTabular.lo \
|
../xforms/FormTabular.lo \
|
||||||
../xforms/form_tabular.lo \
|
../xforms/form_tabular.lo \
|
||||||
../xforms/FormTabularCreate.lo \
|
../xforms/ButtonController.lo \
|
||||||
../xforms/form_tabular_create.lo \
|
../xforms/Color.lo \
|
||||||
|
../xforms/xform_helpers.lo \
|
||||||
../xforms/input_validators.lo \
|
../xforms/input_validators.lo \
|
||||||
../xforms/RadioButtonGroup.lo \
|
../xforms/RadioButtonGroup.lo \
|
||||||
../xforms/Toolbar_pimpl.lo \
|
../xforms/Toolbar_pimpl.lo \
|
||||||
../xforms/Menubar_pimpl.lo \
|
../xforms/Menubar_pimpl.lo
|
||||||
../xforms/xform_helpers.lo
|
|
||||||
|
|
||||||
LIBS=
|
LIBS=
|
||||||
LDFLAGS= $(libkde_la_OBJADD)
|
LDFLAGS= $(libkde_la_OBJADD)
|
||||||
LYXDATADIRS = dlg
|
|
||||||
ETAGS_ARGS = --lang=c++
|
ETAGS_ARGS = --lang=c++
|
||||||
libkde_la_SOURCES = \
|
libkde_la_SOURCES = \
|
||||||
Dialogs.C \
|
Dialogs.C \
|
||||||
@ -81,6 +52,8 @@ libkde_la_SOURCES = \
|
|||||||
FormPrint.h \
|
FormPrint.h \
|
||||||
FormRef.C \
|
FormRef.C \
|
||||||
FormRef.h \
|
FormRef.h \
|
||||||
|
FormTabularCreate.C \
|
||||||
|
FormTabularCreate.h \
|
||||||
FormToc.C \
|
FormToc.C \
|
||||||
FormToc.h \
|
FormToc.h \
|
||||||
FormUrl.C \
|
FormUrl.C \
|
||||||
@ -101,98 +74,21 @@ libkde_la_SOURCES = \
|
|||||||
printdlg.h \
|
printdlg.h \
|
||||||
refdlg.C \
|
refdlg.C \
|
||||||
refdlg.h \
|
refdlg.h \
|
||||||
|
tabcreatedlg.C \
|
||||||
|
tabcreatedlg.h \
|
||||||
tocdlg.C \
|
tocdlg.C \
|
||||||
tocdlg.h \
|
tocdlg.h \
|
||||||
urldlg.C \
|
urldlg.C \
|
||||||
urldlg.h \
|
urldlg.h
|
||||||
$(GENSOURCES) \
|
|
||||||
$(BUILTSOURCES)
|
|
||||||
|
|
||||||
# These still have to be added. Sooner or later. ARRae-20000129
|
moc/citationdlg_moc.C: citationdlg.C citationdlg.h
|
||||||
# GUI_defaults.C \
|
moc/copyrightdlg_moc.C: copyrightdlg.C copyrightdlg.h
|
||||||
# GUI_initialize.C \
|
moc/indexdlg_moc.C: indexdlg.C indexdlg.h
|
||||||
# GUI_postlyxrc.C \
|
moc/paradlg_moc.C: paradlg.C paradlg.h
|
||||||
# GUI_runtime.C \
|
moc/parageneraldlg_moc.C: parageneraldlg.C parageneraldlg.h
|
||||||
# GUI_applymenu.C
|
moc/paraextradlg_moc.C: paraextradlg.C paraextradlg.h
|
||||||
|
moc/printdlg_moc.C: printdlg.C printdlg.h
|
||||||
# just copied from old lyx repository
|
moc/refdlg_moc.C: refdlg.C refdlg.h
|
||||||
dist-hook:
|
moc/tabcreatedlg_moc.C: tabcreatedlg.C tabcreatedlg.h
|
||||||
for subdir in $(LYXDATADIRS) ; do \
|
moc/tocdlg_moc.C: tocdlg.C tocdlg.h
|
||||||
test -d $(distdir)/$$subdir \
|
moc/urldlg_moc.C: urldlg.C urldlg.h
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|
||||||
|| exit 1; \
|
|
||||||
chmod 777 $(distdir)/$$subdir; \
|
|
||||||
list=`(cd $(srcdir)/$$subdir && ls -1 | grep -v CVS)`; \
|
|
||||||
echo $$list ; \
|
|
||||||
for fil in $$list ; do \
|
|
||||||
cp -p $(srcdir)/$$subdir/$$fil $(distdir)/$$subdir ; \
|
|
||||||
done ; \
|
|
||||||
done
|
|
||||||
|
|
||||||
# dialog file dependencies
|
|
||||||
|
|
||||||
copyrightdlgdata.C copyrightdlgdata.h: dlg/copyright.dlg
|
|
||||||
$(QTARCH) -g dlg/copyright.dlg
|
|
||||||
indexdlgdata.C indexdlgdata.h: dlg/index.dlg
|
|
||||||
$(QTARCH) -g dlg/index.dlg
|
|
||||||
printdlgdata.C printdlgdata.h: dlg/print.dlg
|
|
||||||
$(QTARCH) -g dlg/print.dlg
|
|
||||||
parageneraldlgdata.C parageneraldlgdata.h: dlg/parageneral.dlg
|
|
||||||
$(QTARCH) -g dlg/parageneral.dlg
|
|
||||||
paraextradlgdata.C paraextradlgdata.h: dlg/paraextra.dlg
|
|
||||||
$(QTARCH) -g dlg/paraextra.dlg
|
|
||||||
|
|
||||||
dlgdata: $(GENSOURCES)
|
|
||||||
|
|
||||||
# add a dependency for every moc file to be full portable
|
|
||||||
# I've added a key binding to emacs for this.
|
|
||||||
|
|
||||||
citationdlg.C: citationdlg_moc.C
|
|
||||||
citationdlg_moc.C: citationdlg.h
|
|
||||||
$(MOC) citationdlg.h -o citationdlg_moc.C
|
|
||||||
|
|
||||||
copyrightdlg.C: copyrightdlg_moc.C
|
|
||||||
copyrightdlg_moc.C: copyrightdlg.h
|
|
||||||
$(MOC) copyrightdlg.h -o copyrightdlg_moc.C
|
|
||||||
copyrightdlgdata_moc.C: copyrightdlgdata.h
|
|
||||||
$(MOC) copyrightdlgdata.h -o copyrightdlgdata_moc.C
|
|
||||||
|
|
||||||
indexdlg.C: indexdlg_moc.C
|
|
||||||
indexdlg_moc.C: indexdlg.h
|
|
||||||
$(MOC) indexdlg.h -o indexdlg_moc.C
|
|
||||||
indexdlgdata_moc.C: indexdlgdata.h
|
|
||||||
$(MOC) indexdlgdata.h -o indexdlgdata_moc.C
|
|
||||||
|
|
||||||
paradlg.C: paradlg_moc.C
|
|
||||||
paradlg_moc.C: paradlg.h
|
|
||||||
$(MOC) paradlg.h -o paradlg_moc.C
|
|
||||||
|
|
||||||
parageneraldlg.C: parageneraldlg_moc.C
|
|
||||||
parageneraldlg_moc.C: parageneraldlg.h
|
|
||||||
$(MOC) parageneraldlg.h -o parageneraldlg_moc.C
|
|
||||||
parageneraldlgdata_moc.C: parageneraldlgdata.h
|
|
||||||
$(MOC) parageneraldlgdata.h -o parageneraldlgdata_moc.C
|
|
||||||
|
|
||||||
paraextradlg.C: paraextradlg_moc.C
|
|
||||||
paraextradlg_moc.C: paraextradlg.h
|
|
||||||
$(MOC) paraextradlg.h -o paraextradlg_moc.C
|
|
||||||
paraextradlgdata_moc.C: paraextradlgdata.h
|
|
||||||
$(MOC) paraextradlgdata.h -o paraextradlgdata_moc.C
|
|
||||||
|
|
||||||
printdlg.C: printdlg_moc.C
|
|
||||||
printdlg_moc.C: printdlg.h
|
|
||||||
$(MOC) printdlg.h -o printdlg_moc.C
|
|
||||||
printdlgdata_moc.C: printdlgdata.h
|
|
||||||
$(MOC) printdlgdata.h -o printdlgdata_moc.C
|
|
||||||
|
|
||||||
refdlg.C: refdlg_moc.C
|
|
||||||
refdlg_moc.C: refdlg.h
|
|
||||||
$(MOC) refdlg.h -o refdlg_moc.C
|
|
||||||
|
|
||||||
tocdlg.C: tocdlg_moc.C
|
|
||||||
tocdlg_moc.C: tocdlg.h
|
|
||||||
$(MOC) tocdlg.h -o tocdlg_moc.C
|
|
||||||
|
|
||||||
urldlg.C: urldlg_moc.C
|
|
||||||
urldlg_moc.C: urldlg.h
|
|
||||||
$(MOC) urldlg.h -o urldlg_moc.C
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#ifndef CopyrightDialog_included
|
#ifndef CopyrightDialog_included
|
||||||
#define CopyrightDialog_included
|
#define CopyrightDialog_included
|
||||||
|
|
||||||
#include "copyrightdlgdata.h"
|
#include "dlg/copyrightdlgdata.h"
|
||||||
|
|
||||||
class CopyrightDialog : public CopyrightDialogData
|
class CopyrightDialog : public CopyrightDialogData
|
||||||
{
|
{
|
||||||
|
7
src/frontends/kde/dlg/.cvsignore
Normal file
7
src/frontends/kde/dlg/.cvsignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Makefile.in
|
||||||
|
Makefile
|
||||||
|
*.deps
|
||||||
|
*.lo
|
||||||
|
.libs
|
||||||
|
libkde.la
|
||||||
|
*moc.C
|
73
src/frontends/kde/dlg/Makefile.am
Normal file
73
src/frontends/kde/dlg/Makefile.am
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||||
|
noinst_LTLIBRARIES = libkdedlg.la
|
||||||
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||||
|
SUBDIRS = moc
|
||||||
|
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
|
||||||
|
${FRONTEND_INCLUDES} $(BOOST_INCLUDES)
|
||||||
|
|
||||||
|
# generated by qtarch
|
||||||
|
GENSOURCES = copyrightdlgdata.C \
|
||||||
|
copyrightdlgdata.h \
|
||||||
|
indexdlgdata.C \
|
||||||
|
indexdlgdata.h \
|
||||||
|
paradlgdata.C \
|
||||||
|
paradlgdata.h \
|
||||||
|
parageneraldlgdata.C \
|
||||||
|
parageneraldlgdata.h \
|
||||||
|
paraabovedlgdata.C \
|
||||||
|
paraabovedlgdata.h \
|
||||||
|
parabelowdlgdata.C \
|
||||||
|
parabelowdlgdata.h \
|
||||||
|
paraextradlgdata.C \
|
||||||
|
paraextradlgdata.h \
|
||||||
|
printdlgdata.C \
|
||||||
|
printdlgdata.h \
|
||||||
|
tabcreatedlgdata.C \
|
||||||
|
tabcreatedlgdata.h
|
||||||
|
|
||||||
|
DISTCLEANFILES = *.orig *.rej *~ *.bak core
|
||||||
|
|
||||||
|
LIBS=
|
||||||
|
ETAGS_ARGS = --lang=c++
|
||||||
|
libkdedlg_la_SOURCES = \
|
||||||
|
emptytable.C \
|
||||||
|
emptytable.h \
|
||||||
|
tabstack.C \
|
||||||
|
tabstack.h \
|
||||||
|
$(GENSOURCES)
|
||||||
|
|
||||||
|
# dialog file dependencies
|
||||||
|
|
||||||
|
copyrightdlgdata.C copyrightdlgdata.h: dialogs/copyright.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
indexdlgdata.C indexdlgdata.h: dialogs/index.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
printdlgdata.C printdlgdata.h: dialogs/print.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
paradlgdata.C paradlgdata.h: dialogs/para.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
parageneraldlgdata.C parageneraldlgdata.h: dialogs/parageneral.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
paraabovedlgdata.C paraabovedlgdata.h: dialogs/paraabove.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
parabelowdlgdata.C parabelowdlgdata.h: dialogs/parabelow.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
paraextradlgdata.C paraextradlgdata.h: dialogs/paraextra.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
tabcreatedlgdata.C tabcreatedlgdata.h: dialogs/tabcreate.dlg
|
||||||
|
$(QTARCH) -g $<
|
||||||
|
|
||||||
|
dlgdata: $(GENSOURCES)
|
||||||
|
|
||||||
|
moc/copyrightdlgdata_moc.C: copyrightdlgdata.C copyrightdlgdata.h
|
||||||
|
moc/emptytable_moc.C: emptytable.C emptytable.h
|
||||||
|
moc/indexdlgdata_moc.C: indexdlgdata.C indexdlgdata.h
|
||||||
|
moc/paradlgdata_moc.C: paradlgdata.C paradlgdata.h
|
||||||
|
moc/parageneraldlgdata_moc.C: parageneraldlgdata.C parageneraldlgdata.h
|
||||||
|
moc/paraabovedlgdata_moc.C: paraabovedlgdata.C paraabovedlgdata.h
|
||||||
|
moc/parabelowdlgdata_moc.C: parabelowdlgdata.C parabelowdlgdata.h
|
||||||
|
moc/paraextradlgdata_moc.C: paraextradlgdata.C paraextradlgdata.h
|
||||||
|
moc/printdlgdata_moc.C: printdlgdata.C printdlgdata.h
|
||||||
|
moc/tabcreatedlgdata_moc.C: tabcreatedlgdata.C tabcreatedlgdata.h
|
||||||
|
moc/tabstack_moc.C: tabstack.C tabstack.h
|
@ -1,10 +1,12 @@
|
|||||||
These files are generated with qtarch-1.4-5 which can be downloaded
|
These files are generated with qtarch-1.4-6 which can be downloaded
|
||||||
from
|
from
|
||||||
|
|
||||||
http://qtarch.sourceforge.net/
|
http://qtarch.sourceforge.net/
|
||||||
|
|
||||||
FIXME. Note this is *not* the latest version, as they only
|
Currently you also need this patch :
|
||||||
support Qt 2.0.
|
http://www.movement.uklinux.net/patches/lyx/qtarch-1.4.6.diff
|
||||||
|
|
||||||
|
Note this is *not* the latest version, as they only support Qt 2.0.
|
||||||
|
|
||||||
You should compile in the KDE module when you compile qtarch-1.4.
|
You should compile in the KDE module when you compile qtarch-1.4.
|
||||||
For me this was just a case of a make in the module/kde/ directory,
|
For me this was just a case of a make in the module/kde/ directory,
|
||||||
|
28
src/frontends/kde/dlg/copyrightdlg.C
Normal file
28
src/frontends/kde/dlg/copyrightdlg.C
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: copyrightdlg.C
|
||||||
|
Last generated: Mon Dec 4 13:48:10 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include "copyrightdlg.h"
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#define Inherited CopyrightDialogData
|
||||||
|
|
||||||
|
CopyrightDialog::CopyrightDialog
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
CopyrightDialog::~CopyrightDialog()
|
||||||
|
{
|
||||||
|
}
|
30
src/frontends/kde/dlg/copyrightdlg.h
Normal file
30
src/frontends/kde/dlg/copyrightdlg.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: copyrightdlg.h
|
||||||
|
Last generated: Mon Dec 4 13:48:10 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef CopyrightDialog_included
|
||||||
|
#define CopyrightDialog_included
|
||||||
|
|
||||||
|
#include "copyrightdlgdata.h"
|
||||||
|
|
||||||
|
class CopyrightDialog : public CopyrightDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
CopyrightDialog
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~CopyrightDialog();
|
||||||
|
|
||||||
|
};
|
||||||
|
#endif // CopyrightDialog_included
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: copyrightdlgdata.C
|
File: copyrightdlgdata.C
|
||||||
Last generated: Tue Oct 24 13:38:02 2000
|
Last generated: Mon Dec 4 13:48:10 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -38,12 +38,12 @@ CopyrightDialogData::CopyrightDialogData
|
|||||||
buttonOk->setFontPropagation( QWidget::NoChildren );
|
buttonOk->setFontPropagation( QWidget::NoChildren );
|
||||||
buttonOk->setPalettePropagation( QWidget::NoChildren );
|
buttonOk->setPalettePropagation( QWidget::NoChildren );
|
||||||
buttonOk->setText( _("&OK") );
|
buttonOk->setText( _("&OK") );
|
||||||
buttonOk->setAutoRepeat( FALSE );
|
buttonOk->setAutoRepeat( false );
|
||||||
buttonOk->setAutoResize( FALSE );
|
buttonOk->setAutoResize( false );
|
||||||
buttonOk->setToggleButton( FALSE );
|
buttonOk->setToggleButton( false );
|
||||||
buttonOk->setDefault( FALSE );
|
buttonOk->setDefault( false );
|
||||||
buttonOk->setAutoDefault( TRUE );
|
buttonOk->setAutoDefault( true );
|
||||||
buttonOk->setIsMenuButton( FALSE );
|
buttonOk->setIsMenuButton( false );
|
||||||
|
|
||||||
QLabel* qtarch_Label_2;
|
QLabel* qtarch_Label_2;
|
||||||
qtarch_Label_2 = new QLabel( this, "Label_2" );
|
qtarch_Label_2 = new QLabel( this, "Label_2" );
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: copyrightdlgdata.h
|
File: copyrightdlgdata.h
|
||||||
Last generated: Tue Oct 24 13:38:02 2000
|
Last generated: Mon Dec 4 13:48:10 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -37,7 +37,7 @@ protected slots:
|
|||||||
|
|
||||||
virtual void clickedOK();
|
virtual void clickedOK();
|
||||||
|
|
||||||
protected:
|
public:
|
||||||
QPushButton* buttonOk;
|
QPushButton* buttonOk;
|
||||||
|
|
||||||
};
|
};
|
@ -7,7 +7,7 @@ Dialog {
|
|||||||
DataSource {copyrightdlgdata.C}
|
DataSource {copyrightdlgdata.C}
|
||||||
DataName {CopyrightDialogData}
|
DataName {CopyrightDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QWidget}
|
||||||
UseGetText {TRUE}
|
UseGetText {true}
|
||||||
WindowFlags {53248}
|
WindowFlags {53248}
|
||||||
}
|
}
|
||||||
WidgetLayout {
|
WidgetLayout {
|
||||||
@ -18,13 +18,13 @@ MaxSize {32767 65}
|
|||||||
Grid {5}
|
Grid {5}
|
||||||
|
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {FALSE}
|
ToggleButton {false}
|
||||||
Default {FALSE}
|
Default {false}
|
||||||
AutoDefault {TRUE}
|
AutoDefault {true}
|
||||||
IsMenuButton {FALSE}
|
IsMenuButton {false}
|
||||||
Text {&OK}
|
Text {&OK}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {157 343 151 107}
|
Rect {157 343 151 107}
|
||||||
Name {PushButton_OK}
|
Name {PushButton_OK}
|
||||||
Variable {buttonOk}
|
Variable {buttonOk}
|
||||||
@ -32,15 +32,15 @@ PushButton {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -49,7 +49,7 @@ PushButton {
|
|||||||
Label {
|
Label {
|
||||||
Text {LyX is Copyright (C) 1995 by Matthias Ettrich, \n1995-2000 LyX Team}
|
Text {LyX is Copyright (C) 1995 by Matthias Ettrich, \n1995-2000 LyX Team}
|
||||||
Alignment {1316}
|
Alignment {1316}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {50}
|
Style {50}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -60,15 +60,15 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -77,7 +77,7 @@ Label {
|
|||||||
Label {
|
Label {
|
||||||
Text {This program is free software; you can redistribute it\nand/or modify it under the terms of the GNU General\nPublic License as published by the Free Software\nFoundation; either version 2 of the License, or\n(at your option) any later version.}
|
Text {This program is free software; you can redistribute it\nand/or modify it under the terms of the GNU General\nPublic License as published by the Free Software\nFoundation; either version 2 of the License, or\n(at your option) any later version.}
|
||||||
Alignment {1316}
|
Alignment {1316}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {50}
|
Style {50}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -88,15 +88,15 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -105,7 +105,7 @@ Label {
|
|||||||
Label {
|
Label {
|
||||||
Text {LyX is distributed in the hope that it will\nbe useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY\nor FITNESS FOR A PARTICULAR PURPOSE.\nSee the GNU General Public License for more details.\nYou should have received a copy of\nthe GNU General Public License\nalong with this program; if not, write to\nthe Free Software Foundation, Inc., \n675 Mass Ave, Cambridge, MA 02139, USA.}
|
Text {LyX is distributed in the hope that it will\nbe useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY\nor FITNESS FOR A PARTICULAR PURPOSE.\nSee the GNU General Public License for more details.\nYou should have received a copy of\nthe GNU General Public License\nalong with this program; if not, write to\nthe Free Software Foundation, Inc., \n675 Mass Ave, Cambridge, MA 02139, USA.}
|
||||||
Alignment {1316}
|
Alignment {1316}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {50}
|
Style {50}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -116,15 +116,15 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
@ -7,7 +7,7 @@ Dialog {
|
|||||||
DataSource {indexdlgdata.C}
|
DataSource {indexdlgdata.C}
|
||||||
DataName {IndexDialogData}
|
DataName {IndexDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QWidget}
|
||||||
UseGetText {TRUE}
|
UseGetText {true}
|
||||||
WindowFlags {53248}
|
WindowFlags {53248}
|
||||||
}
|
}
|
||||||
WidgetLayout {
|
WidgetLayout {
|
||||||
@ -20,7 +20,7 @@ Grid {5}
|
|||||||
Label {
|
Label {
|
||||||
Text {Keyword:}
|
Text {Keyword:}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {0}
|
Style {0}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -32,15 +32,15 @@ Label {
|
|||||||
MinimumSize {60 25}
|
MinimumSize {60 25}
|
||||||
MaximumSize {60 25}
|
MaximumSize {60 25}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -50,35 +50,35 @@ LineEdit {
|
|||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {TRUE}
|
FrameShown {true}
|
||||||
Rect {70 15 175 25}
|
Rect {70 15 175 25}
|
||||||
Name {LineEdit_1}
|
Name {LineEdit_1}
|
||||||
Variable {index}
|
Variable {index}
|
||||||
MinimumSize {125 25}
|
MinimumSize {125 25}
|
||||||
MaximumSize {32767 25}
|
MaximumSize {32767 25}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBase}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {FALSE}
|
ToggleButton {false}
|
||||||
Default {FALSE}
|
Default {false}
|
||||||
AutoDefault {TRUE}
|
AutoDefault {true}
|
||||||
IsMenuButton {FALSE}
|
IsMenuButton {false}
|
||||||
Text {&OK}
|
Text {&OK}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {24 65 80 25}
|
Rect {24 65 80 25}
|
||||||
Name {PushButton_OK}
|
Name {PushButton_OK}
|
||||||
Variable {buttonOk}
|
Variable {buttonOk}
|
||||||
@ -86,28 +86,28 @@ PushButton {
|
|||||||
MinimumSize {80 25}
|
MinimumSize {80 25}
|
||||||
MaximumSize {80 25}
|
MaximumSize {80 25}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {FALSE}
|
ToggleButton {false}
|
||||||
Default {FALSE}
|
Default {false}
|
||||||
AutoDefault {FALSE}
|
AutoDefault {false}
|
||||||
IsMenuButton {FALSE}
|
IsMenuButton {false}
|
||||||
Text {&Cancel}
|
Text {&Cancel}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {146 65 80 25}
|
Rect {146 65 80 25}
|
||||||
Name {PushButton_Cancel}
|
Name {PushButton_Cancel}
|
||||||
Variable {buttonCancel}
|
Variable {buttonCancel}
|
||||||
@ -115,15 +115,15 @@ PushButton {
|
|||||||
MinimumSize {80 25}
|
MinimumSize {80 25}
|
||||||
MaximumSize {80 25}
|
MaximumSize {80 25}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
224
src/frontends/kde/dlg/dialogs/para.dlg
Normal file
224
src/frontends/kde/dlg/dialogs/para.dlg
Normal file
@ -0,0 +1,224 @@
|
|||||||
|
DlgEdit:v1.2:Dialog:
|
||||||
|
Dialog {
|
||||||
|
ClassHeader {paradlg.h}
|
||||||
|
ClassSource {paradlg.C}
|
||||||
|
ClassName {ParaDialog}
|
||||||
|
DataHeader {paradlgdata.h}
|
||||||
|
DataSource {paradlgdata.C}
|
||||||
|
DataName {ParaDialogData}
|
||||||
|
WindowBaseClass {QWidget}
|
||||||
|
UseGetText {true}
|
||||||
|
WindowFlags {0}
|
||||||
|
}
|
||||||
|
WidgetLayout {
|
||||||
|
InitialPos {-1 -1}
|
||||||
|
Size {640 615}
|
||||||
|
MinSize {0 0}
|
||||||
|
MaxSize {32767 32767}
|
||||||
|
Grid {5}
|
||||||
|
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {true}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {OK}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {73 555 69 55}
|
||||||
|
Name {OK}
|
||||||
|
Variable {ok}
|
||||||
|
Signal {[Protected] clicked --> ok_adaptor ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {tabstack.h}
|
||||||
|
UserClassName {TabStack}
|
||||||
|
Rect {5 5 630 545}
|
||||||
|
Name {User_1}
|
||||||
|
Variable {tabstack}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {false}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {Apply}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {215 555 68 55}
|
||||||
|
Name {apply}
|
||||||
|
Variable {apply}
|
||||||
|
Signal {[Protected] clicked --> apply_adaptor ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {false}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {Restore}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {357 555 68 55}
|
||||||
|
Name {restore}
|
||||||
|
Variable {restore}
|
||||||
|
Signal {[Protected] clicked --> restore_adaptor ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {false}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {Cancel}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {498 555 69 55}
|
||||||
|
Name {Cancel}
|
||||||
|
Variable {cancel}
|
||||||
|
Signal {[Protected] clicked --> cancel_adaptor ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
|
||||||
|
Box_Layout-1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Layout-1.1{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {10}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1{
|
||||||
|
Widget {User_1}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Layout-1.2{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.1{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.2{
|
||||||
|
Widget {OK}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.3{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.4{
|
||||||
|
Widget {apply}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.5{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.6{
|
||||||
|
Widget {restore}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.7{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.8{
|
||||||
|
Widget {Cancel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.2.9{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
}
|
472
src/frontends/kde/dlg/dialogs/paraabove.dlg
Normal file
472
src/frontends/kde/dlg/dialogs/paraabove.dlg
Normal file
@ -0,0 +1,472 @@
|
|||||||
|
DlgEdit:v1.2:Dialog:
|
||||||
|
Dialog {
|
||||||
|
ClassHeader {}
|
||||||
|
ClassSource {}
|
||||||
|
ClassName {}
|
||||||
|
DataHeader {paraabovedlgdata.h}
|
||||||
|
DataSource {paraabovedlgdata.C}
|
||||||
|
DataName {ParaAboveDialogData}
|
||||||
|
WindowBaseClass {QWidget}
|
||||||
|
UseGetText {true}
|
||||||
|
WindowFlags {0}
|
||||||
|
}
|
||||||
|
WidgetLayout {
|
||||||
|
InitialPos {-1 -1}
|
||||||
|
Size {315 290}
|
||||||
|
MinSize {0 0}
|
||||||
|
MaxSize {32767 32767}
|
||||||
|
Grid {5}
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Page break}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 5 305 73}
|
||||||
|
Name {pagebreakabove}
|
||||||
|
Variable {pagebreakabove}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Keep space when at top of page}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 83 305 73}
|
||||||
|
Name {keepabove}
|
||||||
|
Variable {keepabove}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Extra Space}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 161 100 36}
|
||||||
|
Name {abovelabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {110 161 200 36}
|
||||||
|
Name {spaceabove}
|
||||||
|
Variable {spaceabove}
|
||||||
|
Signal {[Protected] highlighted --> spaceaboveHighlighted (int)}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Value}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 202 58 24}
|
||||||
|
Name {ValueLabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Plus}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 231 58 25}
|
||||||
|
Name {Label_14}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Minus}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 261 58 24}
|
||||||
|
Name {aboveminuslabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
KDE::KRestrictedLine {
|
||||||
|
ValidChars {0123456789.,}
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {8}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {68 202 3 24}
|
||||||
|
Name {spaceabovevalue}
|
||||||
|
Variable {spaceabovevalue}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
KDE::KRestrictedLine {
|
||||||
|
ValidChars {0123456789.,}
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {8}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {68 231 3 25}
|
||||||
|
Name {spaceaboveplus}
|
||||||
|
Variable {spaceaboveplus}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
KDE::KRestrictedLine {
|
||||||
|
ValidChars {0123456789.,}
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {8}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {68 261 3 24}
|
||||||
|
Name {spaceaboveminus}
|
||||||
|
Variable {spaceaboveminus}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {76 202 234 24}
|
||||||
|
Name {spaceabovevalueunits}
|
||||||
|
Variable {spaceabovevalueunits}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {76 231 234 25}
|
||||||
|
Name {spaceaboveplusunits}
|
||||||
|
Variable {spaceaboveplusunits}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {76 261 234 24}
|
||||||
|
Name {spaceaboveminusunits}
|
||||||
|
Variable {spaceaboveminusunits}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
|
||||||
|
Box_Layout-1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1{
|
||||||
|
Widget {pagebreakabove}
|
||||||
|
BoxStretch {2}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2{
|
||||||
|
Widget {keepabove}
|
||||||
|
BoxStretch {2}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Box_Layout-1.3{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1{
|
||||||
|
Widget {abovelabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.2{
|
||||||
|
Widget {spaceabove}
|
||||||
|
BoxStretch {2}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Layout-1.4{
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
ColumnInfo {1 1}
|
||||||
|
ColumnInfo {3 0}
|
||||||
|
ColumnInfo {5 4}
|
||||||
|
BoxStretch {2}
|
||||||
|
}
|
||||||
|
Grid_Row-1.4.1{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.1.1{
|
||||||
|
Widget {ValueLabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.1.2{
|
||||||
|
Widget {spaceabovevalue}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.1.3{
|
||||||
|
Widget {spaceabovevalueunits}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Row-1.4.2{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.2.1{
|
||||||
|
Widget {Label_14}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.2.2{
|
||||||
|
Widget {spaceaboveplus}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.2.3{
|
||||||
|
Widget {spaceaboveplusunits}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Row-1.4.3{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.3.1{
|
||||||
|
Widget {aboveminuslabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.3.2{
|
||||||
|
Widget {spaceaboveminus}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.3.3{
|
||||||
|
Widget {spaceaboveminusunits}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
}
|
472
src/frontends/kde/dlg/dialogs/parabelow.dlg
Normal file
472
src/frontends/kde/dlg/dialogs/parabelow.dlg
Normal file
@ -0,0 +1,472 @@
|
|||||||
|
DlgEdit:v1.2:Dialog:
|
||||||
|
Dialog {
|
||||||
|
ClassHeader {}
|
||||||
|
ClassSource {}
|
||||||
|
ClassName {}
|
||||||
|
DataHeader {parabelowdlgdata.h}
|
||||||
|
DataSource {parabelowdlgdata.C}
|
||||||
|
DataName {ParaBelowDialogData}
|
||||||
|
WindowBaseClass {QWidget}
|
||||||
|
UseGetText {true}
|
||||||
|
WindowFlags {0}
|
||||||
|
}
|
||||||
|
WidgetLayout {
|
||||||
|
InitialPos {-1 -1}
|
||||||
|
Size {315 290}
|
||||||
|
MinSize {0 0}
|
||||||
|
MaxSize {32767 32767}
|
||||||
|
Grid {5}
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Page break}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 5 305 73}
|
||||||
|
Name {pagebreakbelow}
|
||||||
|
Variable {pagebreakbelow}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Keep space when at bottom of page}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 83 305 73}
|
||||||
|
Name {keepbelow}
|
||||||
|
Variable {keepbelow}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Extra Space}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 161 100 36}
|
||||||
|
Name {belowlabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {110 161 200 36}
|
||||||
|
Name {spacebelow}
|
||||||
|
Variable {spacebelow}
|
||||||
|
Signal {[Protected] highlighted --> spacebelowHighlighted (int)}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Value}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 202 58 24}
|
||||||
|
Name {ValueLabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Plus}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 231 58 25}
|
||||||
|
Name {Label_14}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Minus}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 261 58 24}
|
||||||
|
Name {belowminuslabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
KDE::KRestrictedLine {
|
||||||
|
ValidChars {0123456789.,}
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {8}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {68 202 3 24}
|
||||||
|
Name {spacebelowvalue}
|
||||||
|
Variable {spacebelowvalue}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
KDE::KRestrictedLine {
|
||||||
|
ValidChars {0123456789.,}
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {8}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {68 231 3 25}
|
||||||
|
Name {spacebelowplus}
|
||||||
|
Variable {spacebelowplus}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
KDE::KRestrictedLine {
|
||||||
|
ValidChars {0123456789.,}
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {8}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {68 261 3 24}
|
||||||
|
Name {spacebelowminus}
|
||||||
|
Variable {spacebelowminus}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {76 202 234 24}
|
||||||
|
Name {spacebelowvalueunits}
|
||||||
|
Variable {spacebelowvalueunits}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {76 231 234 25}
|
||||||
|
Name {spacebelowplusunits}
|
||||||
|
Variable {spacebelowplusunits}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
ComboBox {
|
||||||
|
Style {ReadOnly}
|
||||||
|
SizeLimit {10}
|
||||||
|
Policy {AtBottom}
|
||||||
|
AutoResize {false}
|
||||||
|
MaxCount {2147483647}
|
||||||
|
AutoCompletion {false}
|
||||||
|
Rect {76 261 234 24}
|
||||||
|
Name {spacebelowminusunits}
|
||||||
|
Variable {spacebelowminusunits}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {AllChildren}
|
||||||
|
PalettePropagation {AllChildren}
|
||||||
|
}
|
||||||
|
|
||||||
|
Box_Layout-1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1{
|
||||||
|
Widget {pagebreakbelow}
|
||||||
|
BoxStretch {2}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2{
|
||||||
|
Widget {keepbelow}
|
||||||
|
BoxStretch {2}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Box_Layout-1.3{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.1{
|
||||||
|
Widget {belowlabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.2{
|
||||||
|
Widget {spacebelow}
|
||||||
|
BoxStretch {2}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Layout-1.4{
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
ColumnInfo {1 1}
|
||||||
|
ColumnInfo {3 0}
|
||||||
|
ColumnInfo {5 4}
|
||||||
|
BoxStretch {2}
|
||||||
|
}
|
||||||
|
Grid_Row-1.4.1{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.1.1{
|
||||||
|
Widget {ValueLabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.1.2{
|
||||||
|
Widget {spacebelowvalue}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.1.3{
|
||||||
|
Widget {spacebelowvalueunits}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Row-1.4.2{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.2.1{
|
||||||
|
Widget {Label_14}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.2.2{
|
||||||
|
Widget {spacebelowplus}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.2.3{
|
||||||
|
Widget {spacebelowplusunits}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Grid_Row-1.4.3{
|
||||||
|
Stretch {1}
|
||||||
|
Spacing {0}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.3.1{
|
||||||
|
Widget {belowminuslabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.3.2{
|
||||||
|
Widget {spacebelowminus}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.4.3.3{
|
||||||
|
Widget {spacebelowminusunits}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
}
|
@ -7,7 +7,7 @@ Dialog {
|
|||||||
DataSource {paraextradlgdata.C}
|
DataSource {paraextradlgdata.C}
|
||||||
DataName {ParaExtraDialogData}
|
DataName {ParaExtraDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QWidget}
|
||||||
UseGetText {TRUE}
|
UseGetText {true}
|
||||||
WindowFlags {0}
|
WindowFlags {0}
|
||||||
}
|
}
|
||||||
WidgetLayout {
|
WidgetLayout {
|
||||||
@ -18,7 +18,7 @@ MaxSize {32767 32767}
|
|||||||
Grid {5}
|
Grid {5}
|
||||||
|
|
||||||
ButtonGroup {
|
ButtonGroup {
|
||||||
Exclusive {TRUE}
|
Exclusive {true}
|
||||||
Title {Alignment}
|
Title {Alignment}
|
||||||
Alignment {Left}
|
Alignment {Left}
|
||||||
Style {49}
|
Style {49}
|
||||||
@ -31,15 +31,15 @@ ButtonGroup {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {FALSE}
|
minWidthSizeHint {false}
|
||||||
minHeightSizeHint {FALSE}
|
minHeightSizeHint {false}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -49,9 +49,9 @@ ComboBox {
|
|||||||
Style {ReadOnly}
|
Style {ReadOnly}
|
||||||
SizeLimit {10}
|
SizeLimit {10}
|
||||||
Policy {AtBottom}
|
Policy {AtBottom}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
MaxCount {2147483647}
|
MaxCount {2147483647}
|
||||||
AutoCompletion {FALSE}
|
AutoCompletion {false}
|
||||||
Rect {5 65 265 54}
|
Rect {5 65 265 54}
|
||||||
Name {type}
|
Name {type}
|
||||||
Variable {type}
|
Variable {type}
|
||||||
@ -59,15 +59,15 @@ ComboBox {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {AllChildren}
|
FontPropagation {AllChildren}
|
||||||
@ -76,7 +76,7 @@ ComboBox {
|
|||||||
Label {
|
Label {
|
||||||
Text {Type}
|
Text {Type}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {0}
|
Style {0}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -87,15 +87,15 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -104,7 +104,7 @@ Label {
|
|||||||
Label {
|
Label {
|
||||||
Text {Width}
|
Text {Width}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {0}
|
Style {0}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -115,15 +115,15 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -133,149 +133,149 @@ ComboBox {
|
|||||||
Style {ReadOnly}
|
Style {ReadOnly}
|
||||||
SizeLimit {10}
|
SizeLimit {10}
|
||||||
Policy {AtBottom}
|
Policy {AtBottom}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
MaxCount {2147483647}
|
MaxCount {2147483647}
|
||||||
AutoCompletion {FALSE}
|
AutoCompletion {false}
|
||||||
Rect {367 65 173 54}
|
Rect {367 65 173 54}
|
||||||
Name {widthvalueunits}
|
Name {widthvalueunits}
|
||||||
Variable {widthvalueunits}
|
Variable {widthvalueunits}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {AllChildren}
|
FontPropagation {AllChildren}
|
||||||
PalettePropagation {AllChildren}
|
PalettePropagation {AllChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&HFill between minipage paragraphs}
|
Text {&HFill between minipage paragraphs}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {275 189 265 65}
|
Rect {275 189 265 65}
|
||||||
Name {hfillbetween}
|
Name {hfillbetween}
|
||||||
Variable {hfillbetween}
|
Variable {hfillbetween}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Start new minipage}
|
Text {&Start new minipage}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {275 325 265 65}
|
Rect {275 325 265 65}
|
||||||
Name {startnewminipage}
|
Name {startnewminipage}
|
||||||
Variable {startnewminipage}
|
Variable {startnewminipage}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Top}
|
Text {&Top}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {10 173 255 45}
|
Rect {10 173 255 45}
|
||||||
Name {top}
|
Name {top}
|
||||||
Variable {top}
|
Variable {top}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Middle}
|
Text {&Middle}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {10 267 255 45}
|
Rect {10 267 255 45}
|
||||||
Name {middle}
|
Name {middle}
|
||||||
Variable {middle}
|
Variable {middle}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Bottom}
|
Text {&Bottom}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {10 361 255 45}
|
Rect {10 361 255 45}
|
||||||
Name {bottom}
|
Name {bottom}
|
||||||
Variable {bottom}
|
Variable {bottom}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -286,22 +286,22 @@ KDE::KRestrictedLine {
|
|||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {TRUE}
|
FrameShown {true}
|
||||||
Rect {275 65 87 54}
|
Rect {275 65 87 54}
|
||||||
Name {widthvalue}
|
Name {widthvalue}
|
||||||
Variable {widthvalue}
|
Variable {widthvalue}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBase}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
421
src/frontends/kde/dlg/dialogs/parageneral.dlg
Normal file
421
src/frontends/kde/dlg/dialogs/parageneral.dlg
Normal file
@ -0,0 +1,421 @@
|
|||||||
|
DlgEdit:v1.2:Dialog:
|
||||||
|
Dialog {
|
||||||
|
ClassHeader {parageneraldlg.h}
|
||||||
|
ClassSource {parageneraldlg.C}
|
||||||
|
ClassName {ParaGeneralDialog}
|
||||||
|
DataHeader {parageneraldlgdata.h}
|
||||||
|
DataSource {parageneraldlgdata.C}
|
||||||
|
DataName {ParaGeneralDialogData}
|
||||||
|
WindowBaseClass {QWidget}
|
||||||
|
UseGetText {true}
|
||||||
|
WindowFlags {0}
|
||||||
|
}
|
||||||
|
WidgetLayout {
|
||||||
|
InitialPos {-1 -1}
|
||||||
|
Size {750 550}
|
||||||
|
MinSize {0 0}
|
||||||
|
MaxSize {32767 32767}
|
||||||
|
Grid {5}
|
||||||
|
|
||||||
|
ButtonGroup {
|
||||||
|
Exclusive {true}
|
||||||
|
Title {Alignment}
|
||||||
|
Alignment {Left}
|
||||||
|
Style {49}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {5 5 123 375}
|
||||||
|
Name {alignment}
|
||||||
|
Variable {alignment}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Draw line above paragraph}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 385 365 50}
|
||||||
|
Name {lineabove}
|
||||||
|
Variable {lineabove}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Draw line below paragraph}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 440 365 50}
|
||||||
|
Name {linebelow}
|
||||||
|
Variable {linebelow}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
Checked {false}
|
||||||
|
Text {Don't indent paragraph}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {5 495 365 50}
|
||||||
|
Name {noindent}
|
||||||
|
Variable {noindent}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
RadioButton {
|
||||||
|
Checked {false}
|
||||||
|
Text {Block}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {10 62 113 37}
|
||||||
|
Name {block}
|
||||||
|
Variable {block}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
RadioButton {
|
||||||
|
Checked {false}
|
||||||
|
Text {Center}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {10 142 113 37}
|
||||||
|
Name {center}
|
||||||
|
Variable {center}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
RadioButton {
|
||||||
|
Checked {false}
|
||||||
|
Text {Left}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {10 221 113 37}
|
||||||
|
Name {left}
|
||||||
|
Variable {left}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
RadioButton {
|
||||||
|
Checked {false}
|
||||||
|
Text {Right}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {10 301 113 37}
|
||||||
|
Name {right}
|
||||||
|
Variable {right}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Label width}
|
||||||
|
Alignment {289}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {375 385 183 160}
|
||||||
|
Name {labelwidthlabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
LineEdit {
|
||||||
|
Text {}
|
||||||
|
EchoMode {Normal}
|
||||||
|
MaxLength {32767}
|
||||||
|
FrameShown {true}
|
||||||
|
Rect {563 385 182 160}
|
||||||
|
Name {labelwidth}
|
||||||
|
Variable {labelwidth}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBase}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {tabstack.h}
|
||||||
|
UserClassName {TabStack}
|
||||||
|
Rect {133 5 612 375}
|
||||||
|
Name {spacetab}
|
||||||
|
Variable {spacetab}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
|
||||||
|
Box_Layout-1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Layout-1.1{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {5}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1{
|
||||||
|
Widget {alignment}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {33}
|
||||||
|
}
|
||||||
|
Box_Layout-1.1.1.1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Spacing-1.1.1.1.1{
|
||||||
|
Spacing {15}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.1.1.2{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.3{
|
||||||
|
Widget {block}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.1.1.4{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.5{
|
||||||
|
Widget {center}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.1.1.6{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.7{
|
||||||
|
Widget {left}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.1.1.8{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.1.1.9{
|
||||||
|
Widget {right}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.1.1.10{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.2{
|
||||||
|
Widget {spacetab}
|
||||||
|
BoxStretch {5}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Layout-1.2{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {2}
|
||||||
|
}
|
||||||
|
Box_Layout-1.2.1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.1.1{
|
||||||
|
Widget {lineabove}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.1.2{
|
||||||
|
Widget {linebelow}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.1.3{
|
||||||
|
Widget {noindent}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {1}
|
||||||
|
}
|
||||||
|
Box_Layout-1.2.2{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.2.1{
|
||||||
|
Widget {labelwidthlabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2.2.2{
|
||||||
|
Widget {labelwidth}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
}
|
@ -7,7 +7,7 @@ Dialog {
|
|||||||
DataSource {printdlgdata.C}
|
DataSource {printdlgdata.C}
|
||||||
DataName {PrintDialogData}
|
DataName {PrintDialogData}
|
||||||
WindowBaseClass {QWidget}
|
WindowBaseClass {QWidget}
|
||||||
UseGetText {TRUE}
|
UseGetText {true}
|
||||||
WindowFlags {0}
|
WindowFlags {0}
|
||||||
}
|
}
|
||||||
WidgetLayout {
|
WidgetLayout {
|
||||||
@ -30,22 +30,22 @@ GroupBox {
|
|||||||
MinimumSize {15 47}
|
MinimumSize {15 47}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {FALSE}
|
minWidthSizeHint {false}
|
||||||
minHeightSizeHint {FALSE}
|
minHeightSizeHint {false}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
ButtonGroup {
|
ButtonGroup {
|
||||||
Exclusive {TRUE}
|
Exclusive {true}
|
||||||
Title {}
|
Title {}
|
||||||
Alignment {Left}
|
Alignment {Left}
|
||||||
Style {0}
|
Style {0}
|
||||||
@ -58,15 +58,15 @@ ButtonGroup {
|
|||||||
MinimumSize {10 20}
|
MinimumSize {10 20}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {FALSE}
|
minWidthSizeHint {false}
|
||||||
minHeightSizeHint {FALSE}
|
minHeightSizeHint {false}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -85,15 +85,15 @@ GroupBox {
|
|||||||
MinimumSize {30 10}
|
MinimumSize {30 10}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {FALSE}
|
minWidthSizeHint {false}
|
||||||
minHeightSizeHint {FALSE}
|
minHeightSizeHint {false}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -112,22 +112,22 @@ GroupBox {
|
|||||||
MinimumSize {25 30}
|
MinimumSize {25 30}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {FALSE}
|
minWidthSizeHint {false}
|
||||||
minHeightSizeHint {FALSE}
|
minHeightSizeHint {false}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
ButtonGroup {
|
ButtonGroup {
|
||||||
Exclusive {TRUE}
|
Exclusive {true}
|
||||||
Title {}
|
Title {}
|
||||||
Alignment {Left}
|
Alignment {Left}
|
||||||
Style {0}
|
Style {0}
|
||||||
@ -140,28 +140,28 @@ ButtonGroup {
|
|||||||
MinimumSize {10 15}
|
MinimumSize {10 15}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {FALSE}
|
minWidthSizeHint {false}
|
||||||
minHeightSizeHint {FALSE}
|
minHeightSizeHint {false}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {FALSE}
|
maxHeightSizeHint {false}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {FALSE}
|
ToggleButton {false}
|
||||||
Default {FALSE}
|
Default {false}
|
||||||
AutoDefault {FALSE}
|
AutoDefault {false}
|
||||||
IsMenuButton {FALSE}
|
IsMenuButton {false}
|
||||||
Text {&Print}
|
Text {&Print}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {86 280 81 45}
|
Rect {86 280 81 45}
|
||||||
Name {print}
|
Name {print}
|
||||||
Variable {print}
|
Variable {print}
|
||||||
@ -169,28 +169,28 @@ PushButton {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {FALSE}
|
ToggleButton {false}
|
||||||
Default {FALSE}
|
Default {false}
|
||||||
AutoDefault {FALSE}
|
AutoDefault {false}
|
||||||
IsMenuButton {FALSE}
|
IsMenuButton {false}
|
||||||
Text {&Cancel}
|
Text {&Cancel}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {333 280 81 45}
|
Rect {333 280 81 45}
|
||||||
Name {cancel}
|
Name {cancel}
|
||||||
Variable {cancel}
|
Variable {cancel}
|
||||||
@ -198,65 +198,65 @@ PushButton {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&All pages}
|
Text {&All pages}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {15 42 142 34}
|
Rect {15 42 142 34}
|
||||||
Name {allpages}
|
Name {allpages}
|
||||||
Variable {allpages}
|
Variable {allpages}
|
||||||
MinimumSize {80 20}
|
MinimumSize {80 20}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Even pages}
|
Text {&Even pages}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {15 130 142 14}
|
Rect {15 130 142 14}
|
||||||
Name {evenpages}
|
Name {evenpages}
|
||||||
Variable {evenpages}
|
Variable {evenpages}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -266,22 +266,22 @@ KDE::KIntLineEdit {
|
|||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {TRUE}
|
FrameShown {true}
|
||||||
Rect {113 169 49 30}
|
Rect {113 169 49 30}
|
||||||
Name {from}
|
Name {from}
|
||||||
Variable {from}
|
Variable {from}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBase}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -290,7 +290,7 @@ KDE::KIntLineEdit {
|
|||||||
Label {
|
Label {
|
||||||
Text {From}
|
Text {From}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {0}
|
Style {0}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -302,15 +302,15 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -319,7 +319,7 @@ Label {
|
|||||||
Label {
|
Label {
|
||||||
Text {To}
|
Text {To}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {0}
|
Style {0}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -331,90 +331,90 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Odd pages}
|
Text {&Odd pages}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {15 96 142 14}
|
Rect {15 96 142 14}
|
||||||
Name {oddpages}
|
Name {oddpages}
|
||||||
Variable {oddpages}
|
Variable {oddpages}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Printer}
|
Text {&Printer}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {189 120 142 23}
|
Rect {189 120 142 23}
|
||||||
Name {toprinter}
|
Name {toprinter}
|
||||||
Variable {toprinter}
|
Variable {toprinter}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
RadioButton {
|
RadioButton {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&File}
|
Text {&File}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {189 170 142 23}
|
Rect {189 170 142 23}
|
||||||
Name {tofile}
|
Name {tofile}
|
||||||
Variable {tofile}
|
Variable {tofile}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -424,47 +424,47 @@ LineEdit {
|
|||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {TRUE}
|
FrameShown {true}
|
||||||
Rect {341 115 142 26}
|
Rect {341 115 142 26}
|
||||||
Name {printername}
|
Name {printername}
|
||||||
Variable {printername}
|
Variable {printername}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBase}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {&Reverse order}
|
Text {&Reverse order}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {TRUE}
|
AutoResize {true}
|
||||||
Rect {10 240 152 30}
|
Rect {10 240 152 30}
|
||||||
Name {reverse}
|
Name {reverse}
|
||||||
Variable {reverse}
|
Variable {reverse}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -474,60 +474,60 @@ LineEdit {
|
|||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {TRUE}
|
FrameShown {true}
|
||||||
Rect {341 172 142 26}
|
Rect {341 172 142 26}
|
||||||
Name {filename}
|
Name {filename}
|
||||||
Variable {filename}
|
Variable {filename}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBase}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
CheckBox {
|
CheckBox {
|
||||||
Checked {FALSE}
|
Checked {false}
|
||||||
Text {Co&llate}
|
Text {Co&llate}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {TRUE}
|
AutoResize {true}
|
||||||
Rect {440 17 50 46}
|
Rect {440 17 50 46}
|
||||||
Name {sort}
|
Name {sort}
|
||||||
Variable {sort}
|
Variable {sort}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
PalettePropagation {NoChildren}
|
PalettePropagation {NoChildren}
|
||||||
}
|
}
|
||||||
PushButton {
|
PushButton {
|
||||||
ToggleButton {FALSE}
|
ToggleButton {false}
|
||||||
Default {FALSE}
|
Default {false}
|
||||||
AutoDefault {FALSE}
|
AutoDefault {false}
|
||||||
IsMenuButton {FALSE}
|
IsMenuButton {false}
|
||||||
Text {&Browse}
|
Text {&Browse}
|
||||||
AutoRepeat {FALSE}
|
AutoRepeat {false}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Rect {330 225 153 23}
|
Rect {330 225 153 23}
|
||||||
Name {browse}
|
Name {browse}
|
||||||
Variable {browse}
|
Variable {browse}
|
||||||
@ -535,15 +535,15 @@ PushButton {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {TabFocus}
|
FocusPolicy {TabFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -553,7 +553,7 @@ KDE::KIntLineEdit {
|
|||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {TRUE}
|
FrameShown {true}
|
||||||
Rect {334 17 50 46}
|
Rect {334 17 50 46}
|
||||||
Name {count}
|
Name {count}
|
||||||
Variable {count}
|
Variable {count}
|
||||||
@ -561,15 +561,15 @@ KDE::KIntLineEdit {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBase}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -578,7 +578,7 @@ KDE::KIntLineEdit {
|
|||||||
Label {
|
Label {
|
||||||
Text {Count}
|
Text {Count}
|
||||||
Alignment {289}
|
Alignment {289}
|
||||||
AutoResize {FALSE}
|
AutoResize {false}
|
||||||
Margin {-1}
|
Margin {-1}
|
||||||
Style {0}
|
Style {0}
|
||||||
LineWidth {1}
|
LineWidth {1}
|
||||||
@ -590,15 +590,15 @@ Label {
|
|||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {TRUE}
|
maxWidthSizeHint {true}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {NoFocus}
|
FocusPolicy {NoFocus}
|
||||||
BackgroundMode {PaletteBackground}
|
BackgroundMode {PaletteBackground}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
||||||
@ -608,22 +608,22 @@ KDE::KIntLineEdit {
|
|||||||
Text {}
|
Text {}
|
||||||
EchoMode {Normal}
|
EchoMode {Normal}
|
||||||
MaxLength {32767}
|
MaxLength {32767}
|
||||||
FrameShown {TRUE}
|
FrameShown {true}
|
||||||
Rect {113 204 49 31}
|
Rect {113 204 49 31}
|
||||||
Name {to}
|
Name {to}
|
||||||
Variable {to}
|
Variable {to}
|
||||||
MinimumSize {0 0}
|
MinimumSize {0 0}
|
||||||
MaximumSize {32767 32767}
|
MaximumSize {32767 32767}
|
||||||
BackgroundPixmap {}
|
BackgroundPixmap {}
|
||||||
UseBackgroundPixmap {FALSE}
|
UseBackgroundPixmap {false}
|
||||||
AdjustSize {FALSE}
|
AdjustSize {false}
|
||||||
ReadPixmapFromData {FALSE}
|
ReadPixmapFromData {false}
|
||||||
DataVarName {}
|
DataVarName {}
|
||||||
DataLenName {}
|
DataLenName {}
|
||||||
minWidthSizeHint {TRUE}
|
minWidthSizeHint {true}
|
||||||
minHeightSizeHint {TRUE}
|
minHeightSizeHint {true}
|
||||||
maxWidthSizeHint {FALSE}
|
maxWidthSizeHint {false}
|
||||||
maxHeightSizeHint {TRUE}
|
maxHeightSizeHint {true}
|
||||||
FocusPolicy {StrongFocus}
|
FocusPolicy {StrongFocus}
|
||||||
BackgroundMode {PaletteBase}
|
BackgroundMode {PaletteBase}
|
||||||
FontPropagation {NoChildren}
|
FontPropagation {NoChildren}
|
297
src/frontends/kde/dlg/dialogs/tabcreate.dlg
Normal file
297
src/frontends/kde/dlg/dialogs/tabcreate.dlg
Normal file
@ -0,0 +1,297 @@
|
|||||||
|
DlgEdit:v1.2:Dialog:
|
||||||
|
Dialog {
|
||||||
|
ClassHeader {tabcreatedlg.h}
|
||||||
|
ClassSource {tabcreatedlg.C}
|
||||||
|
ClassName {TabularCreateDialog}
|
||||||
|
DataHeader {tabcreatedlgdata.h}
|
||||||
|
DataSource {tabcreatedlgdata.C}
|
||||||
|
DataName {TabularCreateDialogData}
|
||||||
|
WindowBaseClass {QWidget}
|
||||||
|
UseGetText {true}
|
||||||
|
WindowFlags {0}
|
||||||
|
}
|
||||||
|
WidgetLayout {
|
||||||
|
InitialPos {-1 -1}
|
||||||
|
Size {310 275}
|
||||||
|
MinSize {0 0}
|
||||||
|
MaxSize {32767 32767}
|
||||||
|
Grid {5}
|
||||||
|
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {false}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {&Insert}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {64 249 59 21}
|
||||||
|
Name {Insert}
|
||||||
|
Signal {[Protected] clicked --> clickedInsert ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
PushButton {
|
||||||
|
ToggleButton {false}
|
||||||
|
Default {false}
|
||||||
|
AutoDefault {false}
|
||||||
|
IsMenuButton {false}
|
||||||
|
Text {&Cancel}
|
||||||
|
AutoRepeat {false}
|
||||||
|
AutoResize {false}
|
||||||
|
Rect {187 249 59 21}
|
||||||
|
Name {Cancel}
|
||||||
|
Signal {[Protected] clicked --> clickedCancel ()}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {true}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {TabFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
User {
|
||||||
|
UserClassHeader {emptytable.h}
|
||||||
|
UserClassName {EmptyTable}
|
||||||
|
Rect {5 31 300 213}
|
||||||
|
Name {table}
|
||||||
|
Variable {table}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {false}
|
||||||
|
minHeightSizeHint {false}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Rows}
|
||||||
|
Alignment {290}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {46 5 40 21}
|
||||||
|
Name {rowslabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
Label {
|
||||||
|
Text {Columns}
|
||||||
|
Alignment {290}
|
||||||
|
AutoResize {false}
|
||||||
|
Margin {-1}
|
||||||
|
Style {0}
|
||||||
|
LineWidth {1}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {178 5 41 21}
|
||||||
|
Name {columnslabel}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {false}
|
||||||
|
FocusPolicy {NoFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
SpinBox {
|
||||||
|
MinValue {1}
|
||||||
|
MaxValue {300}
|
||||||
|
Step {1}
|
||||||
|
Prefix {}
|
||||||
|
Suffix {}
|
||||||
|
SpecialValue {}
|
||||||
|
Wrapping {false}
|
||||||
|
Style {51}
|
||||||
|
LineWidth {2}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {91 5 41 21}
|
||||||
|
Name {rows}
|
||||||
|
Variable {rows}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
SpinBox {
|
||||||
|
MinValue {1}
|
||||||
|
MaxValue {40}
|
||||||
|
Step {1}
|
||||||
|
Prefix {}
|
||||||
|
Suffix {}
|
||||||
|
SpecialValue {}
|
||||||
|
Wrapping {false}
|
||||||
|
Style {51}
|
||||||
|
LineWidth {2}
|
||||||
|
MidLineWidth {0}
|
||||||
|
FrameMargin {0}
|
||||||
|
Rect {224 5 40 21}
|
||||||
|
Name {cols}
|
||||||
|
Variable {cols}
|
||||||
|
MinimumSize {0 0}
|
||||||
|
MaximumSize {32767 32767}
|
||||||
|
BackgroundPixmap {}
|
||||||
|
UseBackgroundPixmap {false}
|
||||||
|
AdjustSize {false}
|
||||||
|
ReadPixmapFromData {false}
|
||||||
|
DataVarName {}
|
||||||
|
DataLenName {}
|
||||||
|
minWidthSizeHint {true}
|
||||||
|
minHeightSizeHint {true}
|
||||||
|
maxWidthSizeHint {false}
|
||||||
|
maxHeightSizeHint {true}
|
||||||
|
FocusPolicy {StrongFocus}
|
||||||
|
BackgroundMode {PaletteBackground}
|
||||||
|
FontPropagation {NoChildren}
|
||||||
|
PalettePropagation {NoChildren}
|
||||||
|
}
|
||||||
|
|
||||||
|
Box_Layout-1{
|
||||||
|
Direction {TopToBottom}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Layout-1.1{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.1{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.2{
|
||||||
|
Widget {rowslabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.3{
|
||||||
|
Widget {rows}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.4{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.5{
|
||||||
|
Widget {columnslabel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.1.6{
|
||||||
|
Widget {cols}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.1.7{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.2{
|
||||||
|
Widget {table}
|
||||||
|
BoxStretch {10}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Layout-1.3{
|
||||||
|
Direction {LeftToRight}
|
||||||
|
Border {5}
|
||||||
|
AutoBorder {5}
|
||||||
|
Name {}
|
||||||
|
Strut {0}
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.3.1{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.2{
|
||||||
|
Widget {Insert}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.3.3{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
Layout_Widget-1.3.4{
|
||||||
|
Widget {Cancel}
|
||||||
|
BoxStretch {1}
|
||||||
|
Alignment {36}
|
||||||
|
}
|
||||||
|
Box_Stretch-1.3.5{
|
||||||
|
Stretch {1}
|
||||||
|
}
|
||||||
|
}
|
80
src/frontends/kde/dlg/emptytable.C
Normal file
80
src/frontends/kde/dlg/emptytable.C
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
/*
|
||||||
|
* emptytable.C
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
|
*/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include "emptytable.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A simple widget for a quick "preview" in TabularCreateDialog
|
||||||
|
*/
|
||||||
|
|
||||||
|
const unsigned int cellsize = 20;
|
||||||
|
|
||||||
|
EmptyTable::EmptyTable(QWidget * parent = 0, const char * name = 0)
|
||||||
|
: QTableView(parent,name)
|
||||||
|
{
|
||||||
|
setNumCols(5);
|
||||||
|
setNumRows(5);
|
||||||
|
setCellWidth(cellsize);
|
||||||
|
setCellHeight(cellsize);
|
||||||
|
setTableFlags(Tbl_autoScrollBars);
|
||||||
|
}
|
||||||
|
|
||||||
|
void EmptyTable::paintCell(QPainter *p, int row, int col)
|
||||||
|
{
|
||||||
|
int x2 = cellWidth(col) - 1;
|
||||||
|
int y2 = cellHeight(row) - 1;
|
||||||
|
|
||||||
|
p->fillRect(0, 0, x2, y2, QColor("white"));
|
||||||
|
p->drawLine(x2, 0, x2, y2);
|
||||||
|
p->drawLine(0, y2, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
void EmptyTable::setNumberColumns(int nr_cols)
|
||||||
|
{
|
||||||
|
if (nr_cols < 1)
|
||||||
|
return;
|
||||||
|
if (nr_cols == numCols())
|
||||||
|
return;
|
||||||
|
setAutoUpdate(false);
|
||||||
|
setNumCols(nr_cols);
|
||||||
|
setAutoUpdate(true);
|
||||||
|
update();
|
||||||
|
emit colsChanged(nr_cols);
|
||||||
|
}
|
||||||
|
|
||||||
|
void EmptyTable::setNumberRows(int nr_rows)
|
||||||
|
{
|
||||||
|
if (nr_rows < 1)
|
||||||
|
return;
|
||||||
|
if (nr_rows == numRows())
|
||||||
|
return;
|
||||||
|
setAutoUpdate(false);
|
||||||
|
setNumRows(nr_rows);
|
||||||
|
setAutoUpdate(true);
|
||||||
|
update();
|
||||||
|
emit rowsChanged(nr_rows);
|
||||||
|
}
|
||||||
|
|
||||||
|
void EmptyTable::mouseMoveEvent(QMouseEvent *ev)
|
||||||
|
{
|
||||||
|
int x = ev->pos().x();
|
||||||
|
int y = ev->pos().y();
|
||||||
|
|
||||||
|
if (x > 0)
|
||||||
|
setNumberColumns(x / cellsize + leftCell());
|
||||||
|
|
||||||
|
if (y > 0)
|
||||||
|
setNumberRows(y / cellsize + topCell());
|
||||||
|
}
|
59
src/frontends/kde/dlg/emptytable.h
Normal file
59
src/frontends/kde/dlg/emptytable.h
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* emptytable.h
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
|
*/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#ifndef EMPTYTABLE_H
|
||||||
|
#define EMPTYTABLE_H
|
||||||
|
|
||||||
|
#include <qpainter.h>
|
||||||
|
#include <qtableview.h>
|
||||||
|
|
||||||
|
#include "boost/utility.hpp"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A simple widget for a quick "preview" in TabularCreateDialog.
|
||||||
|
* The user can drag on the widget to change the table dimensions.
|
||||||
|
*/
|
||||||
|
class EmptyTable : public QTableView, public noncopyable {
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
EmptyTable(QWidget * parent = 0, const char * name = 0);
|
||||||
|
|
||||||
|
~EmptyTable() {};
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
/// set the number of columns in the table and emit colsChanged() signal
|
||||||
|
void setNumberColumns(int nr_cols);
|
||||||
|
/// set the number of rows in the table and emit rowsChanged() signal
|
||||||
|
void setNumberRows(int nr_rows);
|
||||||
|
|
||||||
|
signals:
|
||||||
|
/// the number of columns changed
|
||||||
|
void colsChanged(unsigned int);
|
||||||
|
/// the number of rows changed
|
||||||
|
void rowsChanged(unsigned int);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
/// fill in a cell
|
||||||
|
virtual void paintCell(class QPainter *, int, int);
|
||||||
|
virtual void mouseMoveEvent(QMouseEvent *);
|
||||||
|
|
||||||
|
private:
|
||||||
|
/// number of current columns
|
||||||
|
unsigned int cols;
|
||||||
|
/// number of current rows
|
||||||
|
unsigned int rows;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
28
src/frontends/kde/dlg/indexdlg.C
Normal file
28
src/frontends/kde/dlg/indexdlg.C
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: indexdlg.C
|
||||||
|
Last generated: Mon Dec 4 13:48:13 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include "indexdlg.h"
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#define Inherited IndexDialogData
|
||||||
|
|
||||||
|
IndexDialog::IndexDialog
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
IndexDialog::~IndexDialog()
|
||||||
|
{
|
||||||
|
}
|
30
src/frontends/kde/dlg/indexdlg.h
Normal file
30
src/frontends/kde/dlg/indexdlg.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: indexdlg.h
|
||||||
|
Last generated: Mon Dec 4 13:48:13 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef IndexDialog_included
|
||||||
|
#define IndexDialog_included
|
||||||
|
|
||||||
|
#include "indexdlgdata.h"
|
||||||
|
|
||||||
|
class IndexDialog : public IndexDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
IndexDialog
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~IndexDialog();
|
||||||
|
|
||||||
|
};
|
||||||
|
#endif // IndexDialog_included
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: indexdlgdata.C
|
File: indexdlgdata.C
|
||||||
Last generated: Tue Oct 24 13:38:07 2000
|
Last generated: Mon Dec 4 13:48:13 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -54,7 +54,7 @@ IndexDialogData::IndexDialogData
|
|||||||
index->setText( "" );
|
index->setText( "" );
|
||||||
index->setMaxLength( 32767 );
|
index->setMaxLength( 32767 );
|
||||||
index->setFrame( QLineEdit::Normal );
|
index->setFrame( QLineEdit::Normal );
|
||||||
index->setFrame( TRUE );
|
index->setFrame( true );
|
||||||
|
|
||||||
buttonOk = new QPushButton( this, "PushButton_OK" );
|
buttonOk = new QPushButton( this, "PushButton_OK" );
|
||||||
buttonOk->setGeometry( 24, 65, 80, 25 );
|
buttonOk->setGeometry( 24, 65, 80, 25 );
|
||||||
@ -66,12 +66,12 @@ IndexDialogData::IndexDialogData
|
|||||||
buttonOk->setFontPropagation( QWidget::NoChildren );
|
buttonOk->setFontPropagation( QWidget::NoChildren );
|
||||||
buttonOk->setPalettePropagation( QWidget::NoChildren );
|
buttonOk->setPalettePropagation( QWidget::NoChildren );
|
||||||
buttonOk->setText( _("&OK") );
|
buttonOk->setText( _("&OK") );
|
||||||
buttonOk->setAutoRepeat( FALSE );
|
buttonOk->setAutoRepeat( false );
|
||||||
buttonOk->setAutoResize( FALSE );
|
buttonOk->setAutoResize( false );
|
||||||
buttonOk->setToggleButton( FALSE );
|
buttonOk->setToggleButton( false );
|
||||||
buttonOk->setDefault( FALSE );
|
buttonOk->setDefault( false );
|
||||||
buttonOk->setAutoDefault( TRUE );
|
buttonOk->setAutoDefault( true );
|
||||||
buttonOk->setIsMenuButton( FALSE );
|
buttonOk->setIsMenuButton( false );
|
||||||
|
|
||||||
buttonCancel = new QPushButton( this, "PushButton_Cancel" );
|
buttonCancel = new QPushButton( this, "PushButton_Cancel" );
|
||||||
buttonCancel->setGeometry( 146, 65, 80, 25 );
|
buttonCancel->setGeometry( 146, 65, 80, 25 );
|
||||||
@ -83,12 +83,12 @@ IndexDialogData::IndexDialogData
|
|||||||
buttonCancel->setFontPropagation( QWidget::NoChildren );
|
buttonCancel->setFontPropagation( QWidget::NoChildren );
|
||||||
buttonCancel->setPalettePropagation( QWidget::NoChildren );
|
buttonCancel->setPalettePropagation( QWidget::NoChildren );
|
||||||
buttonCancel->setText( _("&Cancel") );
|
buttonCancel->setText( _("&Cancel") );
|
||||||
buttonCancel->setAutoRepeat( FALSE );
|
buttonCancel->setAutoRepeat( false );
|
||||||
buttonCancel->setAutoResize( FALSE );
|
buttonCancel->setAutoResize( false );
|
||||||
buttonCancel->setToggleButton( FALSE );
|
buttonCancel->setToggleButton( false );
|
||||||
buttonCancel->setDefault( FALSE );
|
buttonCancel->setDefault( false );
|
||||||
buttonCancel->setAutoDefault( FALSE );
|
buttonCancel->setAutoDefault( false );
|
||||||
buttonCancel->setIsMenuButton( FALSE );
|
buttonCancel->setIsMenuButton( false );
|
||||||
|
|
||||||
if (labelindex->sizeHint().width()!=-1)
|
if (labelindex->sizeHint().width()!=-1)
|
||||||
labelindex->setMinimumWidth(labelindex->sizeHint().width());
|
labelindex->setMinimumWidth(labelindex->sizeHint().width());
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: indexdlgdata.h
|
File: indexdlgdata.h
|
||||||
Last generated: Tue Oct 24 13:38:07 2000
|
Last generated: Mon Dec 4 13:48:13 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -40,7 +40,7 @@ protected slots:
|
|||||||
virtual void clickedCancel();
|
virtual void clickedCancel();
|
||||||
virtual void clickedOK();
|
virtual void clickedOK();
|
||||||
|
|
||||||
protected:
|
public:
|
||||||
QLabel* labelindex;
|
QLabel* labelindex;
|
||||||
QLineEdit* index;
|
QLineEdit* index;
|
||||||
QPushButton* buttonOk;
|
QPushButton* buttonOk;
|
7
src/frontends/kde/dlg/moc/.cvsignore
Normal file
7
src/frontends/kde/dlg/moc/.cvsignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Makefile.in
|
||||||
|
Makefile
|
||||||
|
*.deps
|
||||||
|
*.lo
|
||||||
|
.libs
|
||||||
|
libkde.la
|
||||||
|
*moc.C
|
46
src/frontends/kde/dlg/moc/Makefile.am
Normal file
46
src/frontends/kde/dlg/moc/Makefile.am
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||||
|
noinst_LTLIBRARIES = libkdedlgmoc.la
|
||||||
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||||
|
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/
|
||||||
|
|
||||||
|
libkdedlgmoc_la_SOURCES = copyrightdlgdata_moc.C \
|
||||||
|
indexdlgdata_moc.C \
|
||||||
|
paradlgdata_moc.C \
|
||||||
|
parageneraldlgdata_moc.C \
|
||||||
|
paraabovedlgdata_moc.C \
|
||||||
|
parabelowdlgdata_moc.C \
|
||||||
|
paraextradlgdata_moc.C \
|
||||||
|
printdlgdata_moc.C \
|
||||||
|
tabcreatedlgdata_moc.C \
|
||||||
|
emptytable_moc.C \
|
||||||
|
tabstack_moc.C
|
||||||
|
|
||||||
|
DISTCLEANFILES = $(libkdedlgmoc_la_SOURCES) *.orig *.rej *~ *.bak core
|
||||||
|
|
||||||
|
LIBS=
|
||||||
|
ETAGS_ARGS = --lang=c++
|
||||||
|
$(BUILTSOURCES)
|
||||||
|
|
||||||
|
copyrightdlgdata_moc.C: ../copyrightdlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
emptytable_moc.C: ../emptytable.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
indexdlgdata_moc.C: ../indexdlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
paradlgdata_moc.C: ../paradlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
parageneraldlgdata_moc.C: ../parageneraldlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
paraabovedlgdata_moc.C: ../paraabovedlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
parabelowdlgdata_moc.C: ../parabelowdlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
paraextradlgdata_moc.C: ../paraextradlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
printdlgdata_moc.C: ../printdlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
tabcreatedlgdata_moc.C: ../tabcreatedlgdata.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
tabstack_moc.C: ../tabstack.h
|
||||||
|
$(MOC) $< -o $@
|
341
src/frontends/kde/dlg/paraabovedlgdata.C
Normal file
341
src/frontends/kde/dlg/paraabovedlgdata.C
Normal file
@ -0,0 +1,341 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paraabovedlgdata.C
|
||||||
|
Last generated: Mon Dec 4 13:48:21 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#include <qpixmap.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include "paraabovedlgdata.h"
|
||||||
|
|
||||||
|
#define Inherited QWidget
|
||||||
|
|
||||||
|
#include <qlabel.h>
|
||||||
|
|
||||||
|
ParaAboveDialogData::ParaAboveDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name, 0 )
|
||||||
|
{
|
||||||
|
pagebreakabove = new QCheckBox( this, "pagebreakabove" );
|
||||||
|
pagebreakabove->setGeometry( 5, 5, 305, 73 );
|
||||||
|
pagebreakabove->setMinimumSize( 0, 0 );
|
||||||
|
pagebreakabove->setMaximumSize( 32767, 32767 );
|
||||||
|
pagebreakabove->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
pagebreakabove->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
pagebreakabove->setFontPropagation( QWidget::NoChildren );
|
||||||
|
pagebreakabove->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
pagebreakabove->setText( _("Page break") );
|
||||||
|
pagebreakabove->setAutoRepeat( false );
|
||||||
|
pagebreakabove->setAutoResize( false );
|
||||||
|
pagebreakabove->setChecked( false );
|
||||||
|
|
||||||
|
keepabove = new QCheckBox( this, "keepabove" );
|
||||||
|
keepabove->setGeometry( 5, 83, 305, 73 );
|
||||||
|
keepabove->setMinimumSize( 0, 0 );
|
||||||
|
keepabove->setMaximumSize( 32767, 32767 );
|
||||||
|
keepabove->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
keepabove->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
keepabove->setFontPropagation( QWidget::NoChildren );
|
||||||
|
keepabove->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
keepabove->setText( _("Keep space when at top of page") );
|
||||||
|
keepabove->setAutoRepeat( false );
|
||||||
|
keepabove->setAutoResize( false );
|
||||||
|
keepabove->setChecked( false );
|
||||||
|
|
||||||
|
QLabel* qtarch_abovelabel;
|
||||||
|
qtarch_abovelabel = new QLabel( this, "abovelabel" );
|
||||||
|
qtarch_abovelabel->setGeometry( 5, 161, 100, 36 );
|
||||||
|
qtarch_abovelabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_abovelabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_abovelabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_abovelabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_abovelabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_abovelabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_abovelabel->setFrameStyle( 0 );
|
||||||
|
qtarch_abovelabel->setLineWidth( 1 );
|
||||||
|
qtarch_abovelabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_abovelabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_abovelabel->setText( _("Extra Space") );
|
||||||
|
qtarch_abovelabel->setAlignment( 289 );
|
||||||
|
qtarch_abovelabel->setMargin( -1 );
|
||||||
|
|
||||||
|
spaceabove = new QComboBox( FALSE, this, "spaceabove" );
|
||||||
|
spaceabove->setGeometry( 110, 161, 200, 36 );
|
||||||
|
spaceabove->setMinimumSize( 0, 0 );
|
||||||
|
spaceabove->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( spaceabove, SIGNAL(highlighted(int)), SLOT(spaceaboveHighlighted(int)) );
|
||||||
|
spaceabove->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spaceabove->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spaceabove->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spaceabove->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spaceabove->setSizeLimit( 10 );
|
||||||
|
spaceabove->setAutoResize( false );
|
||||||
|
spaceabove->setMaxCount( 2147483647 );
|
||||||
|
spaceabove->setAutoCompletion( false );
|
||||||
|
|
||||||
|
QLabel* qtarch_ValueLabel;
|
||||||
|
qtarch_ValueLabel = new QLabel( this, "ValueLabel" );
|
||||||
|
qtarch_ValueLabel->setGeometry( 5, 202, 58, 24 );
|
||||||
|
qtarch_ValueLabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_ValueLabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_ValueLabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_ValueLabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_ValueLabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_ValueLabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_ValueLabel->setFrameStyle( 0 );
|
||||||
|
qtarch_ValueLabel->setLineWidth( 1 );
|
||||||
|
qtarch_ValueLabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_ValueLabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_ValueLabel->setText( _("Value") );
|
||||||
|
qtarch_ValueLabel->setAlignment( 289 );
|
||||||
|
qtarch_ValueLabel->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_Label_14;
|
||||||
|
qtarch_Label_14 = new QLabel( this, "Label_14" );
|
||||||
|
qtarch_Label_14->setGeometry( 5, 231, 58, 25 );
|
||||||
|
qtarch_Label_14->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_Label_14->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_Label_14->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_Label_14->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_Label_14->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Label_14->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Label_14->setFrameStyle( 0 );
|
||||||
|
qtarch_Label_14->setLineWidth( 1 );
|
||||||
|
qtarch_Label_14->setMidLineWidth( 0 );
|
||||||
|
qtarch_Label_14->QFrame::setMargin( 0 );
|
||||||
|
qtarch_Label_14->setText( _("Plus") );
|
||||||
|
qtarch_Label_14->setAlignment( 289 );
|
||||||
|
qtarch_Label_14->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_aboveminuslabel;
|
||||||
|
qtarch_aboveminuslabel = new QLabel( this, "aboveminuslabel" );
|
||||||
|
qtarch_aboveminuslabel->setGeometry( 5, 261, 58, 24 );
|
||||||
|
qtarch_aboveminuslabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_aboveminuslabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_aboveminuslabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_aboveminuslabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_aboveminuslabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_aboveminuslabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_aboveminuslabel->setFrameStyle( 0 );
|
||||||
|
qtarch_aboveminuslabel->setLineWidth( 1 );
|
||||||
|
qtarch_aboveminuslabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_aboveminuslabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_aboveminuslabel->setText( _("Minus") );
|
||||||
|
qtarch_aboveminuslabel->setAlignment( 289 );
|
||||||
|
qtarch_aboveminuslabel->setMargin( -1 );
|
||||||
|
|
||||||
|
spaceabovevalue = new KRestrictedLine( this, "spaceabovevalue" );
|
||||||
|
spaceabovevalue->setGeometry( 68, 202, 3, 24 );
|
||||||
|
spaceabovevalue->setMinimumSize( 0, 0 );
|
||||||
|
spaceabovevalue->setMaximumSize( 32767, 32767 );
|
||||||
|
spaceabovevalue->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spaceabovevalue->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
spaceabovevalue->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spaceabovevalue->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
spaceabovevalue->setText( "" );
|
||||||
|
spaceabovevalue->setMaxLength( 8 );
|
||||||
|
spaceabovevalue->setFrame( QLineEdit::Normal );
|
||||||
|
spaceabovevalue->setFrame( true );
|
||||||
|
spaceabovevalue->setValidChars( "0123456789.," );
|
||||||
|
|
||||||
|
spaceaboveplus = new KRestrictedLine( this, "spaceaboveplus" );
|
||||||
|
spaceaboveplus->setGeometry( 68, 231, 3, 25 );
|
||||||
|
spaceaboveplus->setMinimumSize( 0, 0 );
|
||||||
|
spaceaboveplus->setMaximumSize( 32767, 32767 );
|
||||||
|
spaceaboveplus->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spaceaboveplus->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
spaceaboveplus->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spaceaboveplus->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
spaceaboveplus->setText( "" );
|
||||||
|
spaceaboveplus->setMaxLength( 8 );
|
||||||
|
spaceaboveplus->setFrame( QLineEdit::Normal );
|
||||||
|
spaceaboveplus->setFrame( true );
|
||||||
|
spaceaboveplus->setValidChars( "0123456789.," );
|
||||||
|
|
||||||
|
spaceaboveminus = new KRestrictedLine( this, "spaceaboveminus" );
|
||||||
|
spaceaboveminus->setGeometry( 68, 261, 3, 24 );
|
||||||
|
spaceaboveminus->setMinimumSize( 0, 0 );
|
||||||
|
spaceaboveminus->setMaximumSize( 32767, 32767 );
|
||||||
|
spaceaboveminus->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spaceaboveminus->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
spaceaboveminus->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spaceaboveminus->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
spaceaboveminus->setText( "" );
|
||||||
|
spaceaboveminus->setMaxLength( 8 );
|
||||||
|
spaceaboveminus->setFrame( QLineEdit::Normal );
|
||||||
|
spaceaboveminus->setFrame( true );
|
||||||
|
spaceaboveminus->setValidChars( "0123456789.," );
|
||||||
|
|
||||||
|
spaceabovevalueunits = new QComboBox( FALSE, this, "spaceabovevalueunits" );
|
||||||
|
spaceabovevalueunits->setGeometry( 76, 202, 234, 24 );
|
||||||
|
spaceabovevalueunits->setMinimumSize( 0, 0 );
|
||||||
|
spaceabovevalueunits->setMaximumSize( 32767, 32767 );
|
||||||
|
spaceabovevalueunits->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spaceabovevalueunits->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spaceabovevalueunits->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spaceabovevalueunits->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spaceabovevalueunits->setSizeLimit( 10 );
|
||||||
|
spaceabovevalueunits->setAutoResize( false );
|
||||||
|
spaceabovevalueunits->setMaxCount( 2147483647 );
|
||||||
|
spaceabovevalueunits->setAutoCompletion( false );
|
||||||
|
|
||||||
|
spaceaboveplusunits = new QComboBox( FALSE, this, "spaceaboveplusunits" );
|
||||||
|
spaceaboveplusunits->setGeometry( 76, 231, 234, 25 );
|
||||||
|
spaceaboveplusunits->setMinimumSize( 0, 0 );
|
||||||
|
spaceaboveplusunits->setMaximumSize( 32767, 32767 );
|
||||||
|
spaceaboveplusunits->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spaceaboveplusunits->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spaceaboveplusunits->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spaceaboveplusunits->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spaceaboveplusunits->setSizeLimit( 10 );
|
||||||
|
spaceaboveplusunits->setAutoResize( false );
|
||||||
|
spaceaboveplusunits->setMaxCount( 2147483647 );
|
||||||
|
spaceaboveplusunits->setAutoCompletion( false );
|
||||||
|
|
||||||
|
spaceaboveminusunits = new QComboBox( FALSE, this, "spaceaboveminusunits" );
|
||||||
|
spaceaboveminusunits->setGeometry( 76, 261, 234, 24 );
|
||||||
|
spaceaboveminusunits->setMinimumSize( 0, 0 );
|
||||||
|
spaceaboveminusunits->setMaximumSize( 32767, 32767 );
|
||||||
|
spaceaboveminusunits->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spaceaboveminusunits->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spaceaboveminusunits->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spaceaboveminusunits->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spaceaboveminusunits->setSizeLimit( 10 );
|
||||||
|
spaceaboveminusunits->setAutoResize( false );
|
||||||
|
spaceaboveminusunits->setMaxCount( 2147483647 );
|
||||||
|
spaceaboveminusunits->setAutoCompletion( false );
|
||||||
|
|
||||||
|
if (pagebreakabove->sizeHint().width()!=-1)
|
||||||
|
pagebreakabove->setMinimumWidth(pagebreakabove->sizeHint().width());
|
||||||
|
if (pagebreakabove->sizeHint().height()!=-1)
|
||||||
|
pagebreakabove->setMinimumHeight(pagebreakabove->sizeHint().height());
|
||||||
|
if (pagebreakabove->sizeHint().width()!=-1)
|
||||||
|
pagebreakabove->setMaximumWidth(pagebreakabove->sizeHint().width());
|
||||||
|
if (pagebreakabove->sizeHint().height()!=-1)
|
||||||
|
pagebreakabove->setMaximumHeight(pagebreakabove->sizeHint().height());
|
||||||
|
if (keepabove->sizeHint().width()!=-1)
|
||||||
|
keepabove->setMinimumWidth(keepabove->sizeHint().width());
|
||||||
|
if (keepabove->sizeHint().height()!=-1)
|
||||||
|
keepabove->setMinimumHeight(keepabove->sizeHint().height());
|
||||||
|
if (keepabove->sizeHint().width()!=-1)
|
||||||
|
keepabove->setMaximumWidth(keepabove->sizeHint().width());
|
||||||
|
if (keepabove->sizeHint().height()!=-1)
|
||||||
|
keepabove->setMaximumHeight(keepabove->sizeHint().height());
|
||||||
|
if (qtarch_abovelabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_abovelabel->setMinimumWidth(qtarch_abovelabel->sizeHint().width());
|
||||||
|
if (qtarch_abovelabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_abovelabel->setMinimumHeight(qtarch_abovelabel->sizeHint().height());
|
||||||
|
if (qtarch_abovelabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_abovelabel->setMaximumWidth(qtarch_abovelabel->sizeHint().width());
|
||||||
|
if (qtarch_abovelabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_abovelabel->setMaximumHeight(qtarch_abovelabel->sizeHint().height());
|
||||||
|
if (spaceabove->sizeHint().width()!=-1)
|
||||||
|
spaceabove->setMinimumWidth(spaceabove->sizeHint().width());
|
||||||
|
if (spaceabove->sizeHint().height()!=-1)
|
||||||
|
spaceabove->setMinimumHeight(spaceabove->sizeHint().height());
|
||||||
|
if (spaceabove->sizeHint().height()!=-1)
|
||||||
|
spaceabove->setMaximumHeight(spaceabove->sizeHint().height());
|
||||||
|
if (qtarch_ValueLabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_ValueLabel->setMinimumWidth(qtarch_ValueLabel->sizeHint().width());
|
||||||
|
if (qtarch_ValueLabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_ValueLabel->setMinimumHeight(qtarch_ValueLabel->sizeHint().height());
|
||||||
|
if (qtarch_Label_14->sizeHint().width()!=-1)
|
||||||
|
qtarch_Label_14->setMinimumWidth(qtarch_Label_14->sizeHint().width());
|
||||||
|
if (qtarch_Label_14->sizeHint().height()!=-1)
|
||||||
|
qtarch_Label_14->setMinimumHeight(qtarch_Label_14->sizeHint().height());
|
||||||
|
if (qtarch_aboveminuslabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_aboveminuslabel->setMinimumWidth(qtarch_aboveminuslabel->sizeHint().width());
|
||||||
|
if (qtarch_aboveminuslabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_aboveminuslabel->setMinimumHeight(qtarch_aboveminuslabel->sizeHint().height());
|
||||||
|
if (spaceabovevalue->sizeHint().width()!=-1)
|
||||||
|
spaceabovevalue->setMinimumWidth(spaceabovevalue->sizeHint().width());
|
||||||
|
if (spaceabovevalue->sizeHint().height()!=-1)
|
||||||
|
spaceabovevalue->setMinimumHeight(spaceabovevalue->sizeHint().height());
|
||||||
|
if (spaceabovevalue->sizeHint().height()!=-1)
|
||||||
|
spaceabovevalue->setMaximumHeight(spaceabovevalue->sizeHint().height());
|
||||||
|
if (spaceaboveplus->sizeHint().width()!=-1)
|
||||||
|
spaceaboveplus->setMinimumWidth(spaceaboveplus->sizeHint().width());
|
||||||
|
if (spaceaboveplus->sizeHint().height()!=-1)
|
||||||
|
spaceaboveplus->setMinimumHeight(spaceaboveplus->sizeHint().height());
|
||||||
|
if (spaceaboveplus->sizeHint().height()!=-1)
|
||||||
|
spaceaboveplus->setMaximumHeight(spaceaboveplus->sizeHint().height());
|
||||||
|
if (spaceaboveminus->sizeHint().width()!=-1)
|
||||||
|
spaceaboveminus->setMinimumWidth(spaceaboveminus->sizeHint().width());
|
||||||
|
if (spaceaboveminus->sizeHint().height()!=-1)
|
||||||
|
spaceaboveminus->setMinimumHeight(spaceaboveminus->sizeHint().height());
|
||||||
|
if (spaceaboveminus->sizeHint().height()!=-1)
|
||||||
|
spaceaboveminus->setMaximumHeight(spaceaboveminus->sizeHint().height());
|
||||||
|
if (spaceabovevalueunits->sizeHint().width()!=-1)
|
||||||
|
spaceabovevalueunits->setMinimumWidth(spaceabovevalueunits->sizeHint().width());
|
||||||
|
if (spaceabovevalueunits->sizeHint().height()!=-1)
|
||||||
|
spaceabovevalueunits->setMinimumHeight(spaceabovevalueunits->sizeHint().height());
|
||||||
|
if (spaceabovevalueunits->sizeHint().height()!=-1)
|
||||||
|
spaceabovevalueunits->setMaximumHeight(spaceabovevalueunits->sizeHint().height());
|
||||||
|
if (spaceaboveplusunits->sizeHint().width()!=-1)
|
||||||
|
spaceaboveplusunits->setMinimumWidth(spaceaboveplusunits->sizeHint().width());
|
||||||
|
if (spaceaboveplusunits->sizeHint().height()!=-1)
|
||||||
|
spaceaboveplusunits->setMinimumHeight(spaceaboveplusunits->sizeHint().height());
|
||||||
|
if (spaceaboveplusunits->sizeHint().height()!=-1)
|
||||||
|
spaceaboveplusunits->setMaximumHeight(spaceaboveplusunits->sizeHint().height());
|
||||||
|
if (spaceaboveminusunits->sizeHint().width()!=-1)
|
||||||
|
spaceaboveminusunits->setMinimumWidth(spaceaboveminusunits->sizeHint().width());
|
||||||
|
if (spaceaboveminusunits->sizeHint().height()!=-1)
|
||||||
|
spaceaboveminusunits->setMinimumHeight(spaceaboveminusunits->sizeHint().height());
|
||||||
|
if (spaceaboveminusunits->sizeHint().height()!=-1)
|
||||||
|
spaceaboveminusunits->setMaximumHeight(spaceaboveminusunits->sizeHint().height());
|
||||||
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1->addWidget( pagebreakabove, 2, 1 );
|
||||||
|
qtarch_layout_1->addWidget( keepabove, 2, 1 );
|
||||||
|
QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_3, 1 );
|
||||||
|
qtarch_layout_1_3->addStrut( 0 );
|
||||||
|
qtarch_layout_1_3->addWidget( qtarch_abovelabel, 1, 1 );
|
||||||
|
qtarch_layout_1_3->addWidget( spaceabove, 2, 36 );
|
||||||
|
QGridLayout* qtarch_layout_1_4 = new QGridLayout( 3, 3, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_4, 2 );
|
||||||
|
qtarch_layout_1_4->addColSpacing( 0, 1 );
|
||||||
|
qtarch_layout_1_4->setColStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_4->addColSpacing( 1, 3 );
|
||||||
|
qtarch_layout_1_4->setColStretch( 1, 0 );
|
||||||
|
qtarch_layout_1_4->addColSpacing( 2, 5 );
|
||||||
|
qtarch_layout_1_4->setColStretch( 2, 4 );
|
||||||
|
qtarch_layout_1_4->addRowSpacing( 0, 0 );
|
||||||
|
qtarch_layout_1_4->setRowStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_4->addWidget( qtarch_ValueLabel, 0, 0, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spaceabovevalue, 0, 1, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spaceabovevalueunits, 0, 2, 36 );
|
||||||
|
qtarch_layout_1_4->addRowSpacing( 1, 0 );
|
||||||
|
qtarch_layout_1_4->setRowStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_4->addWidget( qtarch_Label_14, 1, 0, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spaceaboveplus, 1, 1, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spaceaboveplusunits, 1, 2, 36 );
|
||||||
|
qtarch_layout_1_4->addRowSpacing( 2, 0 );
|
||||||
|
qtarch_layout_1_4->setRowStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_4->addWidget( qtarch_aboveminuslabel, 2, 0, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spaceaboveminus, 2, 1, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spaceaboveminusunits, 2, 2, 36 );
|
||||||
|
resize( 315,290 );
|
||||||
|
setMinimumSize( 0, 0 );
|
||||||
|
setMaximumSize( 32767, 32767 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ParaAboveDialogData::~ParaAboveDialogData()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void ParaAboveDialogData::spaceaboveHighlighted(int)
|
||||||
|
{
|
||||||
|
}
|
55
src/frontends/kde/dlg/paraabovedlgdata.h
Normal file
55
src/frontends/kde/dlg/paraabovedlgdata.h
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paraabovedlgdata.h
|
||||||
|
Last generated: Mon Dec 4 13:48:21 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef ParaAboveDialogData_included
|
||||||
|
#define ParaAboveDialogData_included
|
||||||
|
|
||||||
|
#include <qwidget.h>
|
||||||
|
#include <qcheckbox.h>
|
||||||
|
#include <qcombobox.h>
|
||||||
|
#include <krestrictedline.h>
|
||||||
|
|
||||||
|
class ParaAboveDialogData : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
ParaAboveDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~ParaAboveDialogData();
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
|
||||||
|
virtual void spaceaboveHighlighted(int);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
QCheckBox* pagebreakabove;
|
||||||
|
QCheckBox* keepabove;
|
||||||
|
QComboBox* spaceabove;
|
||||||
|
KRestrictedLine* spaceabovevalue;
|
||||||
|
KRestrictedLine* spaceaboveplus;
|
||||||
|
KRestrictedLine* spaceaboveminus;
|
||||||
|
QComboBox* spaceabovevalueunits;
|
||||||
|
QComboBox* spaceaboveplusunits;
|
||||||
|
QComboBox* spaceaboveminusunits;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // ParaAboveDialogData_included
|
341
src/frontends/kde/dlg/parabelowdlgdata.C
Normal file
341
src/frontends/kde/dlg/parabelowdlgdata.C
Normal file
@ -0,0 +1,341 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: parabelowdlgdata.C
|
||||||
|
Last generated: Mon Dec 4 13:48:23 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#include <qpixmap.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include "parabelowdlgdata.h"
|
||||||
|
|
||||||
|
#define Inherited QWidget
|
||||||
|
|
||||||
|
#include <qlabel.h>
|
||||||
|
|
||||||
|
ParaBelowDialogData::ParaBelowDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name, 0 )
|
||||||
|
{
|
||||||
|
pagebreakbelow = new QCheckBox( this, "pagebreakbelow" );
|
||||||
|
pagebreakbelow->setGeometry( 5, 5, 305, 73 );
|
||||||
|
pagebreakbelow->setMinimumSize( 0, 0 );
|
||||||
|
pagebreakbelow->setMaximumSize( 32767, 32767 );
|
||||||
|
pagebreakbelow->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
pagebreakbelow->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
pagebreakbelow->setFontPropagation( QWidget::NoChildren );
|
||||||
|
pagebreakbelow->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
pagebreakbelow->setText( _("Page break") );
|
||||||
|
pagebreakbelow->setAutoRepeat( false );
|
||||||
|
pagebreakbelow->setAutoResize( false );
|
||||||
|
pagebreakbelow->setChecked( false );
|
||||||
|
|
||||||
|
keepbelow = new QCheckBox( this, "keepbelow" );
|
||||||
|
keepbelow->setGeometry( 5, 83, 305, 73 );
|
||||||
|
keepbelow->setMinimumSize( 0, 0 );
|
||||||
|
keepbelow->setMaximumSize( 32767, 32767 );
|
||||||
|
keepbelow->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
keepbelow->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
keepbelow->setFontPropagation( QWidget::NoChildren );
|
||||||
|
keepbelow->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
keepbelow->setText( _("Keep space when at bottom of page") );
|
||||||
|
keepbelow->setAutoRepeat( false );
|
||||||
|
keepbelow->setAutoResize( false );
|
||||||
|
keepbelow->setChecked( false );
|
||||||
|
|
||||||
|
QLabel* qtarch_belowlabel;
|
||||||
|
qtarch_belowlabel = new QLabel( this, "belowlabel" );
|
||||||
|
qtarch_belowlabel->setGeometry( 5, 161, 100, 36 );
|
||||||
|
qtarch_belowlabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_belowlabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_belowlabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_belowlabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_belowlabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_belowlabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_belowlabel->setFrameStyle( 0 );
|
||||||
|
qtarch_belowlabel->setLineWidth( 1 );
|
||||||
|
qtarch_belowlabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_belowlabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_belowlabel->setText( _("Extra Space") );
|
||||||
|
qtarch_belowlabel->setAlignment( 289 );
|
||||||
|
qtarch_belowlabel->setMargin( -1 );
|
||||||
|
|
||||||
|
spacebelow = new QComboBox( FALSE, this, "spacebelow" );
|
||||||
|
spacebelow->setGeometry( 110, 161, 200, 36 );
|
||||||
|
spacebelow->setMinimumSize( 0, 0 );
|
||||||
|
spacebelow->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( spacebelow, SIGNAL(highlighted(int)), SLOT(spacebelowHighlighted(int)) );
|
||||||
|
spacebelow->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spacebelow->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spacebelow->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spacebelow->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spacebelow->setSizeLimit( 10 );
|
||||||
|
spacebelow->setAutoResize( false );
|
||||||
|
spacebelow->setMaxCount( 2147483647 );
|
||||||
|
spacebelow->setAutoCompletion( false );
|
||||||
|
|
||||||
|
QLabel* qtarch_ValueLabel;
|
||||||
|
qtarch_ValueLabel = new QLabel( this, "ValueLabel" );
|
||||||
|
qtarch_ValueLabel->setGeometry( 5, 202, 58, 24 );
|
||||||
|
qtarch_ValueLabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_ValueLabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_ValueLabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_ValueLabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_ValueLabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_ValueLabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_ValueLabel->setFrameStyle( 0 );
|
||||||
|
qtarch_ValueLabel->setLineWidth( 1 );
|
||||||
|
qtarch_ValueLabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_ValueLabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_ValueLabel->setText( _("Value") );
|
||||||
|
qtarch_ValueLabel->setAlignment( 289 );
|
||||||
|
qtarch_ValueLabel->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_Label_14;
|
||||||
|
qtarch_Label_14 = new QLabel( this, "Label_14" );
|
||||||
|
qtarch_Label_14->setGeometry( 5, 231, 58, 25 );
|
||||||
|
qtarch_Label_14->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_Label_14->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_Label_14->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_Label_14->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_Label_14->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Label_14->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Label_14->setFrameStyle( 0 );
|
||||||
|
qtarch_Label_14->setLineWidth( 1 );
|
||||||
|
qtarch_Label_14->setMidLineWidth( 0 );
|
||||||
|
qtarch_Label_14->QFrame::setMargin( 0 );
|
||||||
|
qtarch_Label_14->setText( _("Plus") );
|
||||||
|
qtarch_Label_14->setAlignment( 289 );
|
||||||
|
qtarch_Label_14->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_belowminuslabel;
|
||||||
|
qtarch_belowminuslabel = new QLabel( this, "belowminuslabel" );
|
||||||
|
qtarch_belowminuslabel->setGeometry( 5, 261, 58, 24 );
|
||||||
|
qtarch_belowminuslabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_belowminuslabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_belowminuslabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_belowminuslabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_belowminuslabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_belowminuslabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_belowminuslabel->setFrameStyle( 0 );
|
||||||
|
qtarch_belowminuslabel->setLineWidth( 1 );
|
||||||
|
qtarch_belowminuslabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_belowminuslabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_belowminuslabel->setText( _("Minus") );
|
||||||
|
qtarch_belowminuslabel->setAlignment( 289 );
|
||||||
|
qtarch_belowminuslabel->setMargin( -1 );
|
||||||
|
|
||||||
|
spacebelowvalue = new KRestrictedLine( this, "spacebelowvalue" );
|
||||||
|
spacebelowvalue->setGeometry( 68, 202, 3, 24 );
|
||||||
|
spacebelowvalue->setMinimumSize( 0, 0 );
|
||||||
|
spacebelowvalue->setMaximumSize( 32767, 32767 );
|
||||||
|
spacebelowvalue->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spacebelowvalue->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
spacebelowvalue->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spacebelowvalue->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
spacebelowvalue->setText( "" );
|
||||||
|
spacebelowvalue->setMaxLength( 8 );
|
||||||
|
spacebelowvalue->setFrame( QLineEdit::Normal );
|
||||||
|
spacebelowvalue->setFrame( true );
|
||||||
|
spacebelowvalue->setValidChars( "0123456789.," );
|
||||||
|
|
||||||
|
spacebelowplus = new KRestrictedLine( this, "spacebelowplus" );
|
||||||
|
spacebelowplus->setGeometry( 68, 231, 3, 25 );
|
||||||
|
spacebelowplus->setMinimumSize( 0, 0 );
|
||||||
|
spacebelowplus->setMaximumSize( 32767, 32767 );
|
||||||
|
spacebelowplus->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spacebelowplus->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
spacebelowplus->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spacebelowplus->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
spacebelowplus->setText( "" );
|
||||||
|
spacebelowplus->setMaxLength( 8 );
|
||||||
|
spacebelowplus->setFrame( QLineEdit::Normal );
|
||||||
|
spacebelowplus->setFrame( true );
|
||||||
|
spacebelowplus->setValidChars( "0123456789.," );
|
||||||
|
|
||||||
|
spacebelowminus = new KRestrictedLine( this, "spacebelowminus" );
|
||||||
|
spacebelowminus->setGeometry( 68, 261, 3, 24 );
|
||||||
|
spacebelowminus->setMinimumSize( 0, 0 );
|
||||||
|
spacebelowminus->setMaximumSize( 32767, 32767 );
|
||||||
|
spacebelowminus->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spacebelowminus->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
spacebelowminus->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spacebelowminus->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
spacebelowminus->setText( "" );
|
||||||
|
spacebelowminus->setMaxLength( 8 );
|
||||||
|
spacebelowminus->setFrame( QLineEdit::Normal );
|
||||||
|
spacebelowminus->setFrame( true );
|
||||||
|
spacebelowminus->setValidChars( "0123456789.," );
|
||||||
|
|
||||||
|
spacebelowvalueunits = new QComboBox( FALSE, this, "spacebelowvalueunits" );
|
||||||
|
spacebelowvalueunits->setGeometry( 76, 202, 234, 24 );
|
||||||
|
spacebelowvalueunits->setMinimumSize( 0, 0 );
|
||||||
|
spacebelowvalueunits->setMaximumSize( 32767, 32767 );
|
||||||
|
spacebelowvalueunits->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spacebelowvalueunits->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spacebelowvalueunits->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spacebelowvalueunits->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spacebelowvalueunits->setSizeLimit( 10 );
|
||||||
|
spacebelowvalueunits->setAutoResize( false );
|
||||||
|
spacebelowvalueunits->setMaxCount( 2147483647 );
|
||||||
|
spacebelowvalueunits->setAutoCompletion( false );
|
||||||
|
|
||||||
|
spacebelowplusunits = new QComboBox( FALSE, this, "spacebelowplusunits" );
|
||||||
|
spacebelowplusunits->setGeometry( 76, 231, 234, 25 );
|
||||||
|
spacebelowplusunits->setMinimumSize( 0, 0 );
|
||||||
|
spacebelowplusunits->setMaximumSize( 32767, 32767 );
|
||||||
|
spacebelowplusunits->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spacebelowplusunits->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spacebelowplusunits->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spacebelowplusunits->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spacebelowplusunits->setSizeLimit( 10 );
|
||||||
|
spacebelowplusunits->setAutoResize( false );
|
||||||
|
spacebelowplusunits->setMaxCount( 2147483647 );
|
||||||
|
spacebelowplusunits->setAutoCompletion( false );
|
||||||
|
|
||||||
|
spacebelowminusunits = new QComboBox( FALSE, this, "spacebelowminusunits" );
|
||||||
|
spacebelowminusunits->setGeometry( 76, 261, 234, 24 );
|
||||||
|
spacebelowminusunits->setMinimumSize( 0, 0 );
|
||||||
|
spacebelowminusunits->setMaximumSize( 32767, 32767 );
|
||||||
|
spacebelowminusunits->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
spacebelowminusunits->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spacebelowminusunits->setFontPropagation( QWidget::AllChildren );
|
||||||
|
spacebelowminusunits->setPalettePropagation( QWidget::AllChildren );
|
||||||
|
spacebelowminusunits->setSizeLimit( 10 );
|
||||||
|
spacebelowminusunits->setAutoResize( false );
|
||||||
|
spacebelowminusunits->setMaxCount( 2147483647 );
|
||||||
|
spacebelowminusunits->setAutoCompletion( false );
|
||||||
|
|
||||||
|
if (pagebreakbelow->sizeHint().width()!=-1)
|
||||||
|
pagebreakbelow->setMinimumWidth(pagebreakbelow->sizeHint().width());
|
||||||
|
if (pagebreakbelow->sizeHint().height()!=-1)
|
||||||
|
pagebreakbelow->setMinimumHeight(pagebreakbelow->sizeHint().height());
|
||||||
|
if (pagebreakbelow->sizeHint().width()!=-1)
|
||||||
|
pagebreakbelow->setMaximumWidth(pagebreakbelow->sizeHint().width());
|
||||||
|
if (pagebreakbelow->sizeHint().height()!=-1)
|
||||||
|
pagebreakbelow->setMaximumHeight(pagebreakbelow->sizeHint().height());
|
||||||
|
if (keepbelow->sizeHint().width()!=-1)
|
||||||
|
keepbelow->setMinimumWidth(keepbelow->sizeHint().width());
|
||||||
|
if (keepbelow->sizeHint().height()!=-1)
|
||||||
|
keepbelow->setMinimumHeight(keepbelow->sizeHint().height());
|
||||||
|
if (keepbelow->sizeHint().width()!=-1)
|
||||||
|
keepbelow->setMaximumWidth(keepbelow->sizeHint().width());
|
||||||
|
if (keepbelow->sizeHint().height()!=-1)
|
||||||
|
keepbelow->setMaximumHeight(keepbelow->sizeHint().height());
|
||||||
|
if (qtarch_belowlabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_belowlabel->setMinimumWidth(qtarch_belowlabel->sizeHint().width());
|
||||||
|
if (qtarch_belowlabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_belowlabel->setMinimumHeight(qtarch_belowlabel->sizeHint().height());
|
||||||
|
if (qtarch_belowlabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_belowlabel->setMaximumWidth(qtarch_belowlabel->sizeHint().width());
|
||||||
|
if (qtarch_belowlabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_belowlabel->setMaximumHeight(qtarch_belowlabel->sizeHint().height());
|
||||||
|
if (spacebelow->sizeHint().width()!=-1)
|
||||||
|
spacebelow->setMinimumWidth(spacebelow->sizeHint().width());
|
||||||
|
if (spacebelow->sizeHint().height()!=-1)
|
||||||
|
spacebelow->setMinimumHeight(spacebelow->sizeHint().height());
|
||||||
|
if (spacebelow->sizeHint().height()!=-1)
|
||||||
|
spacebelow->setMaximumHeight(spacebelow->sizeHint().height());
|
||||||
|
if (qtarch_ValueLabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_ValueLabel->setMinimumWidth(qtarch_ValueLabel->sizeHint().width());
|
||||||
|
if (qtarch_ValueLabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_ValueLabel->setMinimumHeight(qtarch_ValueLabel->sizeHint().height());
|
||||||
|
if (qtarch_Label_14->sizeHint().width()!=-1)
|
||||||
|
qtarch_Label_14->setMinimumWidth(qtarch_Label_14->sizeHint().width());
|
||||||
|
if (qtarch_Label_14->sizeHint().height()!=-1)
|
||||||
|
qtarch_Label_14->setMinimumHeight(qtarch_Label_14->sizeHint().height());
|
||||||
|
if (qtarch_belowminuslabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_belowminuslabel->setMinimumWidth(qtarch_belowminuslabel->sizeHint().width());
|
||||||
|
if (qtarch_belowminuslabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_belowminuslabel->setMinimumHeight(qtarch_belowminuslabel->sizeHint().height());
|
||||||
|
if (spacebelowvalue->sizeHint().width()!=-1)
|
||||||
|
spacebelowvalue->setMinimumWidth(spacebelowvalue->sizeHint().width());
|
||||||
|
if (spacebelowvalue->sizeHint().height()!=-1)
|
||||||
|
spacebelowvalue->setMinimumHeight(spacebelowvalue->sizeHint().height());
|
||||||
|
if (spacebelowvalue->sizeHint().height()!=-1)
|
||||||
|
spacebelowvalue->setMaximumHeight(spacebelowvalue->sizeHint().height());
|
||||||
|
if (spacebelowplus->sizeHint().width()!=-1)
|
||||||
|
spacebelowplus->setMinimumWidth(spacebelowplus->sizeHint().width());
|
||||||
|
if (spacebelowplus->sizeHint().height()!=-1)
|
||||||
|
spacebelowplus->setMinimumHeight(spacebelowplus->sizeHint().height());
|
||||||
|
if (spacebelowplus->sizeHint().height()!=-1)
|
||||||
|
spacebelowplus->setMaximumHeight(spacebelowplus->sizeHint().height());
|
||||||
|
if (spacebelowminus->sizeHint().width()!=-1)
|
||||||
|
spacebelowminus->setMinimumWidth(spacebelowminus->sizeHint().width());
|
||||||
|
if (spacebelowminus->sizeHint().height()!=-1)
|
||||||
|
spacebelowminus->setMinimumHeight(spacebelowminus->sizeHint().height());
|
||||||
|
if (spacebelowminus->sizeHint().height()!=-1)
|
||||||
|
spacebelowminus->setMaximumHeight(spacebelowminus->sizeHint().height());
|
||||||
|
if (spacebelowvalueunits->sizeHint().width()!=-1)
|
||||||
|
spacebelowvalueunits->setMinimumWidth(spacebelowvalueunits->sizeHint().width());
|
||||||
|
if (spacebelowvalueunits->sizeHint().height()!=-1)
|
||||||
|
spacebelowvalueunits->setMinimumHeight(spacebelowvalueunits->sizeHint().height());
|
||||||
|
if (spacebelowvalueunits->sizeHint().height()!=-1)
|
||||||
|
spacebelowvalueunits->setMaximumHeight(spacebelowvalueunits->sizeHint().height());
|
||||||
|
if (spacebelowplusunits->sizeHint().width()!=-1)
|
||||||
|
spacebelowplusunits->setMinimumWidth(spacebelowplusunits->sizeHint().width());
|
||||||
|
if (spacebelowplusunits->sizeHint().height()!=-1)
|
||||||
|
spacebelowplusunits->setMinimumHeight(spacebelowplusunits->sizeHint().height());
|
||||||
|
if (spacebelowplusunits->sizeHint().height()!=-1)
|
||||||
|
spacebelowplusunits->setMaximumHeight(spacebelowplusunits->sizeHint().height());
|
||||||
|
if (spacebelowminusunits->sizeHint().width()!=-1)
|
||||||
|
spacebelowminusunits->setMinimumWidth(spacebelowminusunits->sizeHint().width());
|
||||||
|
if (spacebelowminusunits->sizeHint().height()!=-1)
|
||||||
|
spacebelowminusunits->setMinimumHeight(spacebelowminusunits->sizeHint().height());
|
||||||
|
if (spacebelowminusunits->sizeHint().height()!=-1)
|
||||||
|
spacebelowminusunits->setMaximumHeight(spacebelowminusunits->sizeHint().height());
|
||||||
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1->addWidget( pagebreakbelow, 2, 1 );
|
||||||
|
qtarch_layout_1->addWidget( keepbelow, 2, 1 );
|
||||||
|
QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_3, 1 );
|
||||||
|
qtarch_layout_1_3->addStrut( 0 );
|
||||||
|
qtarch_layout_1_3->addWidget( qtarch_belowlabel, 1, 1 );
|
||||||
|
qtarch_layout_1_3->addWidget( spacebelow, 2, 36 );
|
||||||
|
QGridLayout* qtarch_layout_1_4 = new QGridLayout( 3, 3, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_4, 2 );
|
||||||
|
qtarch_layout_1_4->addColSpacing( 0, 1 );
|
||||||
|
qtarch_layout_1_4->setColStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_4->addColSpacing( 1, 3 );
|
||||||
|
qtarch_layout_1_4->setColStretch( 1, 0 );
|
||||||
|
qtarch_layout_1_4->addColSpacing( 2, 5 );
|
||||||
|
qtarch_layout_1_4->setColStretch( 2, 4 );
|
||||||
|
qtarch_layout_1_4->addRowSpacing( 0, 0 );
|
||||||
|
qtarch_layout_1_4->setRowStretch( 0, 1 );
|
||||||
|
qtarch_layout_1_4->addWidget( qtarch_ValueLabel, 0, 0, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spacebelowvalue, 0, 1, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spacebelowvalueunits, 0, 2, 36 );
|
||||||
|
qtarch_layout_1_4->addRowSpacing( 1, 0 );
|
||||||
|
qtarch_layout_1_4->setRowStretch( 1, 1 );
|
||||||
|
qtarch_layout_1_4->addWidget( qtarch_Label_14, 1, 0, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spacebelowplus, 1, 1, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spacebelowplusunits, 1, 2, 36 );
|
||||||
|
qtarch_layout_1_4->addRowSpacing( 2, 0 );
|
||||||
|
qtarch_layout_1_4->setRowStretch( 2, 1 );
|
||||||
|
qtarch_layout_1_4->addWidget( qtarch_belowminuslabel, 2, 0, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spacebelowminus, 2, 1, 36 );
|
||||||
|
qtarch_layout_1_4->addWidget( spacebelowminusunits, 2, 2, 36 );
|
||||||
|
resize( 315,290 );
|
||||||
|
setMinimumSize( 0, 0 );
|
||||||
|
setMaximumSize( 32767, 32767 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ParaBelowDialogData::~ParaBelowDialogData()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void ParaBelowDialogData::spacebelowHighlighted(int)
|
||||||
|
{
|
||||||
|
}
|
55
src/frontends/kde/dlg/parabelowdlgdata.h
Normal file
55
src/frontends/kde/dlg/parabelowdlgdata.h
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: parabelowdlgdata.h
|
||||||
|
Last generated: Mon Dec 4 13:48:23 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef ParaBelowDialogData_included
|
||||||
|
#define ParaBelowDialogData_included
|
||||||
|
|
||||||
|
#include <qwidget.h>
|
||||||
|
#include <qcheckbox.h>
|
||||||
|
#include <qcombobox.h>
|
||||||
|
#include <krestrictedline.h>
|
||||||
|
|
||||||
|
class ParaBelowDialogData : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
ParaBelowDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~ParaBelowDialogData();
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
|
||||||
|
virtual void spacebelowHighlighted(int);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
QCheckBox* pagebreakbelow;
|
||||||
|
QCheckBox* keepbelow;
|
||||||
|
QComboBox* spacebelow;
|
||||||
|
KRestrictedLine* spacebelowvalue;
|
||||||
|
KRestrictedLine* spacebelowplus;
|
||||||
|
KRestrictedLine* spacebelowminus;
|
||||||
|
QComboBox* spacebelowvalueunits;
|
||||||
|
QComboBox* spacebelowplusunits;
|
||||||
|
QComboBox* spacebelowminusunits;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // ParaBelowDialogData_included
|
28
src/frontends/kde/dlg/paradlg.C
Normal file
28
src/frontends/kde/dlg/paradlg.C
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paradlg.C
|
||||||
|
Last generated: Mon Dec 4 13:48:15 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include "paradlg.h"
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#define Inherited ParaDialogData
|
||||||
|
|
||||||
|
ParaDialog::ParaDialog
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ParaDialog::~ParaDialog()
|
||||||
|
{
|
||||||
|
}
|
30
src/frontends/kde/dlg/paradlg.h
Normal file
30
src/frontends/kde/dlg/paradlg.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paradlg.h
|
||||||
|
Last generated: Mon Dec 4 13:48:15 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef ParaDialog_included
|
||||||
|
#define ParaDialog_included
|
||||||
|
|
||||||
|
#include "paradlgdata.h"
|
||||||
|
|
||||||
|
class ParaDialog : public ParaDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
ParaDialog
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~ParaDialog();
|
||||||
|
|
||||||
|
};
|
||||||
|
#endif // ParaDialog_included
|
181
src/frontends/kde/dlg/paradlgdata.C
Normal file
181
src/frontends/kde/dlg/paradlgdata.C
Normal file
@ -0,0 +1,181 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paradlgdata.C
|
||||||
|
Last generated: Mon Dec 4 13:48:15 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#include <qpixmap.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include "paradlgdata.h"
|
||||||
|
|
||||||
|
#define Inherited QWidget
|
||||||
|
|
||||||
|
|
||||||
|
ParaDialogData::ParaDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name, 0 )
|
||||||
|
{
|
||||||
|
ok = new QPushButton( this, "OK" );
|
||||||
|
ok->setGeometry( 73, 555, 69, 55 );
|
||||||
|
ok->setMinimumSize( 0, 0 );
|
||||||
|
ok->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( ok, SIGNAL(clicked()), SLOT(ok_adaptor()) );
|
||||||
|
ok->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
ok->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
ok->setFontPropagation( QWidget::NoChildren );
|
||||||
|
ok->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
ok->setText( _("OK") );
|
||||||
|
ok->setAutoRepeat( false );
|
||||||
|
ok->setAutoResize( false );
|
||||||
|
ok->setToggleButton( false );
|
||||||
|
ok->setDefault( true );
|
||||||
|
ok->setAutoDefault( false );
|
||||||
|
ok->setIsMenuButton( false );
|
||||||
|
|
||||||
|
tabstack = new TabStack( this, "User_1" );
|
||||||
|
tabstack->setGeometry( 5, 5, 630, 545 );
|
||||||
|
tabstack->setMinimumSize( 0, 0 );
|
||||||
|
tabstack->setMaximumSize( 32767, 32767 );
|
||||||
|
tabstack->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
tabstack->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
tabstack->setFontPropagation( QWidget::NoChildren );
|
||||||
|
tabstack->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
apply = new QPushButton( this, "apply" );
|
||||||
|
apply->setGeometry( 215, 555, 68, 55 );
|
||||||
|
apply->setMinimumSize( 0, 0 );
|
||||||
|
apply->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( apply, SIGNAL(clicked()), SLOT(apply_adaptor()) );
|
||||||
|
apply->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
apply->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
apply->setFontPropagation( QWidget::NoChildren );
|
||||||
|
apply->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
apply->setText( _("Apply") );
|
||||||
|
apply->setAutoRepeat( false );
|
||||||
|
apply->setAutoResize( false );
|
||||||
|
apply->setToggleButton( false );
|
||||||
|
apply->setDefault( false );
|
||||||
|
apply->setAutoDefault( false );
|
||||||
|
apply->setIsMenuButton( false );
|
||||||
|
|
||||||
|
restore = new QPushButton( this, "restore" );
|
||||||
|
restore->setGeometry( 357, 555, 68, 55 );
|
||||||
|
restore->setMinimumSize( 0, 0 );
|
||||||
|
restore->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( restore, SIGNAL(clicked()), SLOT(restore_adaptor()) );
|
||||||
|
restore->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
restore->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
restore->setFontPropagation( QWidget::NoChildren );
|
||||||
|
restore->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
restore->setText( _("Restore") );
|
||||||
|
restore->setAutoRepeat( false );
|
||||||
|
restore->setAutoResize( false );
|
||||||
|
restore->setToggleButton( false );
|
||||||
|
restore->setDefault( false );
|
||||||
|
restore->setAutoDefault( false );
|
||||||
|
restore->setIsMenuButton( false );
|
||||||
|
|
||||||
|
cancel = new QPushButton( this, "Cancel" );
|
||||||
|
cancel->setGeometry( 498, 555, 69, 55 );
|
||||||
|
cancel->setMinimumSize( 0, 0 );
|
||||||
|
cancel->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( cancel, SIGNAL(clicked()), SLOT(cancel_adaptor()) );
|
||||||
|
cancel->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
cancel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
cancel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
cancel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
cancel->setText( _("Cancel") );
|
||||||
|
cancel->setAutoRepeat( false );
|
||||||
|
cancel->setAutoResize( false );
|
||||||
|
cancel->setToggleButton( false );
|
||||||
|
cancel->setDefault( false );
|
||||||
|
cancel->setAutoDefault( false );
|
||||||
|
cancel->setIsMenuButton( false );
|
||||||
|
|
||||||
|
if (ok->sizeHint().width()!=-1)
|
||||||
|
ok->setMinimumWidth(ok->sizeHint().width());
|
||||||
|
if (ok->sizeHint().height()!=-1)
|
||||||
|
ok->setMinimumHeight(ok->sizeHint().height());
|
||||||
|
if (ok->sizeHint().width()!=-1)
|
||||||
|
ok->setMaximumWidth(ok->sizeHint().width());
|
||||||
|
if (ok->sizeHint().height()!=-1)
|
||||||
|
ok->setMaximumHeight(ok->sizeHint().height());
|
||||||
|
if (tabstack->sizeHint().width()!=-1)
|
||||||
|
tabstack->setMinimumWidth(tabstack->sizeHint().width());
|
||||||
|
if (tabstack->sizeHint().height()!=-1)
|
||||||
|
tabstack->setMinimumHeight(tabstack->sizeHint().height());
|
||||||
|
if (apply->sizeHint().width()!=-1)
|
||||||
|
apply->setMinimumWidth(apply->sizeHint().width());
|
||||||
|
if (apply->sizeHint().height()!=-1)
|
||||||
|
apply->setMinimumHeight(apply->sizeHint().height());
|
||||||
|
if (apply->sizeHint().width()!=-1)
|
||||||
|
apply->setMaximumWidth(apply->sizeHint().width());
|
||||||
|
if (apply->sizeHint().height()!=-1)
|
||||||
|
apply->setMaximumHeight(apply->sizeHint().height());
|
||||||
|
if (restore->sizeHint().width()!=-1)
|
||||||
|
restore->setMinimumWidth(restore->sizeHint().width());
|
||||||
|
if (restore->sizeHint().height()!=-1)
|
||||||
|
restore->setMinimumHeight(restore->sizeHint().height());
|
||||||
|
if (restore->sizeHint().width()!=-1)
|
||||||
|
restore->setMaximumWidth(restore->sizeHint().width());
|
||||||
|
if (restore->sizeHint().height()!=-1)
|
||||||
|
restore->setMaximumHeight(restore->sizeHint().height());
|
||||||
|
if (cancel->sizeHint().width()!=-1)
|
||||||
|
cancel->setMinimumWidth(cancel->sizeHint().width());
|
||||||
|
if (cancel->sizeHint().height()!=-1)
|
||||||
|
cancel->setMinimumHeight(cancel->sizeHint().height());
|
||||||
|
if (cancel->sizeHint().width()!=-1)
|
||||||
|
cancel->setMaximumWidth(cancel->sizeHint().width());
|
||||||
|
if (cancel->sizeHint().height()!=-1)
|
||||||
|
cancel->setMaximumHeight(cancel->sizeHint().height());
|
||||||
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1->addStrut( 0 );
|
||||||
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_1, 10 );
|
||||||
|
qtarch_layout_1_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1_1->addWidget( tabstack, 1, 36 );
|
||||||
|
QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_2, 1 );
|
||||||
|
qtarch_layout_1_2->addStrut( 0 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( ok, 1, 36 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( apply, 1, 36 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( restore, 1, 36 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
qtarch_layout_1_2->addWidget( cancel, 1, 36 );
|
||||||
|
qtarch_layout_1_2->addStretch( 1 );
|
||||||
|
resize( 640,615 );
|
||||||
|
setMinimumSize( 0, 0 );
|
||||||
|
setMaximumSize( 32767, 32767 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ParaDialogData::~ParaDialogData()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void ParaDialogData::ok_adaptor()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void ParaDialogData::apply_adaptor()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void ParaDialogData::restore_adaptor()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void ParaDialogData::cancel_adaptor()
|
||||||
|
{
|
||||||
|
}
|
53
src/frontends/kde/dlg/paradlgdata.h
Normal file
53
src/frontends/kde/dlg/paradlgdata.h
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paradlgdata.h
|
||||||
|
Last generated: Mon Dec 4 13:48:15 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef ParaDialogData_included
|
||||||
|
#define ParaDialogData_included
|
||||||
|
|
||||||
|
#include <qwidget.h>
|
||||||
|
#include "tabstack.h"
|
||||||
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
|
class ParaDialogData : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
ParaDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~ParaDialogData();
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
|
||||||
|
virtual void ok_adaptor();
|
||||||
|
virtual void restore_adaptor();
|
||||||
|
virtual void apply_adaptor();
|
||||||
|
virtual void cancel_adaptor();
|
||||||
|
|
||||||
|
public:
|
||||||
|
QPushButton* ok;
|
||||||
|
TabStack* tabstack;
|
||||||
|
QPushButton* apply;
|
||||||
|
QPushButton* restore;
|
||||||
|
QPushButton* cancel;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // ParaDialogData_included
|
28
src/frontends/kde/dlg/paraextradlg.C
Normal file
28
src/frontends/kde/dlg/paraextradlg.C
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paraextradlg.C
|
||||||
|
Last generated: Mon Dec 4 13:48:26 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include "paraextradlg.h"
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#define Inherited ParaExtraDialogData
|
||||||
|
|
||||||
|
ParaExtraDialog::ParaExtraDialog
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ParaExtraDialog::~ParaExtraDialog()
|
||||||
|
{
|
||||||
|
}
|
30
src/frontends/kde/dlg/paraextradlg.h
Normal file
30
src/frontends/kde/dlg/paraextradlg.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: paraextradlg.h
|
||||||
|
Last generated: Mon Dec 4 13:48:26 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef ParaExtraDialog_included
|
||||||
|
#define ParaExtraDialog_included
|
||||||
|
|
||||||
|
#include "paraextradlgdata.h"
|
||||||
|
|
||||||
|
class ParaExtraDialog : public ParaExtraDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
ParaExtraDialog
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~ParaExtraDialog();
|
||||||
|
|
||||||
|
};
|
||||||
|
#endif // ParaExtraDialog_included
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paraextradlgdata.C
|
File: paraextradlgdata.C
|
||||||
Last generated: Tue Oct 24 13:38:14 2000
|
Last generated: Mon Dec 4 13:48:26 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -42,7 +42,7 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
specialalignment->QFrame::setMargin( 0 );
|
specialalignment->QFrame::setMargin( 0 );
|
||||||
specialalignment->setTitle( _("Alignment") );
|
specialalignment->setTitle( _("Alignment") );
|
||||||
specialalignment->setAlignment( 1 );
|
specialalignment->setAlignment( 1 );
|
||||||
specialalignment->setExclusive( TRUE );
|
specialalignment->setExclusive( true );
|
||||||
|
|
||||||
type = new QComboBox( FALSE, this, "type" );
|
type = new QComboBox( FALSE, this, "type" );
|
||||||
type->setGeometry( 5, 65, 265, 54 );
|
type->setGeometry( 5, 65, 265, 54 );
|
||||||
@ -54,9 +54,9 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
type->setFontPropagation( QWidget::AllChildren );
|
type->setFontPropagation( QWidget::AllChildren );
|
||||||
type->setPalettePropagation( QWidget::AllChildren );
|
type->setPalettePropagation( QWidget::AllChildren );
|
||||||
type->setSizeLimit( 10 );
|
type->setSizeLimit( 10 );
|
||||||
type->setAutoResize( FALSE );
|
type->setAutoResize( false );
|
||||||
type->setMaxCount( 2147483647 );
|
type->setMaxCount( 2147483647 );
|
||||||
type->setAutoCompletion( FALSE );
|
type->setAutoCompletion( false );
|
||||||
|
|
||||||
QLabel* qtarch_speciallabel;
|
QLabel* qtarch_speciallabel;
|
||||||
qtarch_speciallabel = new QLabel( this, "speciallabel" );
|
qtarch_speciallabel = new QLabel( this, "speciallabel" );
|
||||||
@ -101,9 +101,9 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
widthvalueunits->setFontPropagation( QWidget::AllChildren );
|
widthvalueunits->setFontPropagation( QWidget::AllChildren );
|
||||||
widthvalueunits->setPalettePropagation( QWidget::AllChildren );
|
widthvalueunits->setPalettePropagation( QWidget::AllChildren );
|
||||||
widthvalueunits->setSizeLimit( 10 );
|
widthvalueunits->setSizeLimit( 10 );
|
||||||
widthvalueunits->setAutoResize( FALSE );
|
widthvalueunits->setAutoResize( false );
|
||||||
widthvalueunits->setMaxCount( 2147483647 );
|
widthvalueunits->setMaxCount( 2147483647 );
|
||||||
widthvalueunits->setAutoCompletion( FALSE );
|
widthvalueunits->setAutoCompletion( false );
|
||||||
|
|
||||||
hfillbetween = new QCheckBox( this, "hfillbetween" );
|
hfillbetween = new QCheckBox( this, "hfillbetween" );
|
||||||
hfillbetween->setGeometry( 275, 189, 265, 65 );
|
hfillbetween->setGeometry( 275, 189, 265, 65 );
|
||||||
@ -114,9 +114,9 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
hfillbetween->setFontPropagation( QWidget::NoChildren );
|
hfillbetween->setFontPropagation( QWidget::NoChildren );
|
||||||
hfillbetween->setPalettePropagation( QWidget::NoChildren );
|
hfillbetween->setPalettePropagation( QWidget::NoChildren );
|
||||||
hfillbetween->setText( _("&HFill between minipage paragraphs") );
|
hfillbetween->setText( _("&HFill between minipage paragraphs") );
|
||||||
hfillbetween->setAutoRepeat( FALSE );
|
hfillbetween->setAutoRepeat( false );
|
||||||
hfillbetween->setAutoResize( FALSE );
|
hfillbetween->setAutoResize( false );
|
||||||
hfillbetween->setChecked( FALSE );
|
hfillbetween->setChecked( false );
|
||||||
|
|
||||||
startnewminipage = new QCheckBox( this, "startnewminipage" );
|
startnewminipage = new QCheckBox( this, "startnewminipage" );
|
||||||
startnewminipage->setGeometry( 275, 325, 265, 65 );
|
startnewminipage->setGeometry( 275, 325, 265, 65 );
|
||||||
@ -127,9 +127,9 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
startnewminipage->setFontPropagation( QWidget::NoChildren );
|
startnewminipage->setFontPropagation( QWidget::NoChildren );
|
||||||
startnewminipage->setPalettePropagation( QWidget::NoChildren );
|
startnewminipage->setPalettePropagation( QWidget::NoChildren );
|
||||||
startnewminipage->setText( _("&Start new minipage") );
|
startnewminipage->setText( _("&Start new minipage") );
|
||||||
startnewminipage->setAutoRepeat( FALSE );
|
startnewminipage->setAutoRepeat( false );
|
||||||
startnewminipage->setAutoResize( FALSE );
|
startnewminipage->setAutoResize( false );
|
||||||
startnewminipage->setChecked( FALSE );
|
startnewminipage->setChecked( false );
|
||||||
|
|
||||||
top = new QRadioButton( specialalignment, "top" );
|
top = new QRadioButton( specialalignment, "top" );
|
||||||
top->setGeometry( 5, 49, 255, 45 );
|
top->setGeometry( 5, 49, 255, 45 );
|
||||||
@ -140,9 +140,9 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
top->setFontPropagation( QWidget::NoChildren );
|
top->setFontPropagation( QWidget::NoChildren );
|
||||||
top->setPalettePropagation( QWidget::NoChildren );
|
top->setPalettePropagation( QWidget::NoChildren );
|
||||||
top->setText( _("&Top") );
|
top->setText( _("&Top") );
|
||||||
top->setAutoRepeat( FALSE );
|
top->setAutoRepeat( false );
|
||||||
top->setAutoResize( FALSE );
|
top->setAutoResize( false );
|
||||||
top->setChecked( FALSE );
|
top->setChecked( false );
|
||||||
|
|
||||||
middle = new QRadioButton( specialalignment, "middle" );
|
middle = new QRadioButton( specialalignment, "middle" );
|
||||||
middle->setGeometry( 5, 143, 255, 45 );
|
middle->setGeometry( 5, 143, 255, 45 );
|
||||||
@ -153,9 +153,9 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
middle->setFontPropagation( QWidget::NoChildren );
|
middle->setFontPropagation( QWidget::NoChildren );
|
||||||
middle->setPalettePropagation( QWidget::NoChildren );
|
middle->setPalettePropagation( QWidget::NoChildren );
|
||||||
middle->setText( _("&Middle") );
|
middle->setText( _("&Middle") );
|
||||||
middle->setAutoRepeat( FALSE );
|
middle->setAutoRepeat( false );
|
||||||
middle->setAutoResize( FALSE );
|
middle->setAutoResize( false );
|
||||||
middle->setChecked( FALSE );
|
middle->setChecked( false );
|
||||||
|
|
||||||
bottom = new QRadioButton( specialalignment, "bottom" );
|
bottom = new QRadioButton( specialalignment, "bottom" );
|
||||||
bottom->setGeometry( 5, 237, 255, 45 );
|
bottom->setGeometry( 5, 237, 255, 45 );
|
||||||
@ -166,9 +166,9 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
bottom->setFontPropagation( QWidget::NoChildren );
|
bottom->setFontPropagation( QWidget::NoChildren );
|
||||||
bottom->setPalettePropagation( QWidget::NoChildren );
|
bottom->setPalettePropagation( QWidget::NoChildren );
|
||||||
bottom->setText( _("&Bottom") );
|
bottom->setText( _("&Bottom") );
|
||||||
bottom->setAutoRepeat( FALSE );
|
bottom->setAutoRepeat( false );
|
||||||
bottom->setAutoResize( FALSE );
|
bottom->setAutoResize( false );
|
||||||
bottom->setChecked( FALSE );
|
bottom->setChecked( false );
|
||||||
|
|
||||||
widthvalue = new KRestrictedLine( this, "widthvalue" );
|
widthvalue = new KRestrictedLine( this, "widthvalue" );
|
||||||
widthvalue->setGeometry( 275, 65, 87, 54 );
|
widthvalue->setGeometry( 275, 65, 87, 54 );
|
||||||
@ -181,7 +181,7 @@ ParaExtraDialogData::ParaExtraDialogData
|
|||||||
widthvalue->setText( "" );
|
widthvalue->setText( "" );
|
||||||
widthvalue->setMaxLength( 32767 );
|
widthvalue->setMaxLength( 32767 );
|
||||||
widthvalue->setFrame( QLineEdit::Normal );
|
widthvalue->setFrame( QLineEdit::Normal );
|
||||||
widthvalue->setFrame( TRUE );
|
widthvalue->setFrame( true );
|
||||||
widthvalue->setValidChars( "0123456789.-," );
|
widthvalue->setValidChars( "0123456789.-," );
|
||||||
|
|
||||||
specialalignment->insert( top );
|
specialalignment->insert( top );
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: paraextradlgdata.h
|
File: paraextradlgdata.h
|
||||||
Last generated: Tue Oct 24 13:38:14 2000
|
Last generated: Mon Dec 4 13:48:26 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -41,7 +41,7 @@ protected slots:
|
|||||||
|
|
||||||
virtual void typeHighlighted(int);
|
virtual void typeHighlighted(int);
|
||||||
|
|
||||||
protected:
|
public:
|
||||||
QButtonGroup* specialalignment;
|
QButtonGroup* specialalignment;
|
||||||
QComboBox* type;
|
QComboBox* type;
|
||||||
QComboBox* widthvalueunits;
|
QComboBox* widthvalueunits;
|
File diff suppressed because it is too large
Load Diff
28
src/frontends/kde/dlg/parageneraldlg.C
Normal file
28
src/frontends/kde/dlg/parageneraldlg.C
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: parageneraldlg.C
|
||||||
|
Last generated: Mon Dec 4 13:48:18 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include "parageneraldlg.h"
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#define Inherited ParaGeneralDialogData
|
||||||
|
|
||||||
|
ParaGeneralDialog::ParaGeneralDialog
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ParaGeneralDialog::~ParaGeneralDialog()
|
||||||
|
{
|
||||||
|
}
|
30
src/frontends/kde/dlg/parageneraldlg.h
Normal file
30
src/frontends/kde/dlg/parageneraldlg.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: parageneraldlg.h
|
||||||
|
Last generated: Mon Dec 4 13:48:18 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef ParaGeneralDialog_included
|
||||||
|
#define ParaGeneralDialog_included
|
||||||
|
|
||||||
|
#include "parageneraldlgdata.h"
|
||||||
|
|
||||||
|
class ParaGeneralDialog : public ParaGeneralDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
ParaGeneralDialog
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~ParaGeneralDialog();
|
||||||
|
|
||||||
|
};
|
||||||
|
#endif // ParaGeneralDialog_included
|
301
src/frontends/kde/dlg/parageneraldlgdata.C
Normal file
301
src/frontends/kde/dlg/parageneraldlgdata.C
Normal file
@ -0,0 +1,301 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: parageneraldlgdata.C
|
||||||
|
Last generated: Mon Dec 4 13:48:18 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#include <qpixmap.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include "parageneraldlgdata.h"
|
||||||
|
|
||||||
|
#define Inherited QWidget
|
||||||
|
|
||||||
|
#include <qlabel.h>
|
||||||
|
|
||||||
|
ParaGeneralDialogData::ParaGeneralDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name, 0 )
|
||||||
|
{
|
||||||
|
alignment = new QButtonGroup( this, "alignment" );
|
||||||
|
alignment->setGeometry( 5, 5, 123, 375 );
|
||||||
|
alignment->setMinimumSize( 0, 0 );
|
||||||
|
alignment->setMaximumSize( 32767, 32767 );
|
||||||
|
alignment->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
alignment->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
alignment->setFontPropagation( QWidget::NoChildren );
|
||||||
|
alignment->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
alignment->setFrameStyle( 49 );
|
||||||
|
alignment->setLineWidth( 1 );
|
||||||
|
alignment->setMidLineWidth( 0 );
|
||||||
|
alignment->QFrame::setMargin( 0 );
|
||||||
|
alignment->setTitle( _("Alignment") );
|
||||||
|
alignment->setAlignment( 1 );
|
||||||
|
alignment->setExclusive( true );
|
||||||
|
|
||||||
|
lineabove = new QCheckBox( this, "lineabove" );
|
||||||
|
lineabove->setGeometry( 5, 385, 365, 50 );
|
||||||
|
lineabove->setMinimumSize( 0, 0 );
|
||||||
|
lineabove->setMaximumSize( 32767, 32767 );
|
||||||
|
lineabove->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
lineabove->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
lineabove->setFontPropagation( QWidget::NoChildren );
|
||||||
|
lineabove->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
lineabove->setText( _("Draw line above paragraph") );
|
||||||
|
lineabove->setAutoRepeat( false );
|
||||||
|
lineabove->setAutoResize( false );
|
||||||
|
lineabove->setChecked( false );
|
||||||
|
|
||||||
|
linebelow = new QCheckBox( this, "linebelow" );
|
||||||
|
linebelow->setGeometry( 5, 440, 365, 50 );
|
||||||
|
linebelow->setMinimumSize( 0, 0 );
|
||||||
|
linebelow->setMaximumSize( 32767, 32767 );
|
||||||
|
linebelow->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
linebelow->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
linebelow->setFontPropagation( QWidget::NoChildren );
|
||||||
|
linebelow->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
linebelow->setText( _("Draw line below paragraph") );
|
||||||
|
linebelow->setAutoRepeat( false );
|
||||||
|
linebelow->setAutoResize( false );
|
||||||
|
linebelow->setChecked( false );
|
||||||
|
|
||||||
|
noindent = new QCheckBox( this, "noindent" );
|
||||||
|
noindent->setGeometry( 5, 495, 365, 50 );
|
||||||
|
noindent->setMinimumSize( 0, 0 );
|
||||||
|
noindent->setMaximumSize( 32767, 32767 );
|
||||||
|
noindent->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
noindent->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
noindent->setFontPropagation( QWidget::NoChildren );
|
||||||
|
noindent->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
noindent->setText( _("Don't indent paragraph") );
|
||||||
|
noindent->setAutoRepeat( false );
|
||||||
|
noindent->setAutoResize( false );
|
||||||
|
noindent->setChecked( false );
|
||||||
|
|
||||||
|
block = new QRadioButton( alignment, "block" );
|
||||||
|
block->setGeometry( 5, 57, 113, 37 );
|
||||||
|
block->setMinimumSize( 0, 0 );
|
||||||
|
block->setMaximumSize( 32767, 32767 );
|
||||||
|
block->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
block->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
block->setFontPropagation( QWidget::NoChildren );
|
||||||
|
block->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
block->setText( _("Block") );
|
||||||
|
block->setAutoRepeat( false );
|
||||||
|
block->setAutoResize( false );
|
||||||
|
block->setChecked( false );
|
||||||
|
|
||||||
|
center = new QRadioButton( alignment, "center" );
|
||||||
|
center->setGeometry( 5, 137, 113, 37 );
|
||||||
|
center->setMinimumSize( 0, 0 );
|
||||||
|
center->setMaximumSize( 32767, 32767 );
|
||||||
|
center->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
center->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
center->setFontPropagation( QWidget::NoChildren );
|
||||||
|
center->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
center->setText( _("Center") );
|
||||||
|
center->setAutoRepeat( false );
|
||||||
|
center->setAutoResize( false );
|
||||||
|
center->setChecked( false );
|
||||||
|
|
||||||
|
left = new QRadioButton( alignment, "left" );
|
||||||
|
left->setGeometry( 5, 216, 113, 37 );
|
||||||
|
left->setMinimumSize( 0, 0 );
|
||||||
|
left->setMaximumSize( 32767, 32767 );
|
||||||
|
left->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
left->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
left->setFontPropagation( QWidget::NoChildren );
|
||||||
|
left->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
left->setText( _("Left") );
|
||||||
|
left->setAutoRepeat( false );
|
||||||
|
left->setAutoResize( false );
|
||||||
|
left->setChecked( false );
|
||||||
|
|
||||||
|
right = new QRadioButton( alignment, "right" );
|
||||||
|
right->setGeometry( 5, 296, 113, 37 );
|
||||||
|
right->setMinimumSize( 0, 0 );
|
||||||
|
right->setMaximumSize( 32767, 32767 );
|
||||||
|
right->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
right->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
right->setFontPropagation( QWidget::NoChildren );
|
||||||
|
right->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
right->setText( _("Right") );
|
||||||
|
right->setAutoRepeat( false );
|
||||||
|
right->setAutoResize( false );
|
||||||
|
right->setChecked( false );
|
||||||
|
|
||||||
|
QLabel* qtarch_labelwidthlabel;
|
||||||
|
qtarch_labelwidthlabel = new QLabel( this, "labelwidthlabel" );
|
||||||
|
qtarch_labelwidthlabel->setGeometry( 375, 385, 183, 160 );
|
||||||
|
qtarch_labelwidthlabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_labelwidthlabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_labelwidthlabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_labelwidthlabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_labelwidthlabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelwidthlabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_labelwidthlabel->setFrameStyle( 0 );
|
||||||
|
qtarch_labelwidthlabel->setLineWidth( 1 );
|
||||||
|
qtarch_labelwidthlabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_labelwidthlabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_labelwidthlabel->setText( _("Label width") );
|
||||||
|
qtarch_labelwidthlabel->setAlignment( 289 );
|
||||||
|
qtarch_labelwidthlabel->setMargin( -1 );
|
||||||
|
|
||||||
|
labelwidth = new QLineEdit( this, "labelwidth" );
|
||||||
|
labelwidth->setGeometry( 563, 385, 182, 160 );
|
||||||
|
labelwidth->setMinimumSize( 0, 0 );
|
||||||
|
labelwidth->setMaximumSize( 32767, 32767 );
|
||||||
|
labelwidth->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
labelwidth->setBackgroundMode( QWidget::PaletteBase );
|
||||||
|
labelwidth->setFontPropagation( QWidget::NoChildren );
|
||||||
|
labelwidth->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
labelwidth->setText( "" );
|
||||||
|
labelwidth->setMaxLength( 32767 );
|
||||||
|
labelwidth->setFrame( QLineEdit::Normal );
|
||||||
|
labelwidth->setFrame( true );
|
||||||
|
|
||||||
|
spacetab = new TabStack( this, "spacetab" );
|
||||||
|
spacetab->setGeometry( 133, 5, 612, 375 );
|
||||||
|
spacetab->setMinimumSize( 0, 0 );
|
||||||
|
spacetab->setMaximumSize( 32767, 32767 );
|
||||||
|
spacetab->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
spacetab->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
spacetab->setFontPropagation( QWidget::NoChildren );
|
||||||
|
spacetab->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
if (alignment->sizeHint().width()!=-1)
|
||||||
|
alignment->setMinimumWidth(alignment->sizeHint().width());
|
||||||
|
if (alignment->sizeHint().height()!=-1)
|
||||||
|
alignment->setMinimumHeight(alignment->sizeHint().height());
|
||||||
|
alignment->insert( block );
|
||||||
|
alignment->insert( center );
|
||||||
|
alignment->insert( left );
|
||||||
|
alignment->insert( right );
|
||||||
|
|
||||||
|
if (lineabove->sizeHint().width()!=-1)
|
||||||
|
lineabove->setMinimumWidth(lineabove->sizeHint().width());
|
||||||
|
if (lineabove->sizeHint().height()!=-1)
|
||||||
|
lineabove->setMinimumHeight(lineabove->sizeHint().height());
|
||||||
|
if (lineabove->sizeHint().width()!=-1)
|
||||||
|
lineabove->setMaximumWidth(lineabove->sizeHint().width());
|
||||||
|
if (lineabove->sizeHint().height()!=-1)
|
||||||
|
lineabove->setMaximumHeight(lineabove->sizeHint().height());
|
||||||
|
if (linebelow->sizeHint().width()!=-1)
|
||||||
|
linebelow->setMinimumWidth(linebelow->sizeHint().width());
|
||||||
|
if (linebelow->sizeHint().height()!=-1)
|
||||||
|
linebelow->setMinimumHeight(linebelow->sizeHint().height());
|
||||||
|
if (linebelow->sizeHint().width()!=-1)
|
||||||
|
linebelow->setMaximumWidth(linebelow->sizeHint().width());
|
||||||
|
if (linebelow->sizeHint().height()!=-1)
|
||||||
|
linebelow->setMaximumHeight(linebelow->sizeHint().height());
|
||||||
|
if (noindent->sizeHint().width()!=-1)
|
||||||
|
noindent->setMinimumWidth(noindent->sizeHint().width());
|
||||||
|
if (noindent->sizeHint().height()!=-1)
|
||||||
|
noindent->setMinimumHeight(noindent->sizeHint().height());
|
||||||
|
if (noindent->sizeHint().width()!=-1)
|
||||||
|
noindent->setMaximumWidth(noindent->sizeHint().width());
|
||||||
|
if (noindent->sizeHint().height()!=-1)
|
||||||
|
noindent->setMaximumHeight(noindent->sizeHint().height());
|
||||||
|
if (block->sizeHint().width()!=-1)
|
||||||
|
block->setMinimumWidth(block->sizeHint().width());
|
||||||
|
if (block->sizeHint().height()!=-1)
|
||||||
|
block->setMinimumHeight(block->sizeHint().height());
|
||||||
|
if (block->sizeHint().width()!=-1)
|
||||||
|
block->setMaximumWidth(block->sizeHint().width());
|
||||||
|
if (block->sizeHint().height()!=-1)
|
||||||
|
block->setMaximumHeight(block->sizeHint().height());
|
||||||
|
if (center->sizeHint().width()!=-1)
|
||||||
|
center->setMinimumWidth(center->sizeHint().width());
|
||||||
|
if (center->sizeHint().height()!=-1)
|
||||||
|
center->setMinimumHeight(center->sizeHint().height());
|
||||||
|
if (center->sizeHint().width()!=-1)
|
||||||
|
center->setMaximumWidth(center->sizeHint().width());
|
||||||
|
if (center->sizeHint().height()!=-1)
|
||||||
|
center->setMaximumHeight(center->sizeHint().height());
|
||||||
|
if (left->sizeHint().width()!=-1)
|
||||||
|
left->setMinimumWidth(left->sizeHint().width());
|
||||||
|
if (left->sizeHint().height()!=-1)
|
||||||
|
left->setMinimumHeight(left->sizeHint().height());
|
||||||
|
if (left->sizeHint().width()!=-1)
|
||||||
|
left->setMaximumWidth(left->sizeHint().width());
|
||||||
|
if (left->sizeHint().height()!=-1)
|
||||||
|
left->setMaximumHeight(left->sizeHint().height());
|
||||||
|
if (right->sizeHint().width()!=-1)
|
||||||
|
right->setMinimumWidth(right->sizeHint().width());
|
||||||
|
if (right->sizeHint().height()!=-1)
|
||||||
|
right->setMinimumHeight(right->sizeHint().height());
|
||||||
|
if (right->sizeHint().width()!=-1)
|
||||||
|
right->setMaximumWidth(right->sizeHint().width());
|
||||||
|
if (right->sizeHint().height()!=-1)
|
||||||
|
right->setMaximumHeight(right->sizeHint().height());
|
||||||
|
if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelwidthlabel->setMinimumWidth(qtarch_labelwidthlabel->sizeHint().width());
|
||||||
|
if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelwidthlabel->setMinimumHeight(qtarch_labelwidthlabel->sizeHint().height());
|
||||||
|
if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_labelwidthlabel->setMaximumWidth(qtarch_labelwidthlabel->sizeHint().width());
|
||||||
|
if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_labelwidthlabel->setMaximumHeight(qtarch_labelwidthlabel->sizeHint().height());
|
||||||
|
if (labelwidth->sizeHint().width()!=-1)
|
||||||
|
labelwidth->setMinimumWidth(labelwidth->sizeHint().width());
|
||||||
|
if (labelwidth->sizeHint().height()!=-1)
|
||||||
|
labelwidth->setMinimumHeight(labelwidth->sizeHint().height());
|
||||||
|
if (labelwidth->sizeHint().height()!=-1)
|
||||||
|
labelwidth->setMaximumHeight(labelwidth->sizeHint().height());
|
||||||
|
if (spacetab->sizeHint().width()!=-1)
|
||||||
|
spacetab->setMinimumWidth(spacetab->sizeHint().width());
|
||||||
|
if (spacetab->sizeHint().height()!=-1)
|
||||||
|
spacetab->setMinimumHeight(spacetab->sizeHint().height());
|
||||||
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1->addStrut( 0 );
|
||||||
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_1, 5 );
|
||||||
|
qtarch_layout_1_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1_1->addWidget( alignment, 1, 33 );
|
||||||
|
QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( alignment, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1_1_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1_1_1->addSpacing( 15 );
|
||||||
|
qtarch_layout_1_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( block, 1, 1 );
|
||||||
|
qtarch_layout_1_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( center, 1, 1 );
|
||||||
|
qtarch_layout_1_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( left, 1, 1 );
|
||||||
|
qtarch_layout_1_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1_1_1->addWidget( right, 1, 1 );
|
||||||
|
qtarch_layout_1_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1_1->addWidget( spacetab, 5, 36 );
|
||||||
|
QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_2, 2 );
|
||||||
|
qtarch_layout_1_2->addStrut( 0 );
|
||||||
|
QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
|
||||||
|
qtarch_layout_1_2->addLayout( qtarch_layout_1_2_1, 1 );
|
||||||
|
qtarch_layout_1_2_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1_2_1->addWidget( lineabove, 1, 1 );
|
||||||
|
qtarch_layout_1_2_1->addWidget( linebelow, 1, 1 );
|
||||||
|
qtarch_layout_1_2_1->addWidget( noindent, 1, 1 );
|
||||||
|
QBoxLayout* qtarch_layout_1_2_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1_2->addLayout( qtarch_layout_1_2_2, 1 );
|
||||||
|
qtarch_layout_1_2_2->addStrut( 0 );
|
||||||
|
qtarch_layout_1_2_2->addWidget( qtarch_labelwidthlabel, 1, 36 );
|
||||||
|
qtarch_layout_1_2_2->addWidget( labelwidth, 1, 36 );
|
||||||
|
resize( 750,550 );
|
||||||
|
setMinimumSize( 0, 0 );
|
||||||
|
setMaximumSize( 32767, 32767 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ParaGeneralDialogData::~ParaGeneralDialogData()
|
||||||
|
{
|
||||||
|
}
|
57
src/frontends/kde/dlg/parageneraldlgdata.h
Normal file
57
src/frontends/kde/dlg/parageneraldlgdata.h
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: parageneraldlgdata.h
|
||||||
|
Last generated: Mon Dec 4 13:48:18 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef ParaGeneralDialogData_included
|
||||||
|
#define ParaGeneralDialogData_included
|
||||||
|
|
||||||
|
#include <qwidget.h>
|
||||||
|
#include "tabstack.h"
|
||||||
|
#include <qradiobutton.h>
|
||||||
|
#include <qcheckbox.h>
|
||||||
|
#include <qlineedit.h>
|
||||||
|
#include <qbuttongroup.h>
|
||||||
|
|
||||||
|
class ParaGeneralDialogData : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
ParaGeneralDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~ParaGeneralDialogData();
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
QButtonGroup* alignment;
|
||||||
|
QCheckBox* lineabove;
|
||||||
|
QCheckBox* linebelow;
|
||||||
|
QCheckBox* noindent;
|
||||||
|
QRadioButton* block;
|
||||||
|
QRadioButton* center;
|
||||||
|
QRadioButton* left;
|
||||||
|
QRadioButton* right;
|
||||||
|
QLineEdit* labelwidth;
|
||||||
|
TabStack* spacetab;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // ParaGeneralDialogData_included
|
28
src/frontends/kde/dlg/printdlg.C
Normal file
28
src/frontends/kde/dlg/printdlg.C
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: printdlg.C
|
||||||
|
Last generated: Mon Dec 4 13:48:28 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include "printdlg.h"
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#define Inherited PrintDialogData
|
||||||
|
|
||||||
|
PrintDialog::PrintDialog
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
PrintDialog::~PrintDialog()
|
||||||
|
{
|
||||||
|
}
|
30
src/frontends/kde/dlg/printdlg.h
Normal file
30
src/frontends/kde/dlg/printdlg.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: printdlg.h
|
||||||
|
Last generated: Mon Dec 4 13:48:28 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef PrintDialog_included
|
||||||
|
#define PrintDialog_included
|
||||||
|
|
||||||
|
#include "printdlgdata.h"
|
||||||
|
|
||||||
|
class PrintDialog : public PrintDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
PrintDialog
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~PrintDialog();
|
||||||
|
|
||||||
|
};
|
||||||
|
#endif // PrintDialog_included
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: printdlgdata.C
|
File: printdlgdata.C
|
||||||
Last generated: Tue Oct 24 13:38:22 2000
|
Last generated: Mon Dec 4 13:48:28 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -56,7 +56,7 @@ PrintDialogData::PrintDialogData
|
|||||||
pagesRadioGroup->QFrame::setMargin( 0 );
|
pagesRadioGroup->QFrame::setMargin( 0 );
|
||||||
pagesRadioGroup->setTitle( "" );
|
pagesRadioGroup->setTitle( "" );
|
||||||
pagesRadioGroup->setAlignment( 1 );
|
pagesRadioGroup->setAlignment( 1 );
|
||||||
pagesRadioGroup->setExclusive( TRUE );
|
pagesRadioGroup->setExclusive( true );
|
||||||
|
|
||||||
copies = new QGroupBox( this, "copies" );
|
copies = new QGroupBox( this, "copies" );
|
||||||
copies->setGeometry( 172, 5, 323, 66 );
|
copies->setGeometry( 172, 5, 323, 66 );
|
||||||
@ -102,7 +102,7 @@ PrintDialogData::PrintDialogData
|
|||||||
printToRadioGroup->QFrame::setMargin( 0 );
|
printToRadioGroup->QFrame::setMargin( 0 );
|
||||||
printToRadioGroup->setTitle( "" );
|
printToRadioGroup->setTitle( "" );
|
||||||
printToRadioGroup->setAlignment( 1 );
|
printToRadioGroup->setAlignment( 1 );
|
||||||
printToRadioGroup->setExclusive( TRUE );
|
printToRadioGroup->setExclusive( true );
|
||||||
|
|
||||||
print = new QPushButton( this, "print" );
|
print = new QPushButton( this, "print" );
|
||||||
print->setGeometry( 86, 280, 81, 45 );
|
print->setGeometry( 86, 280, 81, 45 );
|
||||||
@ -114,12 +114,12 @@ PrintDialogData::PrintDialogData
|
|||||||
print->setFontPropagation( QWidget::NoChildren );
|
print->setFontPropagation( QWidget::NoChildren );
|
||||||
print->setPalettePropagation( QWidget::NoChildren );
|
print->setPalettePropagation( QWidget::NoChildren );
|
||||||
print->setText( _("&Print") );
|
print->setText( _("&Print") );
|
||||||
print->setAutoRepeat( FALSE );
|
print->setAutoRepeat( false );
|
||||||
print->setAutoResize( FALSE );
|
print->setAutoResize( false );
|
||||||
print->setToggleButton( FALSE );
|
print->setToggleButton( false );
|
||||||
print->setDefault( FALSE );
|
print->setDefault( false );
|
||||||
print->setAutoDefault( FALSE );
|
print->setAutoDefault( false );
|
||||||
print->setIsMenuButton( FALSE );
|
print->setIsMenuButton( false );
|
||||||
|
|
||||||
cancel = new QPushButton( this, "cancel" );
|
cancel = new QPushButton( this, "cancel" );
|
||||||
cancel->setGeometry( 333, 280, 81, 45 );
|
cancel->setGeometry( 333, 280, 81, 45 );
|
||||||
@ -131,12 +131,12 @@ PrintDialogData::PrintDialogData
|
|||||||
cancel->setFontPropagation( QWidget::NoChildren );
|
cancel->setFontPropagation( QWidget::NoChildren );
|
||||||
cancel->setPalettePropagation( QWidget::NoChildren );
|
cancel->setPalettePropagation( QWidget::NoChildren );
|
||||||
cancel->setText( _("&Cancel") );
|
cancel->setText( _("&Cancel") );
|
||||||
cancel->setAutoRepeat( FALSE );
|
cancel->setAutoRepeat( false );
|
||||||
cancel->setAutoResize( FALSE );
|
cancel->setAutoResize( false );
|
||||||
cancel->setToggleButton( FALSE );
|
cancel->setToggleButton( false );
|
||||||
cancel->setDefault( FALSE );
|
cancel->setDefault( false );
|
||||||
cancel->setAutoDefault( FALSE );
|
cancel->setAutoDefault( false );
|
||||||
cancel->setIsMenuButton( FALSE );
|
cancel->setIsMenuButton( false );
|
||||||
|
|
||||||
allpages = new QRadioButton( pagesRadioGroup, "allpages" );
|
allpages = new QRadioButton( pagesRadioGroup, "allpages" );
|
||||||
allpages->setGeometry( 5, 20, 142, 34 );
|
allpages->setGeometry( 5, 20, 142, 34 );
|
||||||
@ -147,9 +147,9 @@ PrintDialogData::PrintDialogData
|
|||||||
allpages->setFontPropagation( QWidget::NoChildren );
|
allpages->setFontPropagation( QWidget::NoChildren );
|
||||||
allpages->setPalettePropagation( QWidget::NoChildren );
|
allpages->setPalettePropagation( QWidget::NoChildren );
|
||||||
allpages->setText( _("&All pages") );
|
allpages->setText( _("&All pages") );
|
||||||
allpages->setAutoRepeat( FALSE );
|
allpages->setAutoRepeat( false );
|
||||||
allpages->setAutoResize( FALSE );
|
allpages->setAutoResize( false );
|
||||||
allpages->setChecked( FALSE );
|
allpages->setChecked( false );
|
||||||
|
|
||||||
evenpages = new QRadioButton( pagesRadioGroup, "evenpages" );
|
evenpages = new QRadioButton( pagesRadioGroup, "evenpages" );
|
||||||
evenpages->setGeometry( 5, 108, 142, 14 );
|
evenpages->setGeometry( 5, 108, 142, 14 );
|
||||||
@ -160,9 +160,9 @@ PrintDialogData::PrintDialogData
|
|||||||
evenpages->setFontPropagation( QWidget::NoChildren );
|
evenpages->setFontPropagation( QWidget::NoChildren );
|
||||||
evenpages->setPalettePropagation( QWidget::NoChildren );
|
evenpages->setPalettePropagation( QWidget::NoChildren );
|
||||||
evenpages->setText( _("&Even pages") );
|
evenpages->setText( _("&Even pages") );
|
||||||
evenpages->setAutoRepeat( FALSE );
|
evenpages->setAutoRepeat( false );
|
||||||
evenpages->setAutoResize( FALSE );
|
evenpages->setAutoResize( false );
|
||||||
evenpages->setChecked( FALSE );
|
evenpages->setChecked( false );
|
||||||
|
|
||||||
from = new KIntLineEdit( pagesGroupBox, "from" );
|
from = new KIntLineEdit( pagesGroupBox, "from" );
|
||||||
from->setGeometry( 108, 164, 49, 30 );
|
from->setGeometry( 108, 164, 49, 30 );
|
||||||
@ -175,7 +175,7 @@ PrintDialogData::PrintDialogData
|
|||||||
from->setText( "" );
|
from->setText( "" );
|
||||||
from->setMaxLength( 32767 );
|
from->setMaxLength( 32767 );
|
||||||
from->setFrame( QLineEdit::Normal );
|
from->setFrame( QLineEdit::Normal );
|
||||||
from->setFrame( TRUE );
|
from->setFrame( true );
|
||||||
|
|
||||||
fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
|
fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
|
||||||
fromLabel->setGeometry( 5, 164, 98, 30 );
|
fromLabel->setGeometry( 5, 164, 98, 30 );
|
||||||
@ -218,9 +218,9 @@ PrintDialogData::PrintDialogData
|
|||||||
oddpages->setFontPropagation( QWidget::NoChildren );
|
oddpages->setFontPropagation( QWidget::NoChildren );
|
||||||
oddpages->setPalettePropagation( QWidget::NoChildren );
|
oddpages->setPalettePropagation( QWidget::NoChildren );
|
||||||
oddpages->setText( _("&Odd pages") );
|
oddpages->setText( _("&Odd pages") );
|
||||||
oddpages->setAutoRepeat( FALSE );
|
oddpages->setAutoRepeat( false );
|
||||||
oddpages->setAutoResize( FALSE );
|
oddpages->setAutoResize( false );
|
||||||
oddpages->setChecked( FALSE );
|
oddpages->setChecked( false );
|
||||||
|
|
||||||
toprinter = new QRadioButton( printToRadioGroup, "toprinter" );
|
toprinter = new QRadioButton( printToRadioGroup, "toprinter" );
|
||||||
toprinter->setGeometry( 5, 5, 142, 23 );
|
toprinter->setGeometry( 5, 5, 142, 23 );
|
||||||
@ -231,9 +231,9 @@ PrintDialogData::PrintDialogData
|
|||||||
toprinter->setFontPropagation( QWidget::NoChildren );
|
toprinter->setFontPropagation( QWidget::NoChildren );
|
||||||
toprinter->setPalettePropagation( QWidget::NoChildren );
|
toprinter->setPalettePropagation( QWidget::NoChildren );
|
||||||
toprinter->setText( _("&Printer") );
|
toprinter->setText( _("&Printer") );
|
||||||
toprinter->setAutoRepeat( FALSE );
|
toprinter->setAutoRepeat( false );
|
||||||
toprinter->setAutoResize( FALSE );
|
toprinter->setAutoResize( false );
|
||||||
toprinter->setChecked( FALSE );
|
toprinter->setChecked( false );
|
||||||
|
|
||||||
tofile = new QRadioButton( printToRadioGroup, "tofile" );
|
tofile = new QRadioButton( printToRadioGroup, "tofile" );
|
||||||
tofile->setGeometry( 5, 55, 142, 23 );
|
tofile->setGeometry( 5, 55, 142, 23 );
|
||||||
@ -244,9 +244,9 @@ PrintDialogData::PrintDialogData
|
|||||||
tofile->setFontPropagation( QWidget::NoChildren );
|
tofile->setFontPropagation( QWidget::NoChildren );
|
||||||
tofile->setPalettePropagation( QWidget::NoChildren );
|
tofile->setPalettePropagation( QWidget::NoChildren );
|
||||||
tofile->setText( _("&File") );
|
tofile->setText( _("&File") );
|
||||||
tofile->setAutoRepeat( FALSE );
|
tofile->setAutoRepeat( false );
|
||||||
tofile->setAutoResize( FALSE );
|
tofile->setAutoResize( false );
|
||||||
tofile->setChecked( FALSE );
|
tofile->setChecked( false );
|
||||||
|
|
||||||
printername = new QLineEdit( printToGroupBox, "printername" );
|
printername = new QLineEdit( printToGroupBox, "printername" );
|
||||||
printername->setGeometry( 169, 39, 142, 26 );
|
printername->setGeometry( 169, 39, 142, 26 );
|
||||||
@ -259,7 +259,7 @@ PrintDialogData::PrintDialogData
|
|||||||
printername->setText( "" );
|
printername->setText( "" );
|
||||||
printername->setMaxLength( 32767 );
|
printername->setMaxLength( 32767 );
|
||||||
printername->setFrame( QLineEdit::Normal );
|
printername->setFrame( QLineEdit::Normal );
|
||||||
printername->setFrame( TRUE );
|
printername->setFrame( true );
|
||||||
|
|
||||||
reverse = new QCheckBox( pagesGroupBox, "reverse" );
|
reverse = new QCheckBox( pagesGroupBox, "reverse" );
|
||||||
reverse->setGeometry( 5, 235, 152, 30 );
|
reverse->setGeometry( 5, 235, 152, 30 );
|
||||||
@ -270,9 +270,9 @@ PrintDialogData::PrintDialogData
|
|||||||
reverse->setFontPropagation( QWidget::NoChildren );
|
reverse->setFontPropagation( QWidget::NoChildren );
|
||||||
reverse->setPalettePropagation( QWidget::NoChildren );
|
reverse->setPalettePropagation( QWidget::NoChildren );
|
||||||
reverse->setText( _("&Reverse order") );
|
reverse->setText( _("&Reverse order") );
|
||||||
reverse->setAutoRepeat( FALSE );
|
reverse->setAutoRepeat( false );
|
||||||
reverse->setAutoResize( TRUE );
|
reverse->setAutoResize( true );
|
||||||
reverse->setChecked( FALSE );
|
reverse->setChecked( false );
|
||||||
|
|
||||||
filename = new QLineEdit( printToGroupBox, "filename" );
|
filename = new QLineEdit( printToGroupBox, "filename" );
|
||||||
filename->setGeometry( 169, 96, 142, 26 );
|
filename->setGeometry( 169, 96, 142, 26 );
|
||||||
@ -285,7 +285,7 @@ PrintDialogData::PrintDialogData
|
|||||||
filename->setText( "" );
|
filename->setText( "" );
|
||||||
filename->setMaxLength( 32767 );
|
filename->setMaxLength( 32767 );
|
||||||
filename->setFrame( QLineEdit::Normal );
|
filename->setFrame( QLineEdit::Normal );
|
||||||
filename->setFrame( TRUE );
|
filename->setFrame( true );
|
||||||
|
|
||||||
sort = new QCheckBox( copies, "sort" );
|
sort = new QCheckBox( copies, "sort" );
|
||||||
sort->setGeometry( 268, 12, 50, 46 );
|
sort->setGeometry( 268, 12, 50, 46 );
|
||||||
@ -296,9 +296,9 @@ PrintDialogData::PrintDialogData
|
|||||||
sort->setFontPropagation( QWidget::NoChildren );
|
sort->setFontPropagation( QWidget::NoChildren );
|
||||||
sort->setPalettePropagation( QWidget::NoChildren );
|
sort->setPalettePropagation( QWidget::NoChildren );
|
||||||
sort->setText( _("Co&llate") );
|
sort->setText( _("Co&llate") );
|
||||||
sort->setAutoRepeat( FALSE );
|
sort->setAutoRepeat( false );
|
||||||
sort->setAutoResize( TRUE );
|
sort->setAutoResize( true );
|
||||||
sort->setChecked( FALSE );
|
sort->setChecked( false );
|
||||||
|
|
||||||
browse = new QPushButton( printToGroupBox, "browse" );
|
browse = new QPushButton( printToGroupBox, "browse" );
|
||||||
browse->setGeometry( 158, 149, 153, 23 );
|
browse->setGeometry( 158, 149, 153, 23 );
|
||||||
@ -310,12 +310,12 @@ PrintDialogData::PrintDialogData
|
|||||||
browse->setFontPropagation( QWidget::NoChildren );
|
browse->setFontPropagation( QWidget::NoChildren );
|
||||||
browse->setPalettePropagation( QWidget::NoChildren );
|
browse->setPalettePropagation( QWidget::NoChildren );
|
||||||
browse->setText( _("&Browse") );
|
browse->setText( _("&Browse") );
|
||||||
browse->setAutoRepeat( FALSE );
|
browse->setAutoRepeat( false );
|
||||||
browse->setAutoResize( FALSE );
|
browse->setAutoResize( false );
|
||||||
browse->setToggleButton( FALSE );
|
browse->setToggleButton( false );
|
||||||
browse->setDefault( FALSE );
|
browse->setDefault( false );
|
||||||
browse->setAutoDefault( FALSE );
|
browse->setAutoDefault( false );
|
||||||
browse->setIsMenuButton( FALSE );
|
browse->setIsMenuButton( false );
|
||||||
|
|
||||||
count = new KIntLineEdit( copies, "count" );
|
count = new KIntLineEdit( copies, "count" );
|
||||||
count->setGeometry( 162, 12, 50, 46 );
|
count->setGeometry( 162, 12, 50, 46 );
|
||||||
@ -329,7 +329,7 @@ PrintDialogData::PrintDialogData
|
|||||||
count->setText( "" );
|
count->setText( "" );
|
||||||
count->setMaxLength( 32767 );
|
count->setMaxLength( 32767 );
|
||||||
count->setFrame( QLineEdit::Normal );
|
count->setFrame( QLineEdit::Normal );
|
||||||
count->setFrame( TRUE );
|
count->setFrame( true );
|
||||||
|
|
||||||
countLabel = new QLabel( copies, "countLabel" );
|
countLabel = new QLabel( copies, "countLabel" );
|
||||||
countLabel->setGeometry( 56, 12, 50, 46 );
|
countLabel->setGeometry( 56, 12, 50, 46 );
|
||||||
@ -358,7 +358,7 @@ PrintDialogData::PrintDialogData
|
|||||||
to->setText( "" );
|
to->setText( "" );
|
||||||
to->setMaxLength( 32767 );
|
to->setMaxLength( 32767 );
|
||||||
to->setFrame( QLineEdit::Normal );
|
to->setFrame( QLineEdit::Normal );
|
||||||
to->setFrame( TRUE );
|
to->setFrame( true );
|
||||||
|
|
||||||
pagesRadioGroup->insert( allpages );
|
pagesRadioGroup->insert( allpages );
|
||||||
pagesRadioGroup->insert( evenpages );
|
pagesRadioGroup->insert( evenpages );
|
@ -1,9 +1,9 @@
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
File: printdlgdata.h
|
File: printdlgdata.h
|
||||||
Last generated: Tue Oct 24 13:38:22 2000
|
Last generated: Mon Dec 4 13:48:28 2000
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
DO NOT EDIT!!! This file will be automatically
|
||||||
regenerated by qtarch. All changes will be lost.
|
regenerated by qtarch. All changes will be lost.
|
||||||
@ -47,7 +47,7 @@ protected slots:
|
|||||||
virtual void changedCount(const char*);
|
virtual void changedCount(const char*);
|
||||||
virtual void clickedPrint();
|
virtual void clickedPrint();
|
||||||
|
|
||||||
protected:
|
public:
|
||||||
QGroupBox* pagesGroupBox;
|
QGroupBox* pagesGroupBox;
|
||||||
QButtonGroup* pagesRadioGroup;
|
QButtonGroup* pagesRadioGroup;
|
||||||
QGroupBox* copies;
|
QGroupBox* copies;
|
28
src/frontends/kde/dlg/tabcreatedlg.C
Normal file
28
src/frontends/kde/dlg/tabcreatedlg.C
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: tabcreatedlg.C
|
||||||
|
Last generated: Mon Dec 4 13:48:34 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include "tabcreatedlg.h"
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#define Inherited TabularCreateDialogData
|
||||||
|
|
||||||
|
TabularCreateDialog::TabularCreateDialog
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
TabularCreateDialog::~TabularCreateDialog()
|
||||||
|
{
|
||||||
|
}
|
30
src/frontends/kde/dlg/tabcreatedlg.h
Normal file
30
src/frontends/kde/dlg/tabcreatedlg.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: tabcreatedlg.h
|
||||||
|
Last generated: Mon Dec 4 13:48:34 2000
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef TabularCreateDialog_included
|
||||||
|
#define TabularCreateDialog_included
|
||||||
|
|
||||||
|
#include "tabcreatedlgdata.h"
|
||||||
|
|
||||||
|
class TabularCreateDialog : public TabularCreateDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
TabularCreateDialog
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~TabularCreateDialog();
|
||||||
|
|
||||||
|
};
|
||||||
|
#endif // TabularCreateDialog_included
|
220
src/frontends/kde/dlg/tabcreatedlgdata.C
Normal file
220
src/frontends/kde/dlg/tabcreatedlgdata.C
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: tabcreatedlgdata.C
|
||||||
|
Last generated: Mon Dec 4 13:48:34 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#include <gettext.h>
|
||||||
|
|
||||||
|
#include <qpixmap.h>
|
||||||
|
#include <qlayout.h>
|
||||||
|
#include "tabcreatedlgdata.h"
|
||||||
|
|
||||||
|
#define Inherited QWidget
|
||||||
|
|
||||||
|
#include <qlabel.h>
|
||||||
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
|
TabularCreateDialogData::TabularCreateDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent,
|
||||||
|
const char* name
|
||||||
|
)
|
||||||
|
:
|
||||||
|
Inherited( parent, name, 0 )
|
||||||
|
{
|
||||||
|
QPushButton* qtarch_Insert;
|
||||||
|
qtarch_Insert = new QPushButton( this, "Insert" );
|
||||||
|
qtarch_Insert->setGeometry( 64, 249, 59, 21 );
|
||||||
|
qtarch_Insert->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_Insert->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( qtarch_Insert, SIGNAL(clicked()), SLOT(clickedInsert()) );
|
||||||
|
qtarch_Insert->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
qtarch_Insert->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_Insert->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Insert->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Insert->setText( _("&Insert") );
|
||||||
|
qtarch_Insert->setAutoRepeat( false );
|
||||||
|
qtarch_Insert->setAutoResize( false );
|
||||||
|
qtarch_Insert->setToggleButton( false );
|
||||||
|
qtarch_Insert->setDefault( false );
|
||||||
|
qtarch_Insert->setAutoDefault( false );
|
||||||
|
qtarch_Insert->setIsMenuButton( false );
|
||||||
|
|
||||||
|
QPushButton* qtarch_Cancel;
|
||||||
|
qtarch_Cancel = new QPushButton( this, "Cancel" );
|
||||||
|
qtarch_Cancel->setGeometry( 187, 249, 59, 21 );
|
||||||
|
qtarch_Cancel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_Cancel->setMaximumSize( 32767, 32767 );
|
||||||
|
connect( qtarch_Cancel, SIGNAL(clicked()), SLOT(clickedCancel()) );
|
||||||
|
qtarch_Cancel->setFocusPolicy( QWidget::TabFocus );
|
||||||
|
qtarch_Cancel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_Cancel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Cancel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_Cancel->setText( _("&Cancel") );
|
||||||
|
qtarch_Cancel->setAutoRepeat( false );
|
||||||
|
qtarch_Cancel->setAutoResize( false );
|
||||||
|
qtarch_Cancel->setToggleButton( false );
|
||||||
|
qtarch_Cancel->setDefault( false );
|
||||||
|
qtarch_Cancel->setAutoDefault( false );
|
||||||
|
qtarch_Cancel->setIsMenuButton( false );
|
||||||
|
|
||||||
|
table = new EmptyTable( this, "table" );
|
||||||
|
table->setGeometry( 5, 31, 300, 213 );
|
||||||
|
table->setMinimumSize( 0, 0 );
|
||||||
|
table->setMaximumSize( 32767, 32767 );
|
||||||
|
table->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
table->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
table->setFontPropagation( QWidget::NoChildren );
|
||||||
|
table->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
|
||||||
|
QLabel* qtarch_rowslabel;
|
||||||
|
qtarch_rowslabel = new QLabel( this, "rowslabel" );
|
||||||
|
qtarch_rowslabel->setGeometry( 46, 5, 40, 21 );
|
||||||
|
qtarch_rowslabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_rowslabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_rowslabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_rowslabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_rowslabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_rowslabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_rowslabel->setFrameStyle( 0 );
|
||||||
|
qtarch_rowslabel->setLineWidth( 1 );
|
||||||
|
qtarch_rowslabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_rowslabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_rowslabel->setText( _("Rows") );
|
||||||
|
qtarch_rowslabel->setAlignment( 290 );
|
||||||
|
qtarch_rowslabel->setMargin( -1 );
|
||||||
|
|
||||||
|
QLabel* qtarch_columnslabel;
|
||||||
|
qtarch_columnslabel = new QLabel( this, "columnslabel" );
|
||||||
|
qtarch_columnslabel->setGeometry( 178, 5, 41, 21 );
|
||||||
|
qtarch_columnslabel->setMinimumSize( 0, 0 );
|
||||||
|
qtarch_columnslabel->setMaximumSize( 32767, 32767 );
|
||||||
|
qtarch_columnslabel->setFocusPolicy( QWidget::NoFocus );
|
||||||
|
qtarch_columnslabel->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
qtarch_columnslabel->setFontPropagation( QWidget::NoChildren );
|
||||||
|
qtarch_columnslabel->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
qtarch_columnslabel->setFrameStyle( 0 );
|
||||||
|
qtarch_columnslabel->setLineWidth( 1 );
|
||||||
|
qtarch_columnslabel->setMidLineWidth( 0 );
|
||||||
|
qtarch_columnslabel->QFrame::setMargin( 0 );
|
||||||
|
qtarch_columnslabel->setText( _("Columns") );
|
||||||
|
qtarch_columnslabel->setAlignment( 290 );
|
||||||
|
qtarch_columnslabel->setMargin( -1 );
|
||||||
|
|
||||||
|
rows = new QSpinBox( this, "rows" );
|
||||||
|
rows->setGeometry( 91, 5, 41, 21 );
|
||||||
|
rows->setMinimumSize( 0, 0 );
|
||||||
|
rows->setMaximumSize( 32767, 32767 );
|
||||||
|
rows->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
rows->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
rows->setFontPropagation( QWidget::NoChildren );
|
||||||
|
rows->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
rows->setFrameStyle( 51 );
|
||||||
|
rows->setLineWidth( 2 );
|
||||||
|
rows->setMidLineWidth( 0 );
|
||||||
|
rows->QFrame::setMargin( 0 );
|
||||||
|
rows->setRange( 1, 300 );
|
||||||
|
rows->setSteps( 1, 0 );
|
||||||
|
rows->setPrefix( "" );
|
||||||
|
rows->setSuffix( "" );
|
||||||
|
rows->setSpecialValueText( "" );
|
||||||
|
rows->setWrapping( false );
|
||||||
|
|
||||||
|
cols = new QSpinBox( this, "cols" );
|
||||||
|
cols->setGeometry( 224, 5, 40, 21 );
|
||||||
|
cols->setMinimumSize( 0, 0 );
|
||||||
|
cols->setMaximumSize( 32767, 32767 );
|
||||||
|
cols->setFocusPolicy( QWidget::StrongFocus );
|
||||||
|
cols->setBackgroundMode( QWidget::PaletteBackground );
|
||||||
|
cols->setFontPropagation( QWidget::NoChildren );
|
||||||
|
cols->setPalettePropagation( QWidget::NoChildren );
|
||||||
|
cols->setFrameStyle( 51 );
|
||||||
|
cols->setLineWidth( 2 );
|
||||||
|
cols->setMidLineWidth( 0 );
|
||||||
|
cols->QFrame::setMargin( 0 );
|
||||||
|
cols->setRange( 1, 40 );
|
||||||
|
cols->setSteps( 1, 0 );
|
||||||
|
cols->setPrefix( "" );
|
||||||
|
cols->setSuffix( "" );
|
||||||
|
cols->setSpecialValueText( "" );
|
||||||
|
cols->setWrapping( false );
|
||||||
|
|
||||||
|
if (qtarch_Insert->sizeHint().width()!=-1)
|
||||||
|
qtarch_Insert->setMinimumWidth(qtarch_Insert->sizeHint().width());
|
||||||
|
if (qtarch_Insert->sizeHint().height()!=-1)
|
||||||
|
qtarch_Insert->setMinimumHeight(qtarch_Insert->sizeHint().height());
|
||||||
|
if (qtarch_Insert->sizeHint().width()!=-1)
|
||||||
|
qtarch_Insert->setMaximumWidth(qtarch_Insert->sizeHint().width());
|
||||||
|
if (qtarch_Insert->sizeHint().height()!=-1)
|
||||||
|
qtarch_Insert->setMaximumHeight(qtarch_Insert->sizeHint().height());
|
||||||
|
if (qtarch_Cancel->sizeHint().width()!=-1)
|
||||||
|
qtarch_Cancel->setMinimumWidth(qtarch_Cancel->sizeHint().width());
|
||||||
|
if (qtarch_Cancel->sizeHint().height()!=-1)
|
||||||
|
qtarch_Cancel->setMinimumHeight(qtarch_Cancel->sizeHint().height());
|
||||||
|
if (qtarch_Cancel->sizeHint().width()!=-1)
|
||||||
|
qtarch_Cancel->setMaximumWidth(qtarch_Cancel->sizeHint().width());
|
||||||
|
if (qtarch_Cancel->sizeHint().height()!=-1)
|
||||||
|
qtarch_Cancel->setMaximumHeight(qtarch_Cancel->sizeHint().height());
|
||||||
|
if (qtarch_rowslabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_rowslabel->setMinimumWidth(qtarch_rowslabel->sizeHint().width());
|
||||||
|
if (qtarch_rowslabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_rowslabel->setMinimumHeight(qtarch_rowslabel->sizeHint().height());
|
||||||
|
if (qtarch_columnslabel->sizeHint().width()!=-1)
|
||||||
|
qtarch_columnslabel->setMinimumWidth(qtarch_columnslabel->sizeHint().width());
|
||||||
|
if (qtarch_columnslabel->sizeHint().height()!=-1)
|
||||||
|
qtarch_columnslabel->setMinimumHeight(qtarch_columnslabel->sizeHint().height());
|
||||||
|
if (rows->sizeHint().width()!=-1)
|
||||||
|
rows->setMinimumWidth(rows->sizeHint().width());
|
||||||
|
if (rows->sizeHint().height()!=-1)
|
||||||
|
rows->setMinimumHeight(rows->sizeHint().height());
|
||||||
|
if (rows->sizeHint().height()!=-1)
|
||||||
|
rows->setMaximumHeight(rows->sizeHint().height());
|
||||||
|
if (cols->sizeHint().width()!=-1)
|
||||||
|
cols->setMinimumWidth(cols->sizeHint().width());
|
||||||
|
if (cols->sizeHint().height()!=-1)
|
||||||
|
cols->setMinimumHeight(cols->sizeHint().height());
|
||||||
|
if (cols->sizeHint().height()!=-1)
|
||||||
|
cols->setMaximumHeight(cols->sizeHint().height());
|
||||||
|
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
||||||
|
qtarch_layout_1->addStrut( 0 );
|
||||||
|
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_1, 1 );
|
||||||
|
qtarch_layout_1_1->addStrut( 0 );
|
||||||
|
qtarch_layout_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1_1->addWidget( qtarch_rowslabel, 1, 36 );
|
||||||
|
qtarch_layout_1_1->addWidget( rows, 1, 36 );
|
||||||
|
qtarch_layout_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1_1->addWidget( qtarch_columnslabel, 1, 36 );
|
||||||
|
qtarch_layout_1_1->addWidget( cols, 1, 36 );
|
||||||
|
qtarch_layout_1_1->addStretch( 1 );
|
||||||
|
qtarch_layout_1->addWidget( table, 10, 36 );
|
||||||
|
QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
||||||
|
qtarch_layout_1->addLayout( qtarch_layout_1_3, 1 );
|
||||||
|
qtarch_layout_1_3->addStrut( 0 );
|
||||||
|
qtarch_layout_1_3->addStretch( 1 );
|
||||||
|
qtarch_layout_1_3->addWidget( qtarch_Insert, 1, 36 );
|
||||||
|
qtarch_layout_1_3->addStretch( 1 );
|
||||||
|
qtarch_layout_1_3->addWidget( qtarch_Cancel, 1, 36 );
|
||||||
|
qtarch_layout_1_3->addStretch( 1 );
|
||||||
|
resize( 310,275 );
|
||||||
|
setMinimumSize( 0, 0 );
|
||||||
|
setMaximumSize( 32767, 32767 );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
TabularCreateDialogData::~TabularCreateDialogData()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void TabularCreateDialogData::clickedInsert()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void TabularCreateDialogData::clickedCancel()
|
||||||
|
{
|
||||||
|
}
|
49
src/frontends/kde/dlg/tabcreatedlgdata.h
Normal file
49
src/frontends/kde/dlg/tabcreatedlgdata.h
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
|
||||||
|
--- Qt Architect 1.4-6 generated file ---
|
||||||
|
|
||||||
|
File: tabcreatedlgdata.h
|
||||||
|
Last generated: Mon Dec 4 13:48:34 2000
|
||||||
|
|
||||||
|
DO NOT EDIT!!! This file will be automatically
|
||||||
|
regenerated by qtarch. All changes will be lost.
|
||||||
|
|
||||||
|
*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef TabularCreateDialogData_included
|
||||||
|
#define TabularCreateDialogData_included
|
||||||
|
|
||||||
|
#include <qwidget.h>
|
||||||
|
#include <qspinbox.h>
|
||||||
|
#include "emptytable.h"
|
||||||
|
|
||||||
|
class TabularCreateDialogData : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
TabularCreateDialogData
|
||||||
|
(
|
||||||
|
QWidget* parent = NULL,
|
||||||
|
const char* name = NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
virtual ~TabularCreateDialogData();
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
|
||||||
|
virtual void clickedCancel();
|
||||||
|
virtual void clickedInsert();
|
||||||
|
|
||||||
|
public:
|
||||||
|
EmptyTable* table;
|
||||||
|
QSpinBox* rows;
|
||||||
|
QSpinBox* cols;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // TabularCreateDialogData_included
|
113
src/frontends/kde/dlg/tabstack.C
Normal file
113
src/frontends/kde/dlg/tabstack.C
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
/*
|
||||||
|
* tabstack.C
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
|
*/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include "tabstack.h"
|
||||||
|
|
||||||
|
#include "qlayout.h"
|
||||||
|
#include "qwidgetstack.h"
|
||||||
|
#include "qtabbar.h"
|
||||||
|
#include "qpainter.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A tab bar and a widget stack for storing related pages.
|
||||||
|
*/
|
||||||
|
|
||||||
|
TabStack::TabStack(QWidget * parent = 0, const char * name = 0)
|
||||||
|
: QWidget(parent,name), tabs(0), stack(0)
|
||||||
|
{
|
||||||
|
stack = new QWidgetStack(this, "stack");
|
||||||
|
tabs = new QTabBar(this, "tabbar");
|
||||||
|
connect(tabs, SIGNAL(selected(int)), this, SLOT(selected(int)));
|
||||||
|
|
||||||
|
topLayout = new QHBoxLayout(this, 1);
|
||||||
|
|
||||||
|
layout = new QVBoxLayout();
|
||||||
|
topLayout->addLayout(layout);
|
||||||
|
layout->addWidget(tabs, 0);
|
||||||
|
layout->addWidget(stack, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
TabStack::~TabStack()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
int TabStack::addTabPage(QWidget *page, const char *label)
|
||||||
|
{
|
||||||
|
QTab *tab = new QTab();
|
||||||
|
|
||||||
|
tab->label = label;
|
||||||
|
|
||||||
|
int id = tabs->addTab(tab);
|
||||||
|
stack->addWidget(page, id);
|
||||||
|
tabs->setMinimumSize(tabs->sizeHint());
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabStack::setTabPageEnabled(int id, bool enable)
|
||||||
|
{
|
||||||
|
tabs->setTabEnabled(id, enable);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool TabStack::isTabPageEnabled(int id) const
|
||||||
|
{
|
||||||
|
return tabs->isTabEnabled(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabStack::setCurrentTabPage(int id)
|
||||||
|
{
|
||||||
|
selected(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
int TabStack::currentTabPage() const
|
||||||
|
{
|
||||||
|
return tabs->currentTab();
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabStack::selected(int id)
|
||||||
|
{
|
||||||
|
if (tabs->currentTab() != id)
|
||||||
|
tabs->setCurrentTab(id);
|
||||||
|
stack->raiseWidget(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabStack::paintEvent(QPaintEvent *)
|
||||||
|
{
|
||||||
|
if (!tabs)
|
||||||
|
return;
|
||||||
|
|
||||||
|
QPainter p;
|
||||||
|
p.begin(this);
|
||||||
|
QRect geom(stack->geometry());
|
||||||
|
|
||||||
|
QCOORD top = geom.top() - 1;
|
||||||
|
QCOORD bottom = geom.bottom() + 2;
|
||||||
|
QCOORD right = geom.right() + 2;
|
||||||
|
QCOORD left = geom.left() - 1;
|
||||||
|
|
||||||
|
p.setPen(white);
|
||||||
|
p.drawLine(left, top, right - 1, top);
|
||||||
|
p.drawLine(left, top + 1, left, bottom);
|
||||||
|
p.setPen(black);
|
||||||
|
p.drawLine(right, bottom, left, bottom);
|
||||||
|
p.drawLine(right, bottom-1, right, top);
|
||||||
|
p.setPen(colorGroup().dark());
|
||||||
|
p.drawLine(left+1, bottom-1, right-1, bottom-1);
|
||||||
|
p.drawLine(right-1, bottom-2, right-1, top+1);
|
||||||
|
|
||||||
|
p.end();
|
||||||
|
|
||||||
|
// FIXME: do this better ?
|
||||||
|
tabs->update();
|
||||||
|
}
|
63
src/frontends/kde/dlg/tabstack.h
Normal file
63
src/frontends/kde/dlg/tabstack.h
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* tabstack.h
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
|
*/
|
||||||
|
|
||||||
|
/***************************************************************************
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
#ifndef TABSTACK_H
|
||||||
|
#define TABSTACK_H
|
||||||
|
|
||||||
|
#include <qwidget.h>
|
||||||
|
|
||||||
|
class QTabBar;
|
||||||
|
class QWidgetStack;
|
||||||
|
class QHBoxLayout;
|
||||||
|
class QVBoxLayout;
|
||||||
|
|
||||||
|
#include "boost/utility.hpp"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This widget provides a tab bar which can switch between a stack
|
||||||
|
* of QFrames.
|
||||||
|
*/
|
||||||
|
class TabStack : public QWidget, public noncopyable {
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
TabStack(QWidget * parent = 0, const char * name = 0);
|
||||||
|
|
||||||
|
~TabStack();
|
||||||
|
|
||||||
|
/// add a page widget to the stack
|
||||||
|
virtual int addTabPage(QWidget *, const char *);
|
||||||
|
/// set the enabled status of a tab page
|
||||||
|
virtual void setTabPageEnabled(int, bool);
|
||||||
|
/// is a tab page enabled ?
|
||||||
|
virtual bool isTabPageEnabled(int) const;
|
||||||
|
/// raise the given tab page
|
||||||
|
virtual void setCurrentTabPage(int);
|
||||||
|
/// which tab page is currently on top
|
||||||
|
virtual int currentTabPage(void) const;
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
virtual void selected(int);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual void paintEvent(QPaintEvent *);
|
||||||
|
|
||||||
|
private:
|
||||||
|
QTabBar *tabs;
|
||||||
|
QWidgetStack *stack;
|
||||||
|
QHBoxLayout *topLayout;
|
||||||
|
QVBoxLayout *layout;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -10,7 +10,7 @@
|
|||||||
#ifndef IndexDialog_included
|
#ifndef IndexDialog_included
|
||||||
#define IndexDialog_included
|
#define IndexDialog_included
|
||||||
|
|
||||||
#include "indexdlgdata.h"
|
#include "dlg/indexdlgdata.h"
|
||||||
|
|
||||||
class FormIndex;
|
class FormIndex;
|
||||||
|
|
||||||
|
@ -1,113 +0,0 @@
|
|||||||
# KDE Config File
|
|
||||||
[formcopyright.C]
|
|
||||||
install_location=
|
|
||||||
dist=true
|
|
||||||
install=false
|
|
||||||
type=SOURCE
|
|
||||||
[Workspace_1]
|
|
||||||
openfiles=Untitled.h,Untitled.cpp,
|
|
||||||
show_outputview=true
|
|
||||||
show_treeview=true
|
|
||||||
header_file=Untitled.h
|
|
||||||
cpp_file=Untitled.cpp
|
|
||||||
browser_file=file:/usr/doc/qt1x-devel-1.45/qlistbox.html
|
|
||||||
[Config for BinMakefileAm]
|
|
||||||
ldflags=
|
|
||||||
cxxflags=-O0 -g3 -Wall
|
|
||||||
bin_program=lyxgui
|
|
||||||
[formcopyright.h]
|
|
||||||
install_location=
|
|
||||||
dist=true
|
|
||||||
install=false
|
|
||||||
type=HEADER
|
|
||||||
[dlg/Makefile.am]
|
|
||||||
files=dlg/formcopyrightdialog.kdevdlg,dlg/form_document.kdevdlg,
|
|
||||||
type=static_library
|
|
||||||
sub_dirs=
|
|
||||||
[dlg/form_document.kdevdlg]
|
|
||||||
widget_files=
|
|
||||||
data_file=
|
|
||||||
install_location=
|
|
||||||
classname=
|
|
||||||
baseclass=
|
|
||||||
header_file=
|
|
||||||
dist=true
|
|
||||||
cpp_file=
|
|
||||||
install=false
|
|
||||||
is_toplevel_dialog=true
|
|
||||||
type=KDEV_DIALOG
|
|
||||||
[LFV Groups]
|
|
||||||
Dialogs=*.kdevdlg,
|
|
||||||
GNU=
|
|
||||||
Others=*,
|
|
||||||
Translations=*.po,
|
|
||||||
groups=Headers,Sources,Dialogs,Translations,GNU,Others,
|
|
||||||
Sources=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp,*.lxx,*.l++,*.ll,*.l,
|
|
||||||
Headers=*.h,*.hxx,*.hpp,*.H,
|
|
||||||
[dlg/formcopyrightdialog.kdevdlg]
|
|
||||||
widget_files=
|
|
||||||
data_file=formcopyrightdialogdata.C
|
|
||||||
install_location=
|
|
||||||
classname=FormCopyrightDialog
|
|
||||||
baseclass=QDialog
|
|
||||||
header_file=formcopyrightdialog.h
|
|
||||||
dist=true
|
|
||||||
cpp_file=formcopyrightdialog.h
|
|
||||||
install=false
|
|
||||||
is_toplevel_dialog=true
|
|
||||||
type=KDEV_DIALOG
|
|
||||||
[kde/dlg/formcopyrightdialog.kdevdlg]
|
|
||||||
widget_files=
|
|
||||||
data_file=formcopyrightdialogdata.C
|
|
||||||
install_location=
|
|
||||||
classname=FormCopyrightDialog
|
|
||||||
baseclass=QWidget
|
|
||||||
header_file=formcopyrightdialog.h
|
|
||||||
dist=false
|
|
||||||
cpp_file=formcopyrightdialog.h
|
|
||||||
install=false
|
|
||||||
is_toplevel_dialog=false
|
|
||||||
type=KDEV_DIALOG
|
|
||||||
[General]
|
|
||||||
makefiles=Makefile.am,dlg/Makefile.am,
|
|
||||||
version_control=None
|
|
||||||
author=Jürgen Vigna
|
|
||||||
project_type=normal_empty
|
|
||||||
sub_dir=dlg/
|
|
||||||
lfv_open_groups=Headers,Sources,Dialogs,
|
|
||||||
workspace=1
|
|
||||||
version=0.1
|
|
||||||
project_name=LyxGUI
|
|
||||||
email=jug@sad.it
|
|
||||||
kdevprj_version=1.0beta2
|
|
||||||
[formcopyrightdialog.C]
|
|
||||||
install_location=
|
|
||||||
dist=true
|
|
||||||
install=false
|
|
||||||
type=SOURCE
|
|
||||||
[formcopyrightdata.C]
|
|
||||||
install_location=
|
|
||||||
dist=true
|
|
||||||
install=false
|
|
||||||
type=SOURCE
|
|
||||||
[Makefile.am]
|
|
||||||
files=lyxgui.kdevprj,FormCopyright.h,FormCopyright.C,formcopyrightdialog.h,formcopyrightdialog.C,formcopyrightdialogdata.C,
|
|
||||||
sub_dirs=dlg,
|
|
||||||
type=prog_main
|
|
||||||
sub_dirs=dlg<,dlg,
|
|
||||||
type=normal
|
|
||||||
[lyxgui.kdevprj]
|
|
||||||
install_location=
|
|
||||||
dist=true
|
|
||||||
install=false
|
|
||||||
type=DATA
|
|
||||||
[formcopyrightdialogdata.C]
|
|
||||||
install_location=
|
|
||||||
dist=true
|
|
||||||
install=false
|
|
||||||
type=SOURCE
|
|
||||||
[formcopyrightdialog.h]
|
|
||||||
install_location=
|
|
||||||
dist=true
|
|
||||||
install=false
|
|
||||||
type=HEADER
|
|
7
src/frontends/kde/moc/.cvsignore
Normal file
7
src/frontends/kde/moc/.cvsignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Makefile.in
|
||||||
|
Makefile
|
||||||
|
*.deps
|
||||||
|
*.lo
|
||||||
|
.libs
|
||||||
|
libkde.la
|
||||||
|
*moc.C
|
46
src/frontends/kde/moc/Makefile.am
Normal file
46
src/frontends/kde/moc/Makefile.am
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||||
|
noinst_LTLIBRARIES = libkdemoc.la
|
||||||
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
||||||
|
INCLUDES = -I${top_srcdir}/src/ -I${top_srcdir}/src/frontends/ \
|
||||||
|
${SIGC_CFLAGS} ${FRONTEND_INCLUDES} ${BOOST_INCLUDES}
|
||||||
|
|
||||||
|
libkdemoc_la_SOURCES = citationdlg_moc.C \
|
||||||
|
copyrightdlg_moc.C \
|
||||||
|
indexdlg_moc.C \
|
||||||
|
paradlg_moc.C \
|
||||||
|
parageneraldlg_moc.C \
|
||||||
|
paraextradlg_moc.C \
|
||||||
|
printdlg_moc.C \
|
||||||
|
refdlg_moc.C \
|
||||||
|
tabcreatedlg_moc.C \
|
||||||
|
tocdlg_moc.C \
|
||||||
|
urldlg_moc.C
|
||||||
|
|
||||||
|
DISTCLEANFILES = $(libkdemoc_la_SOURCES) *.orig *.rej *~ *.bak core
|
||||||
|
|
||||||
|
LIBS=
|
||||||
|
ETAGS_ARGS = --lang=c++
|
||||||
|
|
||||||
|
citationdlg_moc.C: ../citationdlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
copyrightdlg_moc.C: ../copyrightdlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
indexdlg_moc.C: ../indexdlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
paradlg_moc.C: ../paradlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
parageneraldlg_moc.C: ../parageneraldlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
paraextradlg_moc.C: ../paraextradlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
printdlg_moc.C: ../printdlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
refdlg_moc.C: ../refdlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
tabcreatedlg_moc.C: ../tabcreatedlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
tocdlg_moc.C: ../tocdlg.h
|
||||||
|
$(MOC) $< -o $@
|
||||||
|
urldlg_moc.C: ../urldlg.h
|
||||||
|
$(MOC) $< -o $@
|
@ -13,62 +13,31 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
|
|
||||||
#include "paradlg.h"
|
#include "paradlg.h"
|
||||||
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
/*
|
|
||||||
* This is the top-level dialog which contains the buttons, and the tab bar for adding
|
|
||||||
* the qtarch-designed child widget dialogs.
|
|
||||||
*
|
|
||||||
* FIXME: QTabDialog is not good for three reasons -
|
|
||||||
* 1) OK/Apply don't emit different signals. Why didn't the Qt people consider we might
|
|
||||||
* care about things other than visibility of the dialog *sigh*
|
|
||||||
* 2) the default button placement goes against the style used in the other dialogs
|
|
||||||
* 3) we don't seem to be able to disable the OK/Apply buttons
|
|
||||||
*
|
|
||||||
* So this must go
|
|
||||||
*
|
|
||||||
* In fact I'm not at all sure that this design is a good one from the user's point of view, but I
|
|
||||||
* don't really have a better solution at the moment :/
|
|
||||||
*/
|
|
||||||
|
|
||||||
ParaDialog::ParaDialog(FormParagraph *form, QWidget *parent, const char *name, bool, WFlags)
|
ParaDialog::ParaDialog(FormParagraph *form, QWidget *parent, const char *name, bool, WFlags)
|
||||||
: QTabDialog(parent,name,false), form_(form)
|
: ParaDialogData(parent,name), form_(form)
|
||||||
{
|
{
|
||||||
setCaption(name);
|
setCaption(name);
|
||||||
|
|
||||||
generalpage = new ParaGeneralDialog(this, "generalpage");
|
generalpage = new ParaGeneralDialog(this, "generalpage");
|
||||||
extrapage = new ParaExtraDialog(this, "extrapage");
|
extrapage = new ParaExtraDialog(this, "extrapage");
|
||||||
|
|
||||||
addTab(generalpage, _("&General"));
|
tabstack->addTabPage(generalpage, _("General"));
|
||||||
addTab(extrapage, _("&Extra"));
|
tabstack->addTabPage(extrapage, _("Extra"));
|
||||||
|
|
||||||
setOKButton(_("&OK"));
|
|
||||||
setApplyButton(_("&Apply"));
|
|
||||||
setDefaultButton(_("&Restore"));
|
|
||||||
setCancelButton(_("&Cancel"));
|
|
||||||
|
|
||||||
connect(this, SIGNAL(applyButtonPressed()), SLOT(apply_adaptor()));
|
|
||||||
connect(this, SIGNAL(defaultButtonPressed()), SLOT(restore()));
|
|
||||||
connect(this, SIGNAL(cancelButtonPressed()), SLOT(close_adaptor()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ParaDialog::~ParaDialog()
|
ParaDialog::~ParaDialog()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaDialog::restore()
|
|
||||||
{
|
|
||||||
// this will restore to the settings of the paragraph
|
|
||||||
form_->update();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ParaDialog::closeEvent(QCloseEvent *e)
|
void ParaDialog::closeEvent(QCloseEvent *e)
|
||||||
{
|
{
|
||||||
form_->close();
|
form_->close();
|
||||||
@ -80,23 +49,25 @@ void ParaDialog::setReadOnly(bool readonly)
|
|||||||
generalpage->alignment->setEnabled(!readonly);
|
generalpage->alignment->setEnabled(!readonly);
|
||||||
generalpage->lineabove->setEnabled(!readonly);
|
generalpage->lineabove->setEnabled(!readonly);
|
||||||
generalpage->linebelow->setEnabled(!readonly);
|
generalpage->linebelow->setEnabled(!readonly);
|
||||||
generalpage->pagebreakabove->setEnabled(!readonly);
|
generalpage->abovepage->pagebreakabove->setEnabled(!readonly);
|
||||||
generalpage->pagebreakbelow->setEnabled(!readonly);
|
generalpage->belowpage->pagebreakbelow->setEnabled(!readonly);
|
||||||
|
generalpage->abovepage->keepabove->setEnabled(!readonly);
|
||||||
|
generalpage->belowpage->keepbelow->setEnabled(!readonly);
|
||||||
generalpage->noindent->setEnabled(!readonly);
|
generalpage->noindent->setEnabled(!readonly);
|
||||||
generalpage->spaceabove->setEnabled(!readonly);
|
generalpage->abovepage->spaceabove->setEnabled(!readonly);
|
||||||
generalpage->spacebelow->setEnabled(!readonly);
|
generalpage->belowpage->spacebelow->setEnabled(!readonly);
|
||||||
generalpage->spaceabovevalue->setEnabled(!readonly);
|
generalpage->abovepage->spaceabovevalue->setEnabled(!readonly);
|
||||||
generalpage->spacebelowvalue->setEnabled(!readonly);
|
generalpage->belowpage->spacebelowvalue->setEnabled(!readonly);
|
||||||
generalpage->spaceabovevalueunits->setEnabled(!readonly);
|
generalpage->abovepage->spaceabovevalueunits->setEnabled(!readonly);
|
||||||
generalpage->spacebelowvalueunits->setEnabled(!readonly);
|
generalpage->belowpage->spacebelowvalueunits->setEnabled(!readonly);
|
||||||
generalpage->spaceaboveplus->setEnabled(!readonly);
|
generalpage->abovepage->spaceaboveplus->setEnabled(!readonly);
|
||||||
generalpage->spacebelowplus->setEnabled(!readonly);
|
generalpage->belowpage->spacebelowplus->setEnabled(!readonly);
|
||||||
generalpage->spaceaboveplusunits->setEnabled(!readonly);
|
generalpage->abovepage->spaceaboveplusunits->setEnabled(!readonly);
|
||||||
generalpage->spacebelowplusunits->setEnabled(!readonly);
|
generalpage->belowpage->spacebelowplusunits->setEnabled(!readonly);
|
||||||
generalpage->spaceaboveminus->setEnabled(!readonly);
|
generalpage->abovepage->spaceaboveminus->setEnabled(!readonly);
|
||||||
generalpage->spacebelowminus->setEnabled(!readonly);
|
generalpage->belowpage->spacebelowminus->setEnabled(!readonly);
|
||||||
generalpage->spaceaboveminusunits->setEnabled(!readonly);
|
generalpage->abovepage->spaceaboveminusunits->setEnabled(!readonly);
|
||||||
generalpage->spacebelowminusunits->setEnabled(!readonly);
|
generalpage->belowpage->spacebelowminusunits->setEnabled(!readonly);
|
||||||
generalpage->block->setEnabled(!readonly);
|
generalpage->block->setEnabled(!readonly);
|
||||||
generalpage->left->setEnabled(!readonly);
|
generalpage->left->setEnabled(!readonly);
|
||||||
generalpage->right->setEnabled(!readonly);
|
generalpage->right->setEnabled(!readonly);
|
||||||
@ -111,7 +82,10 @@ void ParaDialog::setReadOnly(bool readonly)
|
|||||||
extrapage->top->setEnabled(!readonly);
|
extrapage->top->setEnabled(!readonly);
|
||||||
extrapage->middle->setEnabled(!readonly);
|
extrapage->middle->setEnabled(!readonly);
|
||||||
extrapage->bottom->setEnabled(!readonly);
|
extrapage->bottom->setEnabled(!readonly);
|
||||||
// FIXME: can't set buttons readonly
|
ok->setEnabled(!readonly);
|
||||||
|
apply->setEnabled(!readonly);
|
||||||
|
restore->setEnabled(!readonly);
|
||||||
|
cancel->setText(readonly ? _("Close") : _("Cancel"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaDialog::setLabelWidth(const char *text)
|
void ParaDialog::setLabelWidth(const char *text)
|
||||||
@ -148,74 +122,75 @@ void ParaDialog::setChecks(bool labove, bool lbelow, bool pabove, bool pbelow, b
|
|||||||
{
|
{
|
||||||
generalpage->lineabove->setChecked(labove);
|
generalpage->lineabove->setChecked(labove);
|
||||||
generalpage->linebelow->setChecked(lbelow);
|
generalpage->linebelow->setChecked(lbelow);
|
||||||
generalpage->pagebreakabove->setChecked(pabove);
|
generalpage->abovepage->pagebreakabove->setChecked(pabove);
|
||||||
generalpage->pagebreakbelow->setChecked(pbelow);
|
generalpage->belowpage->pagebreakbelow->setChecked(pbelow);
|
||||||
generalpage->noindent->setChecked(noindent);
|
generalpage->noindent->setChecked(noindent);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaDialog::setSpace(VSpace::vspace_kind kindabove, VSpace::vspace_kind kindbelow, bool keepabove, bool keepbelow)
|
void ParaDialog::setSpace(VSpace::vspace_kind kindabove, VSpace::vspace_kind kindbelow, bool keepabove, bool keepbelow)
|
||||||
{
|
{
|
||||||
switch (kindabove) {
|
switch (kindabove) {
|
||||||
case VSpace::NONE:
|
case VSpace::NONE:
|
||||||
generalpage->spaceabove->setCurrentItem(0);
|
generalpage->abovepage->spaceabove->setCurrentItem(0);
|
||||||
break;
|
break;
|
||||||
case VSpace::DEFSKIP:
|
case VSpace::DEFSKIP:
|
||||||
generalpage->spaceabove->setCurrentItem(1);
|
generalpage->abovepage->spaceabove->setCurrentItem(1);
|
||||||
break;
|
break;
|
||||||
case VSpace::SMALLSKIP:
|
case VSpace::SMALLSKIP:
|
||||||
generalpage->spaceabove->setCurrentItem(2);
|
generalpage->abovepage->spaceabove->setCurrentItem(2);
|
||||||
break;
|
break;
|
||||||
case VSpace::MEDSKIP:
|
case VSpace::MEDSKIP:
|
||||||
generalpage->spaceabove->setCurrentItem(3);
|
generalpage->abovepage->spaceabove->setCurrentItem(3);
|
||||||
break;
|
break;
|
||||||
case VSpace::BIGSKIP:
|
case VSpace::BIGSKIP:
|
||||||
generalpage->spaceabove->setCurrentItem(4);
|
generalpage->abovepage->spaceabove->setCurrentItem(4);
|
||||||
break;
|
break;
|
||||||
case VSpace::VFILL:
|
case VSpace::VFILL:
|
||||||
generalpage->spaceabove->setCurrentItem(5);
|
generalpage->abovepage->spaceabove->setCurrentItem(5);
|
||||||
break;
|
break;
|
||||||
case VSpace::LENGTH:
|
case VSpace::LENGTH:
|
||||||
generalpage->spaceabove->setCurrentItem(6);
|
generalpage->abovepage->spaceabove->setCurrentItem(6);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switch (kindbelow) {
|
switch (kindbelow) {
|
||||||
case VSpace::NONE:
|
case VSpace::NONE:
|
||||||
generalpage->spacebelow->setCurrentItem(0);
|
generalpage->belowpage->spacebelow->setCurrentItem(0);
|
||||||
break;
|
break;
|
||||||
case VSpace::DEFSKIP:
|
case VSpace::DEFSKIP:
|
||||||
generalpage->spacebelow->setCurrentItem(1);
|
generalpage->belowpage->spacebelow->setCurrentItem(1);
|
||||||
break;
|
break;
|
||||||
case VSpace::SMALLSKIP:
|
case VSpace::SMALLSKIP:
|
||||||
generalpage->spacebelow->setCurrentItem(2);
|
generalpage->belowpage->spacebelow->setCurrentItem(2);
|
||||||
break;
|
break;
|
||||||
case VSpace::MEDSKIP:
|
case VSpace::MEDSKIP:
|
||||||
generalpage->spacebelow->setCurrentItem(3);
|
generalpage->belowpage->spacebelow->setCurrentItem(3);
|
||||||
break;
|
break;
|
||||||
case VSpace::BIGSKIP:
|
case VSpace::BIGSKIP:
|
||||||
generalpage->spacebelow->setCurrentItem(4);
|
generalpage->belowpage->spacebelow->setCurrentItem(4);
|
||||||
break;
|
break;
|
||||||
case VSpace::VFILL:
|
case VSpace::VFILL:
|
||||||
generalpage->spacebelow->setCurrentItem(5);
|
generalpage->belowpage->spacebelow->setCurrentItem(5);
|
||||||
break;
|
break;
|
||||||
case VSpace::LENGTH:
|
case VSpace::LENGTH:
|
||||||
generalpage->spacebelow->setCurrentItem(6);
|
generalpage->belowpage->spacebelow->setCurrentItem(6);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
generalpage->spaceabovevalue->setEnabled(kindabove == VSpace::LENGTH);
|
generalpage->abovepage->spaceabovevalue->setEnabled(kindabove == VSpace::LENGTH);
|
||||||
generalpage->spaceabovevalueunits->setEnabled(kindabove == VSpace::LENGTH);
|
generalpage->abovepage->spaceabovevalueunits->setEnabled(kindabove == VSpace::LENGTH);
|
||||||
generalpage->spaceaboveplus->setEnabled(kindabove == VSpace::LENGTH);
|
generalpage->abovepage->spaceaboveplus->setEnabled(kindabove == VSpace::LENGTH);
|
||||||
generalpage->spaceaboveplusunits->setEnabled(kindabove == VSpace::LENGTH);
|
generalpage->abovepage->spaceaboveplusunits->setEnabled(kindabove == VSpace::LENGTH);
|
||||||
generalpage->spaceaboveminus->setEnabled(kindabove == VSpace::LENGTH);
|
generalpage->abovepage->spaceaboveminus->setEnabled(kindabove == VSpace::LENGTH);
|
||||||
generalpage->spaceaboveminusunits->setEnabled(kindabove == VSpace::LENGTH);
|
generalpage->abovepage->spaceaboveminusunits->setEnabled(kindabove == VSpace::LENGTH);
|
||||||
generalpage->spacebelowvalue->setEnabled(kindbelow == VSpace::LENGTH);
|
generalpage->belowpage->spacebelowvalue->setEnabled(kindbelow == VSpace::LENGTH);
|
||||||
generalpage->spacebelowvalueunits->setEnabled(kindbelow == VSpace::LENGTH);
|
generalpage->belowpage->spacebelowvalueunits->setEnabled(kindbelow == VSpace::LENGTH);
|
||||||
generalpage->spacebelowplus->setEnabled(kindbelow == VSpace::LENGTH);
|
generalpage->belowpage->spacebelowplus->setEnabled(kindbelow == VSpace::LENGTH);
|
||||||
generalpage->spacebelowplusunits->setEnabled(kindbelow == VSpace::LENGTH);
|
generalpage->belowpage->spacebelowplusunits->setEnabled(kindbelow == VSpace::LENGTH);
|
||||||
generalpage->spacebelowminus->setEnabled(kindbelow == VSpace::LENGTH);
|
generalpage->belowpage->spacebelowminus->setEnabled(kindbelow == VSpace::LENGTH);
|
||||||
generalpage->spacebelowminusunits->setEnabled(kindbelow == VSpace::LENGTH);
|
generalpage->belowpage->spacebelowminusunits->setEnabled(kindbelow == VSpace::LENGTH);
|
||||||
|
|
||||||
// FIXME: I admit I don't know what keep does, or what is best to do with it ...
|
generalpage->abovepage->keepabove->setChecked(keepabove);
|
||||||
|
generalpage->belowpage->keepbelow->setChecked(keepbelow);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaDialog::setUnits(QComboBox *box, LyXLength::UNIT unit)
|
void ParaDialog::setUnits(QComboBox *box, LyXLength::UNIT unit)
|
||||||
@ -232,7 +207,7 @@ void ParaDialog::setUnits(QComboBox *box, LyXLength::UNIT unit)
|
|||||||
case LyXLength::BP: box->setCurrentItem(8); break;
|
case LyXLength::BP: box->setCurrentItem(8); break;
|
||||||
case LyXLength::DD: box->setCurrentItem(9); break;
|
case LyXLength::DD: box->setCurrentItem(9); break;
|
||||||
case LyXLength::CC: box->setCurrentItem(10); break;
|
case LyXLength::CC: box->setCurrentItem(10); break;
|
||||||
case LyXLength::MU: box->setCurrentItem(11); break;
|
case LyXLength::MU: box->setCurrentItem(0); break;
|
||||||
case LyXLength::UNIT_NONE: box->setCurrentItem(0); break;
|
case LyXLength::UNIT_NONE: box->setCurrentItem(0); break;
|
||||||
default:
|
default:
|
||||||
lyxerr[Debug::GUI] << "Unknown unit " << long(unit) << endl;
|
lyxerr[Debug::GUI] << "Unknown unit " << long(unit) << endl;
|
||||||
@ -243,42 +218,42 @@ void ParaDialog::setAboveLength(float val, float plus, float minus,
|
|||||||
LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
|
LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
|
||||||
{
|
{
|
||||||
if (vunit==LyXLength::UNIT_NONE) {
|
if (vunit==LyXLength::UNIT_NONE) {
|
||||||
generalpage->spaceabovevalue->setText("");
|
generalpage->abovepage->spaceabovevalue->setText("");
|
||||||
generalpage->spaceaboveplus->setText("");
|
generalpage->abovepage->spaceaboveplus->setText("");
|
||||||
generalpage->spaceaboveminus->setText("");
|
generalpage->abovepage->spaceaboveminus->setText("");
|
||||||
setUnits(generalpage->spaceabovevalueunits, LyXLength::CM);
|
setUnits(generalpage->abovepage->spaceabovevalueunits, LyXLength::CM);
|
||||||
setUnits(generalpage->spaceaboveplusunits, LyXLength::CM);
|
setUnits(generalpage->abovepage->spaceaboveplusunits, LyXLength::CM);
|
||||||
setUnits(generalpage->spaceaboveminusunits, LyXLength::CM);
|
setUnits(generalpage->abovepage->spaceaboveminusunits, LyXLength::CM);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
generalpage->spaceabovevalue->setText(tostr(val).c_str());
|
generalpage->abovepage->spaceabovevalue->setText(tostr(val).c_str());
|
||||||
generalpage->spaceaboveplus->setText(tostr(plus).c_str());
|
generalpage->abovepage->spaceaboveplus->setText(tostr(plus).c_str());
|
||||||
generalpage->spaceaboveminus->setText(tostr(minus).c_str());
|
generalpage->abovepage->spaceaboveminus->setText(tostr(minus).c_str());
|
||||||
setUnits(generalpage->spaceabovevalueunits, vunit);
|
setUnits(generalpage->abovepage->spaceabovevalueunits, vunit);
|
||||||
setUnits(generalpage->spaceaboveplusunits, punit);
|
setUnits(generalpage->abovepage->spaceaboveplusunits, punit);
|
||||||
setUnits(generalpage->spaceaboveminusunits, munit);
|
setUnits(generalpage->abovepage->spaceaboveminusunits, munit);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaDialog::setBelowLength(float val, float plus, float minus,
|
void ParaDialog::setBelowLength(float val, float plus, float minus,
|
||||||
LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
|
LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
|
||||||
{
|
{
|
||||||
if (vunit==LyXLength::UNIT_NONE) {
|
if (vunit==LyXLength::UNIT_NONE) {
|
||||||
generalpage->spacebelowvalue->setText("");
|
generalpage->belowpage->spacebelowvalue->setText("");
|
||||||
generalpage->spacebelowplus->setText("");
|
generalpage->belowpage->spacebelowplus->setText("");
|
||||||
generalpage->spacebelowminus->setText("");
|
generalpage->belowpage->spacebelowminus->setText("");
|
||||||
setUnits(generalpage->spacebelowvalueunits, LyXLength::CM);
|
setUnits(generalpage->belowpage->spacebelowvalueunits, LyXLength::CM);
|
||||||
setUnits(generalpage->spacebelowplusunits, LyXLength::CM);
|
setUnits(generalpage->belowpage->spacebelowplusunits, LyXLength::CM);
|
||||||
setUnits(generalpage->spacebelowminusunits, LyXLength::CM);
|
setUnits(generalpage->belowpage->spacebelowminusunits, LyXLength::CM);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
generalpage->spacebelowvalue->setText(tostr(val).c_str());
|
generalpage->belowpage->spacebelowvalue->setText(tostr(val).c_str());
|
||||||
generalpage->spacebelowplus->setText(tostr(plus).c_str());
|
generalpage->belowpage->spacebelowplus->setText(tostr(plus).c_str());
|
||||||
generalpage->spacebelowminus->setText(tostr(minus).c_str());
|
generalpage->belowpage->spacebelowminus->setText(tostr(minus).c_str());
|
||||||
setUnits(generalpage->spacebelowvalueunits, vunit);
|
setUnits(generalpage->belowpage->spacebelowvalueunits, vunit);
|
||||||
setUnits(generalpage->spacebelowplusunits, punit);
|
setUnits(generalpage->belowpage->spacebelowplusunits, punit);
|
||||||
setUnits(generalpage->spacebelowminusunits, munit);
|
setUnits(generalpage->belowpage->spacebelowminusunits, munit);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaDialog::setExtra(float widthval, LyXLength::UNIT units, const string percent, int align,
|
void ParaDialog::setExtra(float widthval, LyXLength::UNIT units, const string percent, int align,
|
||||||
@ -287,7 +262,7 @@ void ParaDialog::setExtra(float widthval, LyXLength::UNIT units, const string pe
|
|||||||
|
|
||||||
if (type!=LyXParagraph::PEXTRA_NONE) {
|
if (type!=LyXParagraph::PEXTRA_NONE) {
|
||||||
lyxerr[Debug::GUI] << "percent : $" << percent << "$ widthval " << widthval << " unit " << long(units) << endl;
|
lyxerr[Debug::GUI] << "percent : $" << percent << "$ widthval " << widthval << " unit " << long(units) << endl;
|
||||||
if (percent!="") {
|
if (percent != "") {
|
||||||
extrapage->widthvalue->setText(percent.c_str());
|
extrapage->widthvalue->setText(percent.c_str());
|
||||||
extrapage->widthvalueunits->setCurrentItem(12);
|
extrapage->widthvalueunits->setCurrentItem(12);
|
||||||
} else {
|
} else {
|
||||||
@ -351,7 +326,6 @@ LyXLength::UNIT ParaDialog::getUnits(QComboBox *box) const
|
|||||||
case 8: return LyXLength::BP;
|
case 8: return LyXLength::BP;
|
||||||
case 9: return LyXLength::DD;
|
case 9: return LyXLength::DD;
|
||||||
case 10: return LyXLength::CC;
|
case 10: return LyXLength::CC;
|
||||||
case 11: return LyXLength::MU;
|
|
||||||
default:
|
default:
|
||||||
lyxerr[Debug::GUI] << "Unknown combo choice " << box->currentItem() << endl;
|
lyxerr[Debug::GUI] << "Unknown combo choice " << box->currentItem() << endl;
|
||||||
}
|
}
|
||||||
@ -361,12 +335,12 @@ LyXLength::UNIT ParaDialog::getUnits(QComboBox *box) const
|
|||||||
LyXGlueLength ParaDialog::getAboveLength() const
|
LyXGlueLength ParaDialog::getAboveLength() const
|
||||||
{
|
{
|
||||||
LyXGlueLength len(
|
LyXGlueLength len(
|
||||||
strToDbl(generalpage->spaceabovevalue->text()),
|
strToDbl(generalpage->abovepage->spaceabovevalue->text()),
|
||||||
getUnits(generalpage->spaceabovevalueunits),
|
getUnits(generalpage->abovepage->spaceabovevalueunits),
|
||||||
strToDbl(generalpage->spaceaboveplus->text()),
|
strToDbl(generalpage->abovepage->spaceaboveplus->text()),
|
||||||
getUnits(generalpage->spaceaboveplusunits),
|
getUnits(generalpage->abovepage->spaceaboveplusunits),
|
||||||
strToDbl(generalpage->spaceaboveminus->text()),
|
strToDbl(generalpage->abovepage->spaceaboveminus->text()),
|
||||||
getUnits(generalpage->spaceaboveminusunits)
|
getUnits(generalpage->abovepage->spaceaboveminusunits)
|
||||||
);
|
);
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
@ -375,12 +349,12 @@ LyXGlueLength ParaDialog::getAboveLength() const
|
|||||||
LyXGlueLength ParaDialog::getBelowLength() const
|
LyXGlueLength ParaDialog::getBelowLength() const
|
||||||
{
|
{
|
||||||
LyXGlueLength len(
|
LyXGlueLength len(
|
||||||
strToDbl(generalpage->spacebelowvalue->text()),
|
strToDbl(generalpage->belowpage->spacebelowvalue->text()),
|
||||||
getUnits(generalpage->spacebelowvalueunits),
|
getUnits(generalpage->belowpage->spacebelowvalueunits),
|
||||||
strToDbl(generalpage->spacebelowplus->text()),
|
strToDbl(generalpage->belowpage->spacebelowplus->text()),
|
||||||
getUnits(generalpage->spacebelowplusunits),
|
getUnits(generalpage->belowpage->spacebelowplusunits),
|
||||||
strToDbl(generalpage->spacebelowminus->text()),
|
strToDbl(generalpage->belowpage->spacebelowminus->text()),
|
||||||
getUnits(generalpage->spacebelowminusunits)
|
getUnits(generalpage->belowpage->spacebelowminusunits)
|
||||||
);
|
);
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
@ -389,7 +363,7 @@ LyXGlueLength ParaDialog::getBelowLength() const
|
|||||||
LyXLength ParaDialog::getExtraWidth() const
|
LyXLength ParaDialog::getExtraWidth() const
|
||||||
{
|
{
|
||||||
|
|
||||||
if (extrapage->widthvalueunits->currentItem()!=12) {
|
if (extrapage->widthvalueunits->currentItem()!=11) {
|
||||||
LyXLength len(strToDbl(extrapage->widthvalue->text()), getUnits(extrapage->widthvalueunits));
|
LyXLength len(strToDbl(extrapage->widthvalue->text()), getUnits(extrapage->widthvalueunits));
|
||||||
return len;
|
return len;
|
||||||
} else {
|
} else {
|
||||||
|
@ -23,16 +23,18 @@
|
|||||||
#include "parageneraldlg.h"
|
#include "parageneraldlg.h"
|
||||||
#include "paraextradlg.h"
|
#include "paraextradlg.h"
|
||||||
|
|
||||||
#include <qtabdialog.h>
|
//#include <qtabdialog.h>
|
||||||
|
|
||||||
#include "vspace.h"
|
#include "vspace.h"
|
||||||
#include "lyxparagraph.h"
|
#include "lyxparagraph.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
#include "dlg/paradlgdata.h"
|
||||||
|
|
||||||
// to connect apply() and close()
|
// to connect apply() and close()
|
||||||
#include "FormParagraph.h"
|
#include "FormParagraph.h"
|
||||||
|
|
||||||
class ParaDialog : public QTabDialog {
|
class ParaDialog : public ParaDialogData {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
ParaDialog(FormParagraph *form, QWidget *parent=0, const char *name=0,
|
ParaDialog(FormParagraph *form, QWidget *parent=0, const char *name=0,
|
||||||
@ -63,6 +65,14 @@ public:
|
|||||||
return LYX_ALIGN_BLOCK;
|
return LYX_ALIGN_BLOCK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool getAboveKeep() const {
|
||||||
|
return generalpage->abovepage->keepabove->isChecked();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool getBelowKeep() const {
|
||||||
|
return generalpage->belowpage->keepbelow->isChecked();
|
||||||
|
}
|
||||||
|
|
||||||
bool getLineAbove() const {
|
bool getLineAbove() const {
|
||||||
return generalpage->lineabove->isChecked();
|
return generalpage->lineabove->isChecked();
|
||||||
}
|
}
|
||||||
@ -72,11 +82,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool getPagebreakAbove() const {
|
bool getPagebreakAbove() const {
|
||||||
return generalpage->pagebreakabove->isChecked();
|
return generalpage->abovepage->pagebreakabove->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool getPagebreakBelow() const {
|
bool getPagebreakBelow() const {
|
||||||
return generalpage->pagebreakbelow->isChecked();
|
return generalpage->belowpage->pagebreakbelow->isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool getNoIndent() const {
|
bool getNoIndent() const {
|
||||||
@ -84,23 +94,13 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
VSpace::vspace_kind getSpaceAboveKind() const {
|
VSpace::vspace_kind getSpaceAboveKind() const {
|
||||||
return getSpaceKind(generalpage->spaceabove->currentItem());
|
return getSpaceKind(generalpage->abovepage->spaceabove->currentItem());
|
||||||
}
|
}
|
||||||
|
|
||||||
VSpace::vspace_kind getSpaceBelowKind() const {
|
VSpace::vspace_kind getSpaceBelowKind() const {
|
||||||
return getSpaceKind(generalpage->spacebelow->currentItem());
|
return getSpaceKind(generalpage->belowpage->spacebelow->currentItem());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool getSpaceAboveKeep() const {
|
|
||||||
// FIXME
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool getSpaceBelowKeep() const {
|
|
||||||
// FIXME
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
LyXGlueLength getAboveLength() const;
|
LyXGlueLength getAboveLength() const;
|
||||||
|
|
||||||
LyXGlueLength getBelowLength() const;
|
LyXGlueLength getBelowLength() const;
|
||||||
@ -166,18 +166,27 @@ private:
|
|||||||
LyXLength::UNIT getUnits(QComboBox *box) const;
|
LyXLength::UNIT getUnits(QComboBox *box) const;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|
||||||
|
void ok_adaptor(void) {
|
||||||
|
apply_adaptor();
|
||||||
|
form_->close();
|
||||||
|
hide();
|
||||||
|
}
|
||||||
|
|
||||||
void apply_adaptor(void) {
|
void apply_adaptor(void) {
|
||||||
form_->apply();
|
form_->apply();
|
||||||
|
}
|
||||||
|
|
||||||
|
void restore_adaptor(void) {
|
||||||
|
// this will reset to known values
|
||||||
|
form_->update();
|
||||||
|
}
|
||||||
|
|
||||||
|
void cancel_adaptor(void) {
|
||||||
form_->close();
|
form_->close();
|
||||||
hide();
|
hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
void close_adaptor(void) {
|
|
||||||
form_->close();
|
|
||||||
hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
void restore(void);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -37,7 +37,6 @@ ParaExtraDialog::ParaExtraDialog
|
|||||||
widthvalueunits->insertItem(_("Big/PS points (1/72 inch)"));
|
widthvalueunits->insertItem(_("Big/PS points (1/72 inch)"));
|
||||||
widthvalueunits->insertItem(_("Didot points"));
|
widthvalueunits->insertItem(_("Didot points"));
|
||||||
widthvalueunits->insertItem(_("Cicero points"));
|
widthvalueunits->insertItem(_("Cicero points"));
|
||||||
widthvalueunits->insertItem(_("Math units"));
|
|
||||||
widthvalueunits->insertItem(_("Percent of column"));
|
widthvalueunits->insertItem(_("Percent of column"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#ifndef ParaExtraDialog_included
|
#ifndef ParaExtraDialog_included
|
||||||
#define ParaExtraDialog_included
|
#define ParaExtraDialog_included
|
||||||
|
|
||||||
#include "paraextradlgdata.h"
|
#include "dlg/paraextradlgdata.h"
|
||||||
|
|
||||||
class ParaDialog;
|
class ParaDialog;
|
||||||
|
|
||||||
|
@ -22,27 +22,38 @@ ParaGeneralDialog::ParaGeneralDialog
|
|||||||
Inherited( parent, name )
|
Inherited( parent, name )
|
||||||
{
|
{
|
||||||
|
|
||||||
spaceabove->insertItem(_("None"));
|
abovepage = new ParaAboveDialog(this, "abovepage");
|
||||||
spaceabove->insertItem(_("Defskip"));
|
belowpage = new ParaBelowDialog(this, "belowpage");
|
||||||
spaceabove->insertItem(_("Small skip"));
|
|
||||||
spaceabove->insertItem(_("Medium skip"));
|
// FIXME: free punctuation to whoever can make the value
|
||||||
spaceabove->insertItem(_("Big skip"));
|
// boxes not be overly large
|
||||||
spaceabove->insertItem(_("VFill"));
|
spacetab->addTabPage(abovepage, _("Spacing Above"));
|
||||||
spaceabove->insertItem(_("Length"));
|
spacetab->addTabPage(belowpage, _("Spacing Below"));
|
||||||
spacebelow->insertItem(_("None"));
|
|
||||||
spacebelow->insertItem(_("Defskip"));
|
connect(abovepage->spaceabove, SIGNAL(highlighted(int)), this, SLOT(spaceaboveHighlighted(int)));
|
||||||
spacebelow->insertItem(_("Small skip"));
|
connect(belowpage->spacebelow, SIGNAL(highlighted(int)), this, SLOT(spacebelowHighlighted(int)));
|
||||||
spacebelow->insertItem(_("Medium skip"));
|
|
||||||
spacebelow->insertItem(_("Big skip"));
|
abovepage->spaceabove->insertItem(_("None"));
|
||||||
spacebelow->insertItem(_("VFill"));
|
abovepage->spaceabove->insertItem(_("Defskip"));
|
||||||
spacebelow->insertItem(_("Length"));
|
abovepage->spaceabove->insertItem(_("Small skip"));
|
||||||
|
abovepage->spaceabove->insertItem(_("Medium skip"));
|
||||||
|
abovepage->spaceabove->insertItem(_("Big skip"));
|
||||||
|
abovepage->spaceabove->insertItem(_("VFill"));
|
||||||
|
abovepage->spaceabove->insertItem(_("Length"));
|
||||||
|
belowpage->spacebelow->insertItem(_("None"));
|
||||||
|
belowpage->spacebelow->insertItem(_("Defskip"));
|
||||||
|
belowpage->spacebelow->insertItem(_("Small skip"));
|
||||||
|
belowpage->spacebelow->insertItem(_("Medium skip"));
|
||||||
|
belowpage->spacebelow->insertItem(_("Big skip"));
|
||||||
|
belowpage->spacebelow->insertItem(_("VFill"));
|
||||||
|
belowpage->spacebelow->insertItem(_("Length"));
|
||||||
|
|
||||||
createUnits(spaceabovevalueunits);
|
createUnits(abovepage->spaceabovevalueunits);
|
||||||
createUnits(spaceaboveplusunits);
|
createUnits(abovepage->spaceaboveplusunits);
|
||||||
createUnits(spaceaboveminusunits);
|
createUnits(abovepage->spaceaboveminusunits);
|
||||||
createUnits(spacebelowvalueunits);
|
createUnits(belowpage->spacebelowvalueunits);
|
||||||
createUnits(spacebelowplusunits);
|
createUnits(belowpage->spacebelowplusunits);
|
||||||
createUnits(spacebelowminusunits);
|
createUnits(belowpage->spacebelowminusunits);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaGeneralDialog::createUnits(QComboBox *box)
|
void ParaGeneralDialog::createUnits(QComboBox *box)
|
||||||
@ -59,7 +70,6 @@ void ParaGeneralDialog::createUnits(QComboBox *box)
|
|||||||
box->insertItem(_("Big/PS points (1/72 inch)"));
|
box->insertItem(_("Big/PS points (1/72 inch)"));
|
||||||
box->insertItem(_("Didot points"));
|
box->insertItem(_("Didot points"));
|
||||||
box->insertItem(_("Cicero points"));
|
box->insertItem(_("Cicero points"));
|
||||||
box->insertItem(_("Math units"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ParaGeneralDialog::~ParaGeneralDialog()
|
ParaGeneralDialog::~ParaGeneralDialog()
|
||||||
@ -68,51 +78,20 @@ ParaGeneralDialog::~ParaGeneralDialog()
|
|||||||
|
|
||||||
void ParaGeneralDialog::spaceaboveHighlighted(int val)
|
void ParaGeneralDialog::spaceaboveHighlighted(int val)
|
||||||
{
|
{
|
||||||
spaceabovevalue->setEnabled(val == 6);
|
abovepage->spaceabovevalue->setEnabled(val == 6);
|
||||||
spaceabovevalueunits->setEnabled(val == 6);
|
abovepage->spaceabovevalueunits->setEnabled(val == 6);
|
||||||
spaceaboveplus->setEnabled(val == 6);
|
abovepage->spaceaboveplus->setEnabled(val == 6);
|
||||||
spaceaboveplusunits->setEnabled(val == 6);
|
abovepage->spaceaboveplusunits->setEnabled(val == 6);
|
||||||
spaceaboveminus->setEnabled(val == 6);
|
abovepage->spaceaboveminus->setEnabled(val == 6);
|
||||||
spaceaboveminusunits->setEnabled(val == 6);
|
abovepage->spaceaboveminusunits->setEnabled(val == 6);
|
||||||
}
|
|
||||||
|
|
||||||
void ParaGeneralDialog::spaceabovevalueChanged(const char *text)
|
|
||||||
{
|
|
||||||
// FIXME: the problem here is not validation, but what to do
|
|
||||||
// if it is not a valid double value ...
|
|
||||||
}
|
|
||||||
|
|
||||||
void ParaGeneralDialog::spaceaboveplusChanged(const char *text)
|
|
||||||
{
|
|
||||||
// FIXME
|
|
||||||
}
|
|
||||||
|
|
||||||
void ParaGeneralDialog::spaceaboveminusChanged(const char *text)
|
|
||||||
{
|
|
||||||
// FIXME
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ParaGeneralDialog::spacebelowHighlighted(int val)
|
void ParaGeneralDialog::spacebelowHighlighted(int val)
|
||||||
{
|
{
|
||||||
spacebelowvalue->setEnabled(val == 6);
|
belowpage->spacebelowvalue->setEnabled(val == 6);
|
||||||
spacebelowvalueunits->setEnabled(val == 6);
|
belowpage->spacebelowvalueunits->setEnabled(val == 6);
|
||||||
spacebelowplus->setEnabled(val == 6);
|
belowpage->spacebelowplus->setEnabled(val == 6);
|
||||||
spacebelowplusunits->setEnabled(val == 6);
|
belowpage->spacebelowplusunits->setEnabled(val == 6);
|
||||||
spacebelowminus->setEnabled(val == 6);
|
belowpage->spacebelowminus->setEnabled(val == 6);
|
||||||
spacebelowminusunits->setEnabled(val == 6);
|
belowpage->spacebelowminusunits->setEnabled(val == 6);
|
||||||
}
|
|
||||||
|
|
||||||
void ParaGeneralDialog::spacebelowvalueChanged(const char *text)
|
|
||||||
{
|
|
||||||
// FIXME
|
|
||||||
}
|
|
||||||
|
|
||||||
void ParaGeneralDialog::spacebelowplusChanged(const char *text)
|
|
||||||
{
|
|
||||||
// FIXME
|
|
||||||
}
|
|
||||||
|
|
||||||
void ParaGeneralDialog::spacebelowminusChanged(const char *text)
|
|
||||||
{
|
|
||||||
// FIXME
|
|
||||||
}
|
}
|
||||||
|
@ -1,48 +1,63 @@
|
|||||||
/**********************************************************************
|
/*
|
||||||
|
* parageneraldlg.h
|
||||||
--- Qt Architect generated file ---
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
File: parageneraldlg.h
|
*/
|
||||||
Last generated: Sat Oct 14 00:27:47 2000
|
|
||||||
|
|
||||||
*********************************************************************/
|
|
||||||
|
|
||||||
#ifndef ParaGeneralDialog_included
|
#ifndef ParaGeneralDialog_included
|
||||||
#define ParaGeneralDialog_included
|
#define ParaGeneralDialog_included
|
||||||
|
|
||||||
#include "parageneraldlgdata.h"
|
#include "dlg/parageneraldlgdata.h"
|
||||||
|
#include "dlg/paraabovedlgdata.h"
|
||||||
|
#include "dlg/parabelowdlgdata.h"
|
||||||
|
|
||||||
class ParaDialog;
|
class ParaDialog;
|
||||||
|
|
||||||
|
class ParaAboveDialog : public ParaAboveDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
ParaAboveDialog(QWidget *p, const char *name) : ParaAboveDialogData(p,name) {};
|
||||||
|
~ParaAboveDialog() {};
|
||||||
|
|
||||||
|
friend class ParaGeneralDialog;
|
||||||
|
friend class ParaDialog;
|
||||||
|
};
|
||||||
|
|
||||||
|
class ParaBelowDialog : public ParaBelowDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
ParaBelowDialog(QWidget *p, const char *name) : ParaBelowDialogData(p,name) {};
|
||||||
|
~ParaBelowDialog() {};
|
||||||
|
|
||||||
|
friend class ParaGeneralDialog;
|
||||||
|
friend class ParaDialog;
|
||||||
|
};
|
||||||
|
|
||||||
class ParaGeneralDialog : public ParaGeneralDialogData
|
class ParaGeneralDialog : public ParaGeneralDialogData
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
ParaGeneralDialog
|
ParaGeneralDialog (QWidget* parent = NULL, const char* name = NULL);
|
||||||
(
|
|
||||||
QWidget* parent = NULL,
|
|
||||||
const char* name = NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
virtual ~ParaGeneralDialog();
|
virtual ~ParaGeneralDialog();
|
||||||
|
|
||||||
friend class ParaDialog;
|
|
||||||
|
|
||||||
|
friend class ParaDialog;
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|
||||||
void spaceaboveHighlighted(int);
|
void spaceaboveHighlighted(int);
|
||||||
void spacebelowHighlighted(int);
|
void spacebelowHighlighted(int);
|
||||||
void spaceabovevalueChanged(const char *text);
|
|
||||||
void spaceaboveplusChanged(const char *text);
|
|
||||||
void spaceaboveminusChanged(const char *text);
|
|
||||||
void spacebelowvalueChanged(const char *text);
|
|
||||||
void spacebelowplusChanged(const char *text);
|
|
||||||
void spacebelowminusChanged(const char *text);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void createUnits(QComboBox *box);
|
void createUnits(QComboBox *box);
|
||||||
|
ParaAboveDialog *abovepage;
|
||||||
|
ParaBelowDialog *belowpage;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ParaGeneralDialog_included
|
#endif // ParaGeneralDialog_included
|
||||||
|
@ -1,892 +0,0 @@
|
|||||||
/**********************************************************************
|
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
|
||||||
|
|
||||||
File: parageneraldlgdata.C
|
|
||||||
Last generated: Tue Oct 24 13:38:19 2000
|
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
|
||||||
regenerated by qtarch. All changes will be lost.
|
|
||||||
|
|
||||||
*********************************************************************/
|
|
||||||
|
|
||||||
#include <gettext.h>
|
|
||||||
|
|
||||||
#include <qpixmap.h>
|
|
||||||
#include <qlayout.h>
|
|
||||||
#include "parageneraldlgdata.h"
|
|
||||||
|
|
||||||
#define Inherited QWidget
|
|
||||||
|
|
||||||
#include <qlabel.h>
|
|
||||||
#include <qgroupbox.h>
|
|
||||||
|
|
||||||
ParaGeneralDialogData::ParaGeneralDialogData
|
|
||||||
(
|
|
||||||
QWidget* parent,
|
|
||||||
const char* name
|
|
||||||
)
|
|
||||||
:
|
|
||||||
Inherited( parent, name, 0 )
|
|
||||||
{
|
|
||||||
alignment = new QButtonGroup( this, "alignment" );
|
|
||||||
alignment->setGeometry( 5, 5, 102, 196 );
|
|
||||||
alignment->setMinimumSize( 0, 0 );
|
|
||||||
alignment->setMaximumSize( 32767, 32767 );
|
|
||||||
alignment->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
alignment->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
alignment->setFontPropagation( QWidget::NoChildren );
|
|
||||||
alignment->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
alignment->setFrameStyle( 49 );
|
|
||||||
alignment->setLineWidth( 1 );
|
|
||||||
alignment->setMidLineWidth( 0 );
|
|
||||||
alignment->QFrame::setMargin( 0 );
|
|
||||||
alignment->setTitle( _("Alignment") );
|
|
||||||
alignment->setAlignment( 1 );
|
|
||||||
alignment->setExclusive( TRUE );
|
|
||||||
|
|
||||||
QGroupBox* qtarch_SpacingAboveGroupBox;
|
|
||||||
qtarch_SpacingAboveGroupBox = new QGroupBox( this, "SpacingAboveGroupBox" );
|
|
||||||
qtarch_SpacingAboveGroupBox->setGeometry( 112, 5, 204, 196 );
|
|
||||||
qtarch_SpacingAboveGroupBox->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_SpacingAboveGroupBox->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_SpacingAboveGroupBox->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_SpacingAboveGroupBox->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_SpacingAboveGroupBox->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_SpacingAboveGroupBox->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_SpacingAboveGroupBox->setFrameStyle( 49 );
|
|
||||||
qtarch_SpacingAboveGroupBox->setLineWidth( 1 );
|
|
||||||
qtarch_SpacingAboveGroupBox->setMidLineWidth( 0 );
|
|
||||||
qtarch_SpacingAboveGroupBox->QFrame::setMargin( 0 );
|
|
||||||
qtarch_SpacingAboveGroupBox->setTitle( _("Spacing Above") );
|
|
||||||
qtarch_SpacingAboveGroupBox->setAlignment( 1 );
|
|
||||||
|
|
||||||
lineabove = new QCheckBox( this, "lineabove" );
|
|
||||||
lineabove->setGeometry( 5, 206, 255, 26 );
|
|
||||||
lineabove->setMinimumSize( 0, 0 );
|
|
||||||
lineabove->setMaximumSize( 32767, 32767 );
|
|
||||||
lineabove->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
lineabove->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
lineabove->setFontPropagation( QWidget::NoChildren );
|
|
||||||
lineabove->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
lineabove->setText( _("Draw line above paragraph") );
|
|
||||||
lineabove->setAutoRepeat( FALSE );
|
|
||||||
lineabove->setAutoResize( FALSE );
|
|
||||||
lineabove->setChecked( FALSE );
|
|
||||||
|
|
||||||
linebelow = new QCheckBox( this, "linebelow" );
|
|
||||||
linebelow->setGeometry( 5, 237, 255, 27 );
|
|
||||||
linebelow->setMinimumSize( 0, 0 );
|
|
||||||
linebelow->setMaximumSize( 32767, 32767 );
|
|
||||||
linebelow->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
linebelow->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
linebelow->setFontPropagation( QWidget::NoChildren );
|
|
||||||
linebelow->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
linebelow->setText( _("Draw line below paragraph") );
|
|
||||||
linebelow->setAutoRepeat( FALSE );
|
|
||||||
linebelow->setAutoResize( FALSE );
|
|
||||||
linebelow->setChecked( FALSE );
|
|
||||||
|
|
||||||
pagebreakabove = new QCheckBox( qtarch_SpacingAboveGroupBox, "pagebreakabove" );
|
|
||||||
pagebreakabove->setGeometry( 5, 20, 194, 24 );
|
|
||||||
pagebreakabove->setMinimumSize( 0, 0 );
|
|
||||||
pagebreakabove->setMaximumSize( 32767, 32767 );
|
|
||||||
pagebreakabove->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
pagebreakabove->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
pagebreakabove->setFontPropagation( QWidget::NoChildren );
|
|
||||||
pagebreakabove->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
pagebreakabove->setText( _("Page break") );
|
|
||||||
pagebreakabove->setAutoRepeat( FALSE );
|
|
||||||
pagebreakabove->setAutoResize( FALSE );
|
|
||||||
pagebreakabove->setChecked( FALSE );
|
|
||||||
|
|
||||||
noindent = new QCheckBox( this, "noindent" );
|
|
||||||
noindent->setGeometry( 5, 269, 255, 26 );
|
|
||||||
noindent->setMinimumSize( 0, 0 );
|
|
||||||
noindent->setMaximumSize( 32767, 32767 );
|
|
||||||
noindent->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
noindent->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
noindent->setFontPropagation( QWidget::NoChildren );
|
|
||||||
noindent->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
noindent->setText( _("Don't indent paragraph") );
|
|
||||||
noindent->setAutoRepeat( FALSE );
|
|
||||||
noindent->setAutoResize( FALSE );
|
|
||||||
noindent->setChecked( FALSE );
|
|
||||||
|
|
||||||
spaceabove = new QComboBox( FALSE, qtarch_SpacingAboveGroupBox, "spaceabove" );
|
|
||||||
spaceabove->setGeometry( 5, 79, 194, 24 );
|
|
||||||
spaceabove->setMinimumSize( 0, 0 );
|
|
||||||
spaceabove->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spaceabove, SIGNAL(highlighted(int)), SLOT(spaceaboveHighlighted(int)) );
|
|
||||||
spaceabove->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spaceabove->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spaceabove->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spaceabove->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spaceabove->setSizeLimit( 10 );
|
|
||||||
spaceabove->setAutoResize( FALSE );
|
|
||||||
spaceabove->setMaxCount( 2147483647 );
|
|
||||||
spaceabove->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
QLabel* qtarch_abovelabel;
|
|
||||||
qtarch_abovelabel = new QLabel( qtarch_SpacingAboveGroupBox, "abovelabel" );
|
|
||||||
qtarch_abovelabel->setGeometry( 5, 49, 194, 25 );
|
|
||||||
qtarch_abovelabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_abovelabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_abovelabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_abovelabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_abovelabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_abovelabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_abovelabel->setFrameStyle( 0 );
|
|
||||||
qtarch_abovelabel->setLineWidth( 1 );
|
|
||||||
qtarch_abovelabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_abovelabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_abovelabel->setText( _("Extra Space") );
|
|
||||||
qtarch_abovelabel->setAlignment( 289 );
|
|
||||||
qtarch_abovelabel->setMargin( -1 );
|
|
||||||
|
|
||||||
QGroupBox* qtarch_SpacingBelowGroupBox;
|
|
||||||
qtarch_SpacingBelowGroupBox = new QGroupBox( this, "SpacingBelowGroupBox" );
|
|
||||||
qtarch_SpacingBelowGroupBox->setGeometry( 321, 5, 204, 196 );
|
|
||||||
qtarch_SpacingBelowGroupBox->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_SpacingBelowGroupBox->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_SpacingBelowGroupBox->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_SpacingBelowGroupBox->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_SpacingBelowGroupBox->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_SpacingBelowGroupBox->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_SpacingBelowGroupBox->setFrameStyle( 49 );
|
|
||||||
qtarch_SpacingBelowGroupBox->setLineWidth( 1 );
|
|
||||||
qtarch_SpacingBelowGroupBox->setMidLineWidth( 0 );
|
|
||||||
qtarch_SpacingBelowGroupBox->QFrame::setMargin( 0 );
|
|
||||||
qtarch_SpacingBelowGroupBox->setTitle( _("Spacing Below") );
|
|
||||||
qtarch_SpacingBelowGroupBox->setAlignment( 1 );
|
|
||||||
|
|
||||||
pagebreakbelow = new QCheckBox( qtarch_SpacingBelowGroupBox, "pagebreakbelow" );
|
|
||||||
pagebreakbelow->setGeometry( 5, 20, 194, 24 );
|
|
||||||
pagebreakbelow->setMinimumSize( 0, 0 );
|
|
||||||
pagebreakbelow->setMaximumSize( 32767, 32767 );
|
|
||||||
pagebreakbelow->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
pagebreakbelow->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
pagebreakbelow->setFontPropagation( QWidget::NoChildren );
|
|
||||||
pagebreakbelow->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
pagebreakbelow->setText( _("Page break") );
|
|
||||||
pagebreakbelow->setAutoRepeat( FALSE );
|
|
||||||
pagebreakbelow->setAutoResize( FALSE );
|
|
||||||
pagebreakbelow->setChecked( FALSE );
|
|
||||||
|
|
||||||
QLabel* qtarch_belowlabel;
|
|
||||||
qtarch_belowlabel = new QLabel( qtarch_SpacingBelowGroupBox, "belowlabel" );
|
|
||||||
qtarch_belowlabel->setGeometry( 5, 49, 194, 25 );
|
|
||||||
qtarch_belowlabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_belowlabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_belowlabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_belowlabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_belowlabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_belowlabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_belowlabel->setFrameStyle( 0 );
|
|
||||||
qtarch_belowlabel->setLineWidth( 1 );
|
|
||||||
qtarch_belowlabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_belowlabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_belowlabel->setText( _("Extra Space") );
|
|
||||||
qtarch_belowlabel->setAlignment( 289 );
|
|
||||||
qtarch_belowlabel->setMargin( -1 );
|
|
||||||
|
|
||||||
spacebelow = new QComboBox( FALSE, qtarch_SpacingBelowGroupBox, "spacebelow" );
|
|
||||||
spacebelow->setGeometry( 5, 79, 194, 24 );
|
|
||||||
spacebelow->setMinimumSize( 0, 0 );
|
|
||||||
spacebelow->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spacebelow, SIGNAL(highlighted(int)), SLOT(spacebelowHighlighted(int)) );
|
|
||||||
spacebelow->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spacebelow->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spacebelow->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spacebelow->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spacebelow->setSizeLimit( 10 );
|
|
||||||
spacebelow->setAutoResize( FALSE );
|
|
||||||
spacebelow->setMaxCount( 2147483647 );
|
|
||||||
spacebelow->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
block = new QRadioButton( alignment, "block" );
|
|
||||||
block->setGeometry( 5, 37, 92, 18 );
|
|
||||||
block->setMinimumSize( 0, 0 );
|
|
||||||
block->setMaximumSize( 32767, 32767 );
|
|
||||||
block->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
block->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
block->setFontPropagation( QWidget::NoChildren );
|
|
||||||
block->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
block->setText( _("Block") );
|
|
||||||
block->setAutoRepeat( FALSE );
|
|
||||||
block->setAutoResize( FALSE );
|
|
||||||
block->setChecked( FALSE );
|
|
||||||
|
|
||||||
center = new QRadioButton( alignment, "center" );
|
|
||||||
center->setGeometry( 5, 77, 92, 17 );
|
|
||||||
center->setMinimumSize( 0, 0 );
|
|
||||||
center->setMaximumSize( 32767, 32767 );
|
|
||||||
center->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
center->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
center->setFontPropagation( QWidget::NoChildren );
|
|
||||||
center->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
center->setText( _("Center") );
|
|
||||||
center->setAutoRepeat( FALSE );
|
|
||||||
center->setAutoResize( FALSE );
|
|
||||||
center->setChecked( FALSE );
|
|
||||||
|
|
||||||
left = new QRadioButton( alignment, "left" );
|
|
||||||
left->setGeometry( 5, 117, 92, 17 );
|
|
||||||
left->setMinimumSize( 0, 0 );
|
|
||||||
left->setMaximumSize( 32767, 32767 );
|
|
||||||
left->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
left->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
left->setFontPropagation( QWidget::NoChildren );
|
|
||||||
left->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
left->setText( _("Left") );
|
|
||||||
left->setAutoRepeat( FALSE );
|
|
||||||
left->setAutoResize( FALSE );
|
|
||||||
left->setChecked( FALSE );
|
|
||||||
|
|
||||||
right = new QRadioButton( alignment, "right" );
|
|
||||||
right->setGeometry( 5, 156, 92, 18 );
|
|
||||||
right->setMinimumSize( 0, 0 );
|
|
||||||
right->setMaximumSize( 32767, 32767 );
|
|
||||||
right->setFocusPolicy( QWidget::TabFocus );
|
|
||||||
right->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
right->setFontPropagation( QWidget::NoChildren );
|
|
||||||
right->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
right->setText( _("Right") );
|
|
||||||
right->setAutoRepeat( FALSE );
|
|
||||||
right->setAutoResize( FALSE );
|
|
||||||
right->setChecked( FALSE );
|
|
||||||
|
|
||||||
QLabel* qtarch_labelwidthlabel;
|
|
||||||
qtarch_labelwidthlabel = new QLabel( this, "labelwidthlabel" );
|
|
||||||
qtarch_labelwidthlabel->setGeometry( 265, 206, 128, 89 );
|
|
||||||
qtarch_labelwidthlabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_labelwidthlabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_labelwidthlabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_labelwidthlabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_labelwidthlabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelwidthlabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_labelwidthlabel->setFrameStyle( 0 );
|
|
||||||
qtarch_labelwidthlabel->setLineWidth( 1 );
|
|
||||||
qtarch_labelwidthlabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_labelwidthlabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_labelwidthlabel->setText( _("Label width") );
|
|
||||||
qtarch_labelwidthlabel->setAlignment( 289 );
|
|
||||||
qtarch_labelwidthlabel->setMargin( -1 );
|
|
||||||
|
|
||||||
labelwidth = new QLineEdit( this, "labelwidth" );
|
|
||||||
labelwidth->setGeometry( 398, 206, 127, 89 );
|
|
||||||
labelwidth->setMinimumSize( 0, 0 );
|
|
||||||
labelwidth->setMaximumSize( 32767, 32767 );
|
|
||||||
labelwidth->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
labelwidth->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
labelwidth->setFontPropagation( QWidget::NoChildren );
|
|
||||||
labelwidth->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
labelwidth->setText( "" );
|
|
||||||
labelwidth->setMaxLength( 32767 );
|
|
||||||
labelwidth->setFrame( QLineEdit::Normal );
|
|
||||||
labelwidth->setFrame( TRUE );
|
|
||||||
|
|
||||||
spaceabovevalue = new KRestrictedLine( qtarch_SpacingAboveGroupBox, "spaceabovevalue" );
|
|
||||||
spaceabovevalue->setGeometry( 36, 108, 53, 24 );
|
|
||||||
spaceabovevalue->setMinimumSize( 0, 0 );
|
|
||||||
spaceabovevalue->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spaceabovevalue, SIGNAL(textChanged(const char*)), SLOT(spaceabovevalueChanged(const char*)) );
|
|
||||||
spaceabovevalue->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spaceabovevalue->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
spaceabovevalue->setFontPropagation( QWidget::NoChildren );
|
|
||||||
spaceabovevalue->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
spaceabovevalue->setText( "" );
|
|
||||||
spaceabovevalue->setMaxLength( 32767 );
|
|
||||||
spaceabovevalue->setFrame( QLineEdit::Normal );
|
|
||||||
spaceabovevalue->setFrame( TRUE );
|
|
||||||
spaceabovevalue->setValidChars( "0123456789.-," );
|
|
||||||
|
|
||||||
QLabel* qtarch_ValueLabel;
|
|
||||||
qtarch_ValueLabel = new QLabel( qtarch_SpacingAboveGroupBox, "ValueLabel" );
|
|
||||||
qtarch_ValueLabel->setGeometry( 5, 108, 26, 24 );
|
|
||||||
qtarch_ValueLabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_ValueLabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_ValueLabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_ValueLabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_ValueLabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_ValueLabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_ValueLabel->setFrameStyle( 0 );
|
|
||||||
qtarch_ValueLabel->setLineWidth( 1 );
|
|
||||||
qtarch_ValueLabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_ValueLabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_ValueLabel->setText( _("Value") );
|
|
||||||
qtarch_ValueLabel->setAlignment( 289 );
|
|
||||||
qtarch_ValueLabel->setMargin( -1 );
|
|
||||||
|
|
||||||
spaceabovevalueunits = new QComboBox( FALSE, qtarch_SpacingAboveGroupBox, "spaceabovevalueunits" );
|
|
||||||
spaceabovevalueunits->setGeometry( 94, 108, 105, 24 );
|
|
||||||
spaceabovevalueunits->setMinimumSize( 0, 0 );
|
|
||||||
spaceabovevalueunits->setMaximumSize( 32767, 32767 );
|
|
||||||
spaceabovevalueunits->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spaceabovevalueunits->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spaceabovevalueunits->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spaceabovevalueunits->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spaceabovevalueunits->setSizeLimit( 10 );
|
|
||||||
spaceabovevalueunits->setAutoResize( FALSE );
|
|
||||||
spaceabovevalueunits->setMaxCount( 2147483647 );
|
|
||||||
spaceabovevalueunits->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
QLabel* qtarch_aboveminuslabel;
|
|
||||||
qtarch_aboveminuslabel = new QLabel( qtarch_SpacingAboveGroupBox, "aboveminuslabel" );
|
|
||||||
qtarch_aboveminuslabel->setGeometry( 5, 167, 26, 24 );
|
|
||||||
qtarch_aboveminuslabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_aboveminuslabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_aboveminuslabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_aboveminuslabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_aboveminuslabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_aboveminuslabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_aboveminuslabel->setFrameStyle( 0 );
|
|
||||||
qtarch_aboveminuslabel->setLineWidth( 1 );
|
|
||||||
qtarch_aboveminuslabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_aboveminuslabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_aboveminuslabel->setText( _("Minus") );
|
|
||||||
qtarch_aboveminuslabel->setAlignment( 289 );
|
|
||||||
qtarch_aboveminuslabel->setMargin( -1 );
|
|
||||||
|
|
||||||
spaceaboveminus = new KRestrictedLine( qtarch_SpacingAboveGroupBox, "spaceaboveminus" );
|
|
||||||
spaceaboveminus->setGeometry( 36, 167, 53, 24 );
|
|
||||||
spaceaboveminus->setMinimumSize( 0, 0 );
|
|
||||||
spaceaboveminus->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spaceaboveminus, SIGNAL(textChanged(const char*)), SLOT(spaceaboveminusChanged(const char*)) );
|
|
||||||
spaceaboveminus->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spaceaboveminus->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
spaceaboveminus->setFontPropagation( QWidget::NoChildren );
|
|
||||||
spaceaboveminus->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
spaceaboveminus->setText( "" );
|
|
||||||
spaceaboveminus->setMaxLength( 32767 );
|
|
||||||
spaceaboveminus->setFrame( QLineEdit::Normal );
|
|
||||||
spaceaboveminus->setFrame( TRUE );
|
|
||||||
spaceaboveminus->setValidChars( "0123456789.-," );
|
|
||||||
|
|
||||||
spaceaboveminusunits = new QComboBox( FALSE, qtarch_SpacingAboveGroupBox, "spaceaboveminusunits" );
|
|
||||||
spaceaboveminusunits->setGeometry( 94, 167, 105, 24 );
|
|
||||||
spaceaboveminusunits->setMinimumSize( 0, 0 );
|
|
||||||
spaceaboveminusunits->setMaximumSize( 32767, 32767 );
|
|
||||||
spaceaboveminusunits->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spaceaboveminusunits->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spaceaboveminusunits->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spaceaboveminusunits->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spaceaboveminusunits->setSizeLimit( 10 );
|
|
||||||
spaceaboveminusunits->setAutoResize( FALSE );
|
|
||||||
spaceaboveminusunits->setMaxCount( 2147483647 );
|
|
||||||
spaceaboveminusunits->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
QLabel* qtarch_abovepluslabel ;
|
|
||||||
qtarch_abovepluslabel = new QLabel( qtarch_SpacingAboveGroupBox, "abovepluslabel " );
|
|
||||||
qtarch_abovepluslabel ->setGeometry( 5, 137, 26, 25 );
|
|
||||||
qtarch_abovepluslabel ->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_abovepluslabel ->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_abovepluslabel ->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_abovepluslabel ->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_abovepluslabel ->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_abovepluslabel ->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_abovepluslabel ->setFrameStyle( 0 );
|
|
||||||
qtarch_abovepluslabel ->setLineWidth( 1 );
|
|
||||||
qtarch_abovepluslabel ->setMidLineWidth( 0 );
|
|
||||||
qtarch_abovepluslabel ->QFrame::setMargin( 0 );
|
|
||||||
qtarch_abovepluslabel ->setText( _("Plus") );
|
|
||||||
qtarch_abovepluslabel ->setAlignment( 289 );
|
|
||||||
qtarch_abovepluslabel ->setMargin( -1 );
|
|
||||||
|
|
||||||
spaceaboveplus = new KRestrictedLine( qtarch_SpacingAboveGroupBox, "spaceaboveplus" );
|
|
||||||
spaceaboveplus->setGeometry( 36, 137, 53, 25 );
|
|
||||||
spaceaboveplus->setMinimumSize( 0, 0 );
|
|
||||||
spaceaboveplus->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spaceaboveplus, SIGNAL(textChanged(const char*)), SLOT(spaceaboveplusChanged(const char*)) );
|
|
||||||
spaceaboveplus->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spaceaboveplus->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
spaceaboveplus->setFontPropagation( QWidget::NoChildren );
|
|
||||||
spaceaboveplus->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
spaceaboveplus->setText( "" );
|
|
||||||
spaceaboveplus->setMaxLength( 32767 );
|
|
||||||
spaceaboveplus->setFrame( QLineEdit::Normal );
|
|
||||||
spaceaboveplus->setFrame( TRUE );
|
|
||||||
spaceaboveplus->setValidChars( "0123456789.-," );
|
|
||||||
|
|
||||||
spaceaboveplusunits = new QComboBox( FALSE, qtarch_SpacingAboveGroupBox, "spaceaboveplusunits" );
|
|
||||||
spaceaboveplusunits->setGeometry( 94, 137, 105, 25 );
|
|
||||||
spaceaboveplusunits->setMinimumSize( 0, 0 );
|
|
||||||
spaceaboveplusunits->setMaximumSize( 32767, 32767 );
|
|
||||||
spaceaboveplusunits->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spaceaboveplusunits->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spaceaboveplusunits->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spaceaboveplusunits->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spaceaboveplusunits->setSizeLimit( 10 );
|
|
||||||
spaceaboveplusunits->setAutoResize( FALSE );
|
|
||||||
spaceaboveplusunits->setMaxCount( 2147483647 );
|
|
||||||
spaceaboveplusunits->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
QLabel* qtarch_valuebelowlabel;
|
|
||||||
qtarch_valuebelowlabel = new QLabel( qtarch_SpacingBelowGroupBox, "valuebelowlabel" );
|
|
||||||
qtarch_valuebelowlabel->setGeometry( 5, 108, 26, 24 );
|
|
||||||
qtarch_valuebelowlabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_valuebelowlabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_valuebelowlabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_valuebelowlabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_valuebelowlabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_valuebelowlabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_valuebelowlabel->setFrameStyle( 0 );
|
|
||||||
qtarch_valuebelowlabel->setLineWidth( 1 );
|
|
||||||
qtarch_valuebelowlabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_valuebelowlabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_valuebelowlabel->setText( _("Value") );
|
|
||||||
qtarch_valuebelowlabel->setAlignment( 289 );
|
|
||||||
qtarch_valuebelowlabel->setMargin( -1 );
|
|
||||||
|
|
||||||
QLabel* qtarch_plusbelowlabel;
|
|
||||||
qtarch_plusbelowlabel = new QLabel( qtarch_SpacingBelowGroupBox, "plusbelowlabel" );
|
|
||||||
qtarch_plusbelowlabel->setGeometry( 5, 137, 26, 25 );
|
|
||||||
qtarch_plusbelowlabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_plusbelowlabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_plusbelowlabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_plusbelowlabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_plusbelowlabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_plusbelowlabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_plusbelowlabel->setFrameStyle( 0 );
|
|
||||||
qtarch_plusbelowlabel->setLineWidth( 1 );
|
|
||||||
qtarch_plusbelowlabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_plusbelowlabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_plusbelowlabel->setText( _("Plus") );
|
|
||||||
qtarch_plusbelowlabel->setAlignment( 289 );
|
|
||||||
qtarch_plusbelowlabel->setMargin( -1 );
|
|
||||||
|
|
||||||
QLabel* qtarch_minusbelowlabel;
|
|
||||||
qtarch_minusbelowlabel = new QLabel( qtarch_SpacingBelowGroupBox, "minusbelowlabel" );
|
|
||||||
qtarch_minusbelowlabel->setGeometry( 5, 167, 26, 24 );
|
|
||||||
qtarch_minusbelowlabel->setMinimumSize( 0, 0 );
|
|
||||||
qtarch_minusbelowlabel->setMaximumSize( 32767, 32767 );
|
|
||||||
qtarch_minusbelowlabel->setFocusPolicy( QWidget::NoFocus );
|
|
||||||
qtarch_minusbelowlabel->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
qtarch_minusbelowlabel->setFontPropagation( QWidget::NoChildren );
|
|
||||||
qtarch_minusbelowlabel->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
qtarch_minusbelowlabel->setFrameStyle( 0 );
|
|
||||||
qtarch_minusbelowlabel->setLineWidth( 1 );
|
|
||||||
qtarch_minusbelowlabel->setMidLineWidth( 0 );
|
|
||||||
qtarch_minusbelowlabel->QFrame::setMargin( 0 );
|
|
||||||
qtarch_minusbelowlabel->setText( _("Minus") );
|
|
||||||
qtarch_minusbelowlabel->setAlignment( 289 );
|
|
||||||
qtarch_minusbelowlabel->setMargin( -1 );
|
|
||||||
|
|
||||||
spacebelowminus = new KRestrictedLine( qtarch_SpacingBelowGroupBox, "spacebelowminus" );
|
|
||||||
spacebelowminus->setGeometry( 36, 167, 53, 24 );
|
|
||||||
spacebelowminus->setMinimumSize( 0, 0 );
|
|
||||||
spacebelowminus->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spacebelowminus, SIGNAL(textChanged(const char*)), SLOT(spacebelowminusChanged(const char*)) );
|
|
||||||
spacebelowminus->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spacebelowminus->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
spacebelowminus->setFontPropagation( QWidget::NoChildren );
|
|
||||||
spacebelowminus->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
spacebelowminus->setText( "" );
|
|
||||||
spacebelowminus->setMaxLength( 32767 );
|
|
||||||
spacebelowminus->setFrame( QLineEdit::Normal );
|
|
||||||
spacebelowminus->setFrame( TRUE );
|
|
||||||
spacebelowminus->setValidChars( "0123456789.-," );
|
|
||||||
|
|
||||||
spacebelowplus = new KRestrictedLine( qtarch_SpacingBelowGroupBox, "spacebelowplus" );
|
|
||||||
spacebelowplus->setGeometry( 36, 137, 53, 25 );
|
|
||||||
spacebelowplus->setMinimumSize( 0, 0 );
|
|
||||||
spacebelowplus->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spacebelowplus, SIGNAL(textChanged(const char*)), SLOT(spacebelowplusChanged(const char*)) );
|
|
||||||
spacebelowplus->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spacebelowplus->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
spacebelowplus->setFontPropagation( QWidget::NoChildren );
|
|
||||||
spacebelowplus->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
spacebelowplus->setText( "" );
|
|
||||||
spacebelowplus->setMaxLength( 32767 );
|
|
||||||
spacebelowplus->setFrame( QLineEdit::Normal );
|
|
||||||
spacebelowplus->setFrame( TRUE );
|
|
||||||
spacebelowplus->setValidChars( "0123456789.-," );
|
|
||||||
|
|
||||||
spacebelowvalue = new KRestrictedLine( qtarch_SpacingBelowGroupBox, "spacebelowvalue" );
|
|
||||||
spacebelowvalue->setGeometry( 36, 108, 53, 24 );
|
|
||||||
spacebelowvalue->setMinimumSize( 0, 0 );
|
|
||||||
spacebelowvalue->setMaximumSize( 32767, 32767 );
|
|
||||||
connect( spacebelowvalue, SIGNAL(textChanged(const char*)), SLOT(spacebelowvalueChanged(const char*)) );
|
|
||||||
spacebelowvalue->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spacebelowvalue->setBackgroundMode( QWidget::PaletteBase );
|
|
||||||
spacebelowvalue->setFontPropagation( QWidget::NoChildren );
|
|
||||||
spacebelowvalue->setPalettePropagation( QWidget::NoChildren );
|
|
||||||
spacebelowvalue->setText( "" );
|
|
||||||
spacebelowvalue->setMaxLength( 32767 );
|
|
||||||
spacebelowvalue->setFrame( QLineEdit::Normal );
|
|
||||||
spacebelowvalue->setFrame( TRUE );
|
|
||||||
spacebelowvalue->setValidChars( "0123456789.-," );
|
|
||||||
|
|
||||||
spacebelowvalueunits = new QComboBox( FALSE, qtarch_SpacingBelowGroupBox, "spacebelowvalueunits" );
|
|
||||||
spacebelowvalueunits->setGeometry( 94, 108, 105, 24 );
|
|
||||||
spacebelowvalueunits->setMinimumSize( 0, 0 );
|
|
||||||
spacebelowvalueunits->setMaximumSize( 32767, 32767 );
|
|
||||||
spacebelowvalueunits->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spacebelowvalueunits->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spacebelowvalueunits->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spacebelowvalueunits->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spacebelowvalueunits->setSizeLimit( 10 );
|
|
||||||
spacebelowvalueunits->setAutoResize( FALSE );
|
|
||||||
spacebelowvalueunits->setMaxCount( 2147483647 );
|
|
||||||
spacebelowvalueunits->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
spacebelowplusunits = new QComboBox( FALSE, qtarch_SpacingBelowGroupBox, "spacebelowplusunits" );
|
|
||||||
spacebelowplusunits->setGeometry( 94, 137, 105, 25 );
|
|
||||||
spacebelowplusunits->setMinimumSize( 0, 0 );
|
|
||||||
spacebelowplusunits->setMaximumSize( 32767, 32767 );
|
|
||||||
spacebelowplusunits->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spacebelowplusunits->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spacebelowplusunits->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spacebelowplusunits->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spacebelowplusunits->setSizeLimit( 10 );
|
|
||||||
spacebelowplusunits->setAutoResize( FALSE );
|
|
||||||
spacebelowplusunits->setMaxCount( 2147483647 );
|
|
||||||
spacebelowplusunits->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
spacebelowminusunits = new QComboBox( FALSE, qtarch_SpacingBelowGroupBox, "spacebelowminusunits" );
|
|
||||||
spacebelowminusunits->setGeometry( 94, 167, 105, 24 );
|
|
||||||
spacebelowminusunits->setMinimumSize( 0, 0 );
|
|
||||||
spacebelowminusunits->setMaximumSize( 32767, 32767 );
|
|
||||||
spacebelowminusunits->setFocusPolicy( QWidget::StrongFocus );
|
|
||||||
spacebelowminusunits->setBackgroundMode( QWidget::PaletteBackground );
|
|
||||||
spacebelowminusunits->setFontPropagation( QWidget::AllChildren );
|
|
||||||
spacebelowminusunits->setPalettePropagation( QWidget::AllChildren );
|
|
||||||
spacebelowminusunits->setSizeLimit( 10 );
|
|
||||||
spacebelowminusunits->setAutoResize( FALSE );
|
|
||||||
spacebelowminusunits->setMaxCount( 2147483647 );
|
|
||||||
spacebelowminusunits->setAutoCompletion( FALSE );
|
|
||||||
|
|
||||||
if (alignment->sizeHint().width()!=-1)
|
|
||||||
alignment->setMinimumWidth(alignment->sizeHint().width());
|
|
||||||
if (alignment->sizeHint().height()!=-1)
|
|
||||||
alignment->setMinimumHeight(alignment->sizeHint().height());
|
|
||||||
alignment->insert( block );
|
|
||||||
alignment->insert( center );
|
|
||||||
alignment->insert( left );
|
|
||||||
alignment->insert( right );
|
|
||||||
|
|
||||||
if (lineabove->sizeHint().width()!=-1)
|
|
||||||
lineabove->setMinimumWidth(lineabove->sizeHint().width());
|
|
||||||
if (lineabove->sizeHint().height()!=-1)
|
|
||||||
lineabove->setMinimumHeight(lineabove->sizeHint().height());
|
|
||||||
if (lineabove->sizeHint().width()!=-1)
|
|
||||||
lineabove->setMaximumWidth(lineabove->sizeHint().width());
|
|
||||||
if (lineabove->sizeHint().height()!=-1)
|
|
||||||
lineabove->setMaximumHeight(lineabove->sizeHint().height());
|
|
||||||
if (linebelow->sizeHint().width()!=-1)
|
|
||||||
linebelow->setMinimumWidth(linebelow->sizeHint().width());
|
|
||||||
if (linebelow->sizeHint().height()!=-1)
|
|
||||||
linebelow->setMinimumHeight(linebelow->sizeHint().height());
|
|
||||||
if (linebelow->sizeHint().width()!=-1)
|
|
||||||
linebelow->setMaximumWidth(linebelow->sizeHint().width());
|
|
||||||
if (linebelow->sizeHint().height()!=-1)
|
|
||||||
linebelow->setMaximumHeight(linebelow->sizeHint().height());
|
|
||||||
if (pagebreakabove->sizeHint().width()!=-1)
|
|
||||||
pagebreakabove->setMinimumWidth(pagebreakabove->sizeHint().width());
|
|
||||||
if (pagebreakabove->sizeHint().height()!=-1)
|
|
||||||
pagebreakabove->setMinimumHeight(pagebreakabove->sizeHint().height());
|
|
||||||
if (pagebreakabove->sizeHint().width()!=-1)
|
|
||||||
pagebreakabove->setMaximumWidth(pagebreakabove->sizeHint().width());
|
|
||||||
if (pagebreakabove->sizeHint().height()!=-1)
|
|
||||||
pagebreakabove->setMaximumHeight(pagebreakabove->sizeHint().height());
|
|
||||||
if (noindent->sizeHint().width()!=-1)
|
|
||||||
noindent->setMinimumWidth(noindent->sizeHint().width());
|
|
||||||
if (noindent->sizeHint().height()!=-1)
|
|
||||||
noindent->setMinimumHeight(noindent->sizeHint().height());
|
|
||||||
if (noindent->sizeHint().width()!=-1)
|
|
||||||
noindent->setMaximumWidth(noindent->sizeHint().width());
|
|
||||||
if (noindent->sizeHint().height()!=-1)
|
|
||||||
noindent->setMaximumHeight(noindent->sizeHint().height());
|
|
||||||
if (spaceabove->sizeHint().width()!=-1)
|
|
||||||
spaceabove->setMinimumWidth(spaceabove->sizeHint().width());
|
|
||||||
if (spaceabove->sizeHint().height()!=-1)
|
|
||||||
spaceabove->setMinimumHeight(spaceabove->sizeHint().height());
|
|
||||||
if (spaceabove->sizeHint().height()!=-1)
|
|
||||||
spaceabove->setMaximumHeight(spaceabove->sizeHint().height());
|
|
||||||
if (qtarch_abovelabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_abovelabel->setMinimumWidth(qtarch_abovelabel->sizeHint().width());
|
|
||||||
if (qtarch_abovelabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_abovelabel->setMinimumHeight(qtarch_abovelabel->sizeHint().height());
|
|
||||||
if (qtarch_abovelabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_abovelabel->setMaximumWidth(qtarch_abovelabel->sizeHint().width());
|
|
||||||
if (qtarch_abovelabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_abovelabel->setMaximumHeight(qtarch_abovelabel->sizeHint().height());
|
|
||||||
if (pagebreakbelow->sizeHint().width()!=-1)
|
|
||||||
pagebreakbelow->setMinimumWidth(pagebreakbelow->sizeHint().width());
|
|
||||||
if (pagebreakbelow->sizeHint().height()!=-1)
|
|
||||||
pagebreakbelow->setMinimumHeight(pagebreakbelow->sizeHint().height());
|
|
||||||
if (pagebreakbelow->sizeHint().width()!=-1)
|
|
||||||
pagebreakbelow->setMaximumWidth(pagebreakbelow->sizeHint().width());
|
|
||||||
if (pagebreakbelow->sizeHint().height()!=-1)
|
|
||||||
pagebreakbelow->setMaximumHeight(pagebreakbelow->sizeHint().height());
|
|
||||||
if (qtarch_belowlabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_belowlabel->setMinimumWidth(qtarch_belowlabel->sizeHint().width());
|
|
||||||
if (qtarch_belowlabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_belowlabel->setMinimumHeight(qtarch_belowlabel->sizeHint().height());
|
|
||||||
if (qtarch_belowlabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_belowlabel->setMaximumWidth(qtarch_belowlabel->sizeHint().width());
|
|
||||||
if (qtarch_belowlabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_belowlabel->setMaximumHeight(qtarch_belowlabel->sizeHint().height());
|
|
||||||
if (spacebelow->sizeHint().width()!=-1)
|
|
||||||
spacebelow->setMinimumWidth(spacebelow->sizeHint().width());
|
|
||||||
if (spacebelow->sizeHint().height()!=-1)
|
|
||||||
spacebelow->setMinimumHeight(spacebelow->sizeHint().height());
|
|
||||||
if (spacebelow->sizeHint().height()!=-1)
|
|
||||||
spacebelow->setMaximumHeight(spacebelow->sizeHint().height());
|
|
||||||
if (block->sizeHint().width()!=-1)
|
|
||||||
block->setMinimumWidth(block->sizeHint().width());
|
|
||||||
if (block->sizeHint().height()!=-1)
|
|
||||||
block->setMinimumHeight(block->sizeHint().height());
|
|
||||||
if (block->sizeHint().width()!=-1)
|
|
||||||
block->setMaximumWidth(block->sizeHint().width());
|
|
||||||
if (block->sizeHint().height()!=-1)
|
|
||||||
block->setMaximumHeight(block->sizeHint().height());
|
|
||||||
if (center->sizeHint().width()!=-1)
|
|
||||||
center->setMinimumWidth(center->sizeHint().width());
|
|
||||||
if (center->sizeHint().height()!=-1)
|
|
||||||
center->setMinimumHeight(center->sizeHint().height());
|
|
||||||
if (center->sizeHint().width()!=-1)
|
|
||||||
center->setMaximumWidth(center->sizeHint().width());
|
|
||||||
if (center->sizeHint().height()!=-1)
|
|
||||||
center->setMaximumHeight(center->sizeHint().height());
|
|
||||||
if (left->sizeHint().width()!=-1)
|
|
||||||
left->setMinimumWidth(left->sizeHint().width());
|
|
||||||
if (left->sizeHint().height()!=-1)
|
|
||||||
left->setMinimumHeight(left->sizeHint().height());
|
|
||||||
if (left->sizeHint().width()!=-1)
|
|
||||||
left->setMaximumWidth(left->sizeHint().width());
|
|
||||||
if (left->sizeHint().height()!=-1)
|
|
||||||
left->setMaximumHeight(left->sizeHint().height());
|
|
||||||
if (right->sizeHint().width()!=-1)
|
|
||||||
right->setMinimumWidth(right->sizeHint().width());
|
|
||||||
if (right->sizeHint().height()!=-1)
|
|
||||||
right->setMinimumHeight(right->sizeHint().height());
|
|
||||||
if (right->sizeHint().width()!=-1)
|
|
||||||
right->setMaximumWidth(right->sizeHint().width());
|
|
||||||
if (right->sizeHint().height()!=-1)
|
|
||||||
right->setMaximumHeight(right->sizeHint().height());
|
|
||||||
if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelwidthlabel->setMinimumWidth(qtarch_labelwidthlabel->sizeHint().width());
|
|
||||||
if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelwidthlabel->setMinimumHeight(qtarch_labelwidthlabel->sizeHint().height());
|
|
||||||
if (qtarch_labelwidthlabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_labelwidthlabel->setMaximumWidth(qtarch_labelwidthlabel->sizeHint().width());
|
|
||||||
if (qtarch_labelwidthlabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_labelwidthlabel->setMaximumHeight(qtarch_labelwidthlabel->sizeHint().height());
|
|
||||||
if (labelwidth->sizeHint().width()!=-1)
|
|
||||||
labelwidth->setMinimumWidth(labelwidth->sizeHint().width());
|
|
||||||
if (labelwidth->sizeHint().height()!=-1)
|
|
||||||
labelwidth->setMinimumHeight(labelwidth->sizeHint().height());
|
|
||||||
if (labelwidth->sizeHint().height()!=-1)
|
|
||||||
labelwidth->setMaximumHeight(labelwidth->sizeHint().height());
|
|
||||||
if (spaceabovevalue->sizeHint().width()!=-1)
|
|
||||||
spaceabovevalue->setMinimumWidth(spaceabovevalue->sizeHint().width());
|
|
||||||
if (spaceabovevalue->sizeHint().height()!=-1)
|
|
||||||
spaceabovevalue->setMinimumHeight(spaceabovevalue->sizeHint().height());
|
|
||||||
if (spaceabovevalue->sizeHint().height()!=-1)
|
|
||||||
spaceabovevalue->setMaximumHeight(spaceabovevalue->sizeHint().height());
|
|
||||||
if (qtarch_ValueLabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_ValueLabel->setMinimumWidth(qtarch_ValueLabel->sizeHint().width());
|
|
||||||
if (qtarch_ValueLabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_ValueLabel->setMinimumHeight(qtarch_ValueLabel->sizeHint().height());
|
|
||||||
if (spaceabovevalueunits->sizeHint().width()!=-1)
|
|
||||||
spaceabovevalueunits->setMinimumWidth(spaceabovevalueunits->sizeHint().width());
|
|
||||||
if (spaceabovevalueunits->sizeHint().height()!=-1)
|
|
||||||
spaceabovevalueunits->setMinimumHeight(spaceabovevalueunits->sizeHint().height());
|
|
||||||
if (spaceabovevalueunits->sizeHint().height()!=-1)
|
|
||||||
spaceabovevalueunits->setMaximumHeight(spaceabovevalueunits->sizeHint().height());
|
|
||||||
if (qtarch_aboveminuslabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_aboveminuslabel->setMinimumWidth(qtarch_aboveminuslabel->sizeHint().width());
|
|
||||||
if (qtarch_aboveminuslabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_aboveminuslabel->setMinimumHeight(qtarch_aboveminuslabel->sizeHint().height());
|
|
||||||
if (spaceaboveminus->sizeHint().width()!=-1)
|
|
||||||
spaceaboveminus->setMinimumWidth(spaceaboveminus->sizeHint().width());
|
|
||||||
if (spaceaboveminus->sizeHint().height()!=-1)
|
|
||||||
spaceaboveminus->setMinimumHeight(spaceaboveminus->sizeHint().height());
|
|
||||||
if (spaceaboveminus->sizeHint().height()!=-1)
|
|
||||||
spaceaboveminus->setMaximumHeight(spaceaboveminus->sizeHint().height());
|
|
||||||
if (spaceaboveminusunits->sizeHint().width()!=-1)
|
|
||||||
spaceaboveminusunits->setMinimumWidth(spaceaboveminusunits->sizeHint().width());
|
|
||||||
if (spaceaboveminusunits->sizeHint().height()!=-1)
|
|
||||||
spaceaboveminusunits->setMinimumHeight(spaceaboveminusunits->sizeHint().height());
|
|
||||||
if (spaceaboveminusunits->sizeHint().height()!=-1)
|
|
||||||
spaceaboveminusunits->setMaximumHeight(spaceaboveminusunits->sizeHint().height());
|
|
||||||
if (qtarch_abovepluslabel ->sizeHint().width()!=-1)
|
|
||||||
qtarch_abovepluslabel ->setMinimumWidth(qtarch_abovepluslabel ->sizeHint().width());
|
|
||||||
if (qtarch_abovepluslabel ->sizeHint().height()!=-1)
|
|
||||||
qtarch_abovepluslabel ->setMinimumHeight(qtarch_abovepluslabel ->sizeHint().height());
|
|
||||||
if (spaceaboveplus->sizeHint().width()!=-1)
|
|
||||||
spaceaboveplus->setMinimumWidth(spaceaboveplus->sizeHint().width());
|
|
||||||
if (spaceaboveplus->sizeHint().height()!=-1)
|
|
||||||
spaceaboveplus->setMinimumHeight(spaceaboveplus->sizeHint().height());
|
|
||||||
if (spaceaboveplus->sizeHint().height()!=-1)
|
|
||||||
spaceaboveplus->setMaximumHeight(spaceaboveplus->sizeHint().height());
|
|
||||||
if (spaceaboveplusunits->sizeHint().width()!=-1)
|
|
||||||
spaceaboveplusunits->setMinimumWidth(spaceaboveplusunits->sizeHint().width());
|
|
||||||
if (spaceaboveplusunits->sizeHint().height()!=-1)
|
|
||||||
spaceaboveplusunits->setMinimumHeight(spaceaboveplusunits->sizeHint().height());
|
|
||||||
if (spaceaboveplusunits->sizeHint().height()!=-1)
|
|
||||||
spaceaboveplusunits->setMaximumHeight(spaceaboveplusunits->sizeHint().height());
|
|
||||||
if (qtarch_valuebelowlabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_valuebelowlabel->setMinimumWidth(qtarch_valuebelowlabel->sizeHint().width());
|
|
||||||
if (qtarch_valuebelowlabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_valuebelowlabel->setMinimumHeight(qtarch_valuebelowlabel->sizeHint().height());
|
|
||||||
if (qtarch_plusbelowlabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_plusbelowlabel->setMinimumWidth(qtarch_plusbelowlabel->sizeHint().width());
|
|
||||||
if (qtarch_plusbelowlabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_plusbelowlabel->setMinimumHeight(qtarch_plusbelowlabel->sizeHint().height());
|
|
||||||
if (qtarch_minusbelowlabel->sizeHint().width()!=-1)
|
|
||||||
qtarch_minusbelowlabel->setMinimumWidth(qtarch_minusbelowlabel->sizeHint().width());
|
|
||||||
if (qtarch_minusbelowlabel->sizeHint().height()!=-1)
|
|
||||||
qtarch_minusbelowlabel->setMinimumHeight(qtarch_minusbelowlabel->sizeHint().height());
|
|
||||||
if (spacebelowminus->sizeHint().width()!=-1)
|
|
||||||
spacebelowminus->setMinimumWidth(spacebelowminus->sizeHint().width());
|
|
||||||
if (spacebelowminus->sizeHint().height()!=-1)
|
|
||||||
spacebelowminus->setMinimumHeight(spacebelowminus->sizeHint().height());
|
|
||||||
if (spacebelowminus->sizeHint().height()!=-1)
|
|
||||||
spacebelowminus->setMaximumHeight(spacebelowminus->sizeHint().height());
|
|
||||||
if (spacebelowplus->sizeHint().width()!=-1)
|
|
||||||
spacebelowplus->setMinimumWidth(spacebelowplus->sizeHint().width());
|
|
||||||
if (spacebelowplus->sizeHint().height()!=-1)
|
|
||||||
spacebelowplus->setMinimumHeight(spacebelowplus->sizeHint().height());
|
|
||||||
if (spacebelowplus->sizeHint().height()!=-1)
|
|
||||||
spacebelowplus->setMaximumHeight(spacebelowplus->sizeHint().height());
|
|
||||||
if (spacebelowvalue->sizeHint().width()!=-1)
|
|
||||||
spacebelowvalue->setMinimumWidth(spacebelowvalue->sizeHint().width());
|
|
||||||
if (spacebelowvalue->sizeHint().height()!=-1)
|
|
||||||
spacebelowvalue->setMinimumHeight(spacebelowvalue->sizeHint().height());
|
|
||||||
if (spacebelowvalue->sizeHint().height()!=-1)
|
|
||||||
spacebelowvalue->setMaximumHeight(spacebelowvalue->sizeHint().height());
|
|
||||||
if (spacebelowvalueunits->sizeHint().width()!=-1)
|
|
||||||
spacebelowvalueunits->setMinimumWidth(spacebelowvalueunits->sizeHint().width());
|
|
||||||
if (spacebelowvalueunits->sizeHint().height()!=-1)
|
|
||||||
spacebelowvalueunits->setMinimumHeight(spacebelowvalueunits->sizeHint().height());
|
|
||||||
if (spacebelowvalueunits->sizeHint().height()!=-1)
|
|
||||||
spacebelowvalueunits->setMaximumHeight(spacebelowvalueunits->sizeHint().height());
|
|
||||||
if (spacebelowplusunits->sizeHint().width()!=-1)
|
|
||||||
spacebelowplusunits->setMinimumWidth(spacebelowplusunits->sizeHint().width());
|
|
||||||
if (spacebelowplusunits->sizeHint().height()!=-1)
|
|
||||||
spacebelowplusunits->setMinimumHeight(spacebelowplusunits->sizeHint().height());
|
|
||||||
if (spacebelowplusunits->sizeHint().height()!=-1)
|
|
||||||
spacebelowplusunits->setMaximumHeight(spacebelowplusunits->sizeHint().height());
|
|
||||||
if (spacebelowminusunits->sizeHint().width()!=-1)
|
|
||||||
spacebelowminusunits->setMinimumWidth(spacebelowminusunits->sizeHint().width());
|
|
||||||
if (spacebelowminusunits->sizeHint().height()!=-1)
|
|
||||||
spacebelowminusunits->setMinimumHeight(spacebelowminusunits->sizeHint().height());
|
|
||||||
if (spacebelowminusunits->sizeHint().height()!=-1)
|
|
||||||
spacebelowminusunits->setMaximumHeight(spacebelowminusunits->sizeHint().height());
|
|
||||||
QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
|
|
||||||
qtarch_layout_1->addStrut( 0 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_1, 5 );
|
|
||||||
qtarch_layout_1_1->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1->addWidget( alignment, 1, 33 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( alignment, QBoxLayout::TopToBottom, 5, 5, NULL );
|
|
||||||
qtarch_layout_1_1_1->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_1->addSpacing( 15 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( block, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( center, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( left, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1_1->addWidget( right, 1, 1 );
|
|
||||||
qtarch_layout_1_1_1->addStretch( 1 );
|
|
||||||
qtarch_layout_1_1->addWidget( qtarch_SpacingAboveGroupBox, 2, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( qtarch_SpacingAboveGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
|
|
||||||
qtarch_layout_1_1_2->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_2->addSpacing( 15 );
|
|
||||||
qtarch_layout_1_1_2->addWidget( pagebreakabove, 1, 1 );
|
|
||||||
qtarch_layout_1_1_2->addWidget( qtarch_abovelabel, 1, 1 );
|
|
||||||
qtarch_layout_1_1_2->addWidget( spaceabove, 1, 1 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_2_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_5, 1 );
|
|
||||||
qtarch_layout_1_1_2_5->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_2_5->addWidget( qtarch_ValueLabel, 1, 36 );
|
|
||||||
qtarch_layout_1_1_2_5->addWidget( spaceabovevalue, 2, 36 );
|
|
||||||
qtarch_layout_1_1_2_5->addWidget( spaceabovevalueunits, 4, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_2_6 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_6, 1 );
|
|
||||||
qtarch_layout_1_1_2_6->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_2_6->addWidget( qtarch_abovepluslabel , 1, 36 );
|
|
||||||
qtarch_layout_1_1_2_6->addWidget( spaceaboveplus, 2, 36 );
|
|
||||||
qtarch_layout_1_1_2_6->addWidget( spaceaboveplusunits, 4, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_2_7 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_7, 1 );
|
|
||||||
qtarch_layout_1_1_2_7->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_2_7->addWidget( qtarch_aboveminuslabel, 1, 36 );
|
|
||||||
qtarch_layout_1_1_2_7->addWidget( spaceaboveminus, 2, 36 );
|
|
||||||
qtarch_layout_1_1_2_7->addWidget( spaceaboveminusunits, 4, 36 );
|
|
||||||
qtarch_layout_1_1->addWidget( qtarch_SpacingBelowGroupBox, 2, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_3 = new QBoxLayout( qtarch_SpacingBelowGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
|
|
||||||
qtarch_layout_1_1_3->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_3->addSpacing( 15 );
|
|
||||||
qtarch_layout_1_1_3->addWidget( pagebreakbelow, 1, 1 );
|
|
||||||
qtarch_layout_1_1_3->addWidget( qtarch_belowlabel, 1, 1 );
|
|
||||||
qtarch_layout_1_1_3->addWidget( spacebelow, 1, 1 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_3_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1_1_3->addLayout( qtarch_layout_1_1_3_5, 1 );
|
|
||||||
qtarch_layout_1_1_3_5->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_3_5->addWidget( qtarch_valuebelowlabel, 1, 36 );
|
|
||||||
qtarch_layout_1_1_3_5->addWidget( spacebelowvalue, 2, 36 );
|
|
||||||
qtarch_layout_1_1_3_5->addWidget( spacebelowvalueunits, 4, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_3_6 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1_1_3->addLayout( qtarch_layout_1_1_3_6, 1 );
|
|
||||||
qtarch_layout_1_1_3_6->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_3_6->addWidget( qtarch_plusbelowlabel, 1, 36 );
|
|
||||||
qtarch_layout_1_1_3_6->addWidget( spacebelowplus, 2, 36 );
|
|
||||||
qtarch_layout_1_1_3_6->addWidget( spacebelowplusunits, 4, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_1_3_7 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1_1_3->addLayout( qtarch_layout_1_1_3_7, 1 );
|
|
||||||
qtarch_layout_1_1_3_7->addStrut( 0 );
|
|
||||||
qtarch_layout_1_1_3_7->addWidget( qtarch_minusbelowlabel, 1, 36 );
|
|
||||||
qtarch_layout_1_1_3_7->addWidget( spacebelowminus, 2, 36 );
|
|
||||||
qtarch_layout_1_1_3_7->addWidget( spacebelowminusunits, 4, 36 );
|
|
||||||
QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1->addLayout( qtarch_layout_1_2, 2 );
|
|
||||||
qtarch_layout_1_2->addStrut( 0 );
|
|
||||||
QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
|
|
||||||
qtarch_layout_1_2->addLayout( qtarch_layout_1_2_1, 1 );
|
|
||||||
qtarch_layout_1_2_1->addStrut( 0 );
|
|
||||||
qtarch_layout_1_2_1->addWidget( lineabove, 1, 1 );
|
|
||||||
qtarch_layout_1_2_1->addWidget( linebelow, 1, 1 );
|
|
||||||
qtarch_layout_1_2_1->addWidget( noindent, 1, 1 );
|
|
||||||
QBoxLayout* qtarch_layout_1_2_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
|
|
||||||
qtarch_layout_1_2->addLayout( qtarch_layout_1_2_2, 1 );
|
|
||||||
qtarch_layout_1_2_2->addStrut( 0 );
|
|
||||||
qtarch_layout_1_2_2->addWidget( qtarch_labelwidthlabel, 1, 36 );
|
|
||||||
qtarch_layout_1_2_2->addWidget( labelwidth, 1, 36 );
|
|
||||||
resize( 530,300 );
|
|
||||||
setMinimumSize( 0, 0 );
|
|
||||||
setMaximumSize( 32767, 32767 );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
ParaGeneralDialogData::~ParaGeneralDialogData()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spaceaboveHighlighted(int)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spacebelowHighlighted(int)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spaceabovevalueChanged(const char*)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spaceaboveminusChanged(const char*)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spaceaboveplusChanged(const char*)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spacebelowminusChanged(const char*)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spacebelowplusChanged(const char*)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
void ParaGeneralDialogData::spacebelowvalueChanged(const char*)
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,81 +0,0 @@
|
|||||||
/**********************************************************************
|
|
||||||
|
|
||||||
--- Qt Architect generated file ---
|
|
||||||
|
|
||||||
File: parageneraldlgdata.h
|
|
||||||
Last generated: Tue Oct 24 13:38:19 2000
|
|
||||||
|
|
||||||
DO NOT EDIT!!! This file will be automatically
|
|
||||||
regenerated by qtarch. All changes will be lost.
|
|
||||||
|
|
||||||
*********************************************************************/
|
|
||||||
|
|
||||||
#ifndef ParaGeneralDialogData_included
|
|
||||||
#define ParaGeneralDialogData_included
|
|
||||||
|
|
||||||
#include <qwidget.h>
|
|
||||||
#include <qradiobutton.h>
|
|
||||||
#include <qcheckbox.h>
|
|
||||||
#include <qcombobox.h>
|
|
||||||
#include <qlineedit.h>
|
|
||||||
#include <qbuttongroup.h>
|
|
||||||
#include <krestrictedline.h>
|
|
||||||
|
|
||||||
class ParaGeneralDialogData : public QWidget
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
ParaGeneralDialogData
|
|
||||||
(
|
|
||||||
QWidget* parent = NULL,
|
|
||||||
const char* name = NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
virtual ~ParaGeneralDialogData();
|
|
||||||
|
|
||||||
public slots:
|
|
||||||
|
|
||||||
|
|
||||||
protected slots:
|
|
||||||
|
|
||||||
virtual void spaceaboveplusChanged(const char*);
|
|
||||||
virtual void spacebelowplusChanged(const char*);
|
|
||||||
virtual void spacebelowminusChanged(const char*);
|
|
||||||
virtual void spacebelowvalueChanged(const char*);
|
|
||||||
virtual void spaceaboveminusChanged(const char*);
|
|
||||||
virtual void spaceaboveHighlighted(int);
|
|
||||||
virtual void spacebelowHighlighted(int);
|
|
||||||
virtual void spaceabovevalueChanged(const char*);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QButtonGroup* alignment;
|
|
||||||
QCheckBox* lineabove;
|
|
||||||
QCheckBox* linebelow;
|
|
||||||
QCheckBox* pagebreakabove;
|
|
||||||
QCheckBox* noindent;
|
|
||||||
QComboBox* spaceabove;
|
|
||||||
QCheckBox* pagebreakbelow;
|
|
||||||
QComboBox* spacebelow;
|
|
||||||
QRadioButton* block;
|
|
||||||
QRadioButton* center;
|
|
||||||
QRadioButton* left;
|
|
||||||
QRadioButton* right;
|
|
||||||
QLineEdit* labelwidth;
|
|
||||||
KRestrictedLine* spaceabovevalue;
|
|
||||||
QComboBox* spaceabovevalueunits;
|
|
||||||
KRestrictedLine* spaceaboveminus;
|
|
||||||
QComboBox* spaceaboveminusunits;
|
|
||||||
KRestrictedLine* spaceaboveplus;
|
|
||||||
QComboBox* spaceaboveplusunits;
|
|
||||||
KRestrictedLine* spacebelowminus;
|
|
||||||
KRestrictedLine* spacebelowplus;
|
|
||||||
KRestrictedLine* spacebelowvalue;
|
|
||||||
QComboBox* spacebelowvalueunits;
|
|
||||||
QComboBox* spacebelowplusunits;
|
|
||||||
QComboBox* spacebelowminusunits;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // ParaGeneralDialogData_included
|
|
@ -4,7 +4,7 @@
|
|||||||
* John Levon, moz@compsoc.man.ac.uk
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "printdlgdata.h"
|
#include "dlg/printdlgdata.h"
|
||||||
#include "printdlg.h"
|
#include "printdlg.h"
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
#include "support/filetools.h"
|
#include "support/filetools.h"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define PRINTDLG_H
|
#define PRINTDLG_H
|
||||||
|
|
||||||
|
|
||||||
#include "printdlgdata.h"
|
#include "dlg/printdlgdata.h"
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
#include "lyxrc.h"
|
#include "lyxrc.h"
|
||||||
#include "PrinterParams.h"
|
#include "PrinterParams.h"
|
||||||
|
50
src/frontends/kde/tabcreatedlg.C
Normal file
50
src/frontends/kde/tabcreatedlg.C
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
/*
|
||||||
|
* tabcreatedlg.C
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, <moz@compsoc.man.ac.uk>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "tabcreatedlg.h"
|
||||||
|
#include "support/lstrings.h"
|
||||||
|
|
||||||
|
TabularCreateDialog::TabularCreateDialog (FormTabularCreate *form, QWidget *parent, const char* name)
|
||||||
|
: TabularCreateDialogData(parent, name), form_(form)
|
||||||
|
{
|
||||||
|
setCaption(name);
|
||||||
|
table->setMinimumSize(100,100);
|
||||||
|
rows->setValue(5);
|
||||||
|
cols->setValue(5);
|
||||||
|
connect(rows,SIGNAL(valueChanged(int)),table,SLOT(setNumberRows(int)));
|
||||||
|
connect(cols,SIGNAL(valueChanged(int)),table,SLOT(setNumberColumns(int)));
|
||||||
|
connect(table,SIGNAL(colsChanged(unsigned int)),this,SLOT(colsChanged(unsigned int)));
|
||||||
|
connect(table,SIGNAL(rowsChanged(unsigned int)),this,SLOT(rowsChanged(unsigned int)));
|
||||||
|
}
|
||||||
|
|
||||||
|
TabularCreateDialog::~TabularCreateDialog()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabularCreateDialog::colsChanged(unsigned int nr_cols)
|
||||||
|
{
|
||||||
|
if (nr_cols != strToUnsignedInt(cols->text()))
|
||||||
|
cols->setValue(nr_cols);
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabularCreateDialog::rowsChanged(unsigned int nr_rows)
|
||||||
|
{
|
||||||
|
if (nr_rows != strToUnsignedInt(rows->text()))
|
||||||
|
rows->setValue(nr_rows);
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabularCreateDialog::clickedInsert()
|
||||||
|
{
|
||||||
|
form_->apply(strToInt(rows->text()), strToInt(cols->text()));
|
||||||
|
form_->close();
|
||||||
|
hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
void TabularCreateDialog::clickedCancel()
|
||||||
|
{
|
||||||
|
form_->close();
|
||||||
|
hide();
|
||||||
|
}
|
29
src/frontends/kde/tabcreatedlg.h
Normal file
29
src/frontends/kde/tabcreatedlg.h
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* tabcreatedialog.h
|
||||||
|
* (C) 2000 LyX Team
|
||||||
|
* John Levon, moz@compsoc.man.ac.uk
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef TABCREATEDIALOG_H
|
||||||
|
#define TABCREATEDIALOG_H
|
||||||
|
|
||||||
|
#include "dlg/tabcreatedlgdata.h"
|
||||||
|
#include "FormTabularCreate.h"
|
||||||
|
|
||||||
|
class TabularCreateDialog : public TabularCreateDialogData
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
TabularCreateDialog (FormTabularCreate *form, QWidget* parent = 0, const char *name = 0);
|
||||||
|
virtual ~TabularCreateDialog();
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
virtual void clickedInsert();
|
||||||
|
virtual void clickedCancel();
|
||||||
|
virtual void colsChanged(unsigned int);
|
||||||
|
virtual void rowsChanged(unsigned int);
|
||||||
|
|
||||||
|
private:
|
||||||
|
FormTabularCreate *form_;
|
||||||
|
};
|
||||||
|
#endif
|
@ -95,6 +95,23 @@ bool isStrInt(string const & str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool isStrUnsignedInt(string const & str)
|
||||||
|
{
|
||||||
|
if (str.empty()) return false;
|
||||||
|
|
||||||
|
// Remove leading and trailing white space chars.
|
||||||
|
string const tmpstr = frontStrip(strip(str, ' '), ' ');
|
||||||
|
if (tmpstr.empty()) return false;
|
||||||
|
|
||||||
|
string::const_iterator cit = tmpstr.begin();
|
||||||
|
string::const_iterator end = tmpstr.end();
|
||||||
|
for (; cit != end; ++cit) {
|
||||||
|
if (!isdigit((*cit))) return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int strToInt(string const & str)
|
int strToInt(string const & str)
|
||||||
{
|
{
|
||||||
if (isStrInt(str)) {
|
if (isStrInt(str)) {
|
||||||
@ -108,6 +125,19 @@ int strToInt(string const & str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
unsigned int strToUnsignedInt(string const & str)
|
||||||
|
{
|
||||||
|
if (isStrUnsignedInt(str)) {
|
||||||
|
// Remove leading and trailing white space chars.
|
||||||
|
string const tmpstr = frontStrip(strip(str, ' '), ' ');
|
||||||
|
// Do the conversion proper.
|
||||||
|
return lyx::atoi(tmpstr);
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool isStrDbl(string const & str)
|
bool isStrDbl(string const & str)
|
||||||
{
|
{
|
||||||
if (str.empty()) return false;
|
if (str.empty()) return false;
|
||||||
|
@ -44,9 +44,15 @@ int compare(char const * a, char const * b, unsigned int len)
|
|||||||
///
|
///
|
||||||
bool isStrInt(string const & str);
|
bool isStrInt(string const & str);
|
||||||
|
|
||||||
|
/// does the string represent an unsigned integer value ?
|
||||||
|
bool isStrUnsignedInt(string const & str);
|
||||||
|
|
||||||
///
|
///
|
||||||
int strToInt(string const & str);
|
int strToInt(string const & str);
|
||||||
|
|
||||||
|
/// convert string to an unsigned integer
|
||||||
|
unsigned int strToUnsignedInt(string const & str);
|
||||||
|
|
||||||
///
|
///
|
||||||
bool isStrDbl(string const & str);
|
bool isStrDbl(string const & str);
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ public:
|
|||||||
// access functions
|
// access functions
|
||||||
vspace_kind kind() const { return kin; }
|
vspace_kind kind() const { return kin; }
|
||||||
///
|
///
|
||||||
LyXLength length() const { return len; }
|
LyXGlueLength length() const { return len; }
|
||||||
|
|
||||||
// a flag that switches between \vspace and \vspace*
|
// a flag that switches between \vspace and \vspace*
|
||||||
bool keep() const { return kp; }
|
bool keep() const { return kp; }
|
||||||
|
Loading…
Reference in New Issue
Block a user