+++ /dev/null
-Makefile.in
-Makefile
-*.deps
-*.lo
-.libs
-libkde.la
-*moc.C
+++ /dev/null
-2001-05-22 Adrien Rebollo <rebollo@iaf.cnrs-gif.fr>
-
- * docdlg.C (DocDialog): add iso8859-15 support
-
-2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
-
- * FormParagraph.C: remove !NEW_INSETS and !NO_PEXTRA cruft
- * paradlg.[Ch]: ditto
-
-2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
-
- * dlg/emptytable.h: C++ mode, inhrit privately from noncopyable
- * dlg/tabstack.h: ditto
- * dlg/lengthentry.h: ditto
-
-2001-04-03 John Levon <moz@compsoc.man.ac.uk>
-
- * Form*.C:
- * Dialogs.C: s/UndoAll/Restore/, s/ControlButton/ControlButtons/,
- add closeEvents where necessary
-
- * FormCitation.h:
- * FormCitation.C:
- * citationdlg.C:
- * citationdlg.h:
- * dlg/citationdlgdata.C:
- * dlg/citationdlgdata.h:
- * dlg/dialogs/citation.dlg: update to work with MVC properly,
- move to qtarch-generated dialog file; still need search dialog
-
- * paradlg.h:
- * paradlg.C:
- * FormParagraph.C: only include extra code ifndef NO_PEXTRA
-
- * docdlg.C: include language.h
-
-2001-04-02 John Levon <moz@compsoc.man.ac.uk>
-
- * Dialogs.C: update for MVC
-
- * KFormBase.C:
- * KFormBase.h: new template class which all Forms are derived from.
-
- * everything: update for MVC, KFormBase. Ref, Citation, and Toc not
- functional at all currently though, and various fixes are needed,
- but at least it compiles.
-
- * dlg/everything: make widget names consistent
-
-2001-03-29 Baruch Even <baruch@lyx.org>
-
- * kdeBC.[Ch]: Changed to use the new GuiBC template.
-
-2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
-
- * several files: remove CXX_WORKING_NAMESPACES
-
-2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
-
- * Merging changes from BRANCH_MVC back into HEAD.
-
-2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
-
- * Dialogs.C (c-tor): Changes associated with storing a vector of
- boost::shared_ptrs.
-
-2001-03-08 Angus Leeming <a.leeming@ic.ac.uk>
-
- * Makefile.am: added ../xforms/FormCredits.lo and
- ../xforms/form_credits.lo
-
- * Dialogs.C: added FormCredits and removed ShowCredits.
-
-2001-03-07 Angus Leeming <a.leeming@ic.ac.uk>
-
- * FormCitation.[Ch]: cull large chunks of code, making more use of
- ControlCitation and associated helper funcs. Also use boost::scoped_ptr
- for dialog_.
-
-2001-03-05 Angus Leeming <a.leeming@ic.ac.uk>
-
- * FormCitation.[Ch]: use ButtonController::input() rather than
- ButtonController::valid() to check state of input. The buttons are
- now controlled correctly.
-
-2001-03-02 Angus Leeming <a.leeming@ic.ac.uk>
-
- * kdeBC.[Ch]: Changes associated with the changes to
- controllers/ButtonController.[Ch]. Ie, the class is now derived from
- ButtonControllerBase and the ButtonPolicy is accessed through a method
- bp() rather than the instance bp_.
-
-2001-02-23 Angus Leeming <a.leeming@ic.ac.uk>
-
- * kdeBC.[Ch]: new files. A ButtonController for KDE.
-
- * FormCitation.[Ch]:
- * citationdlg.[Ch]: A KDE-specific implementation of the
- Citation dialog, controlled by the GUI-I ControlCitation.
-
- * Dialogs.C: Use the controlled Citation dialog.
-
-2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
-
- * FormParagraph.C: changes associated with Lars' creation of a
- params struct, needed to get the class to compile once again.
-
-2001-02-26 John Levon <moz@compsoc.man.ac.uk>
-
- * <various>: remove noncopyable (now inherited from DialogBase)
-
- * Makefile.am:
- * FileDialog.C:
- * FileDialog_private.C:
- * moc/Makefile.am:
- * FileDialog_private.h: add File Dialog
-
- * docdlg.C: remove DEFAULT_LANGUAGE stuff
-
-2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
-
- * FormRef.C (apply): Update bookmark #0 after inserting a reference.
-
-2001-02-22 Angus Leeming <a.leeming@ic.ac.uk>
-
- * <various>: small changes to enable compilation once again.
-
-2001-02-12 John Levon <moz@compsoc.man.ac.uk>
-
- * <various>: move to house style
-
- * Dialogs.C: add bib, splash, include, logs
-
- * dlg/README: update
-
- * Makefile.am:
- * FormLog.C:
- * FormLog.h:
- * FormVCLog.C:
- * FormVCLog.h:
- * logdlg.C:
- * logdlg.h:
- * dlg/logdlgdata.C:
- * dlg/logdlgdata.h:
- * dlg/dialogs/log.dlg: new Log and VCLog dialogs
-
- * dlg/dialogs/para*.dlg: fix tab order
-
- * docdlg.C:
- * docdlg.h:
- * dlg/dialogs/doc*.dlg: tab order, UI improvements
-
-2001-02-07 John Levon <moz@compsoc.man.ac.uk>
-
- * Timeout_pimpl.h:
- * Timeout_pimpl.C:
- * Makefile.am: add Timeout_pimpl
-
-2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
-
- * dlg/lengthentry.C: Move the '#include <config.h>' to the top
- (fix compilation with lyxstring).
-
- * FormPrint.h: Fix for namespace-less compilers.
-
- * refdlg.C (RefDialog): Use InsetRef::types.
-
- * FormRef.C (update, apply): Use InsetRef::getName and
- InsetRef::getType.
-
-2000-01-24 John Levon <moz@compsoc.man.ac.uk>
-
- * FormParagraph.C: update readonly in correct
- place
-
- * FormParagraph.h: remove bogus include
-
- * FormRef.C: add tooltip for Goto Ref/Back
-
- * Makefile.am: add library dependencies
- add FormDocument
-
- * citationdlg.h:
- * citationdlg.C: use setSizeHint(). Derive from QWidget
-
- * dlg/helpers.C:
- * dlg/helpers.h: useful widget manipulators
-
- * dlg/lengthentry.C:
- * dlg/lengthentry.h: widget for manipulating LyXLengths
-
- * dlg/Makefile.am:
- * dlg/moc/Makefile.am:
- * moc/Makefile.am:
- * dlg/copyrightdlgdata.C:
- * dlg/copyrightdlgdata.h:
- * dlg/docbulletsdlgdata.C:
- * dlg/docbulletsdlgdata.h:
- * dlg/docdlgdata.C:
- * dlg/docdlgdata.h:
- * dlg/docextradlgdata.C:
- * dlg/docextradlgdata.h:
- * dlg/docgeometrydlgdata.C:
- * dlg/docgeometrydlgdata.h:
- * dlg/doclanguagedlgdata.C:
- * dlg/doclanguagedlgdata.h:
- * dlg/docsettingsdlgdata.C:
- * dlg/docsettingsdlgdata.h:
- * dlg/dialogs/doc.dlg:
- * dlg/dialogs/docbullets.dlg:
- * dlg/dialogs/docextra.dlg:
- * dlg/dialogs/docgeometry.dlg:
- * dlg/dialogs/doclanguage.dlg:
- * dlg/dialogs/docsettings.dlg:
- * dlg/dialogs/paraabove.dlg:
- * dlg/dialogs/parabelow.dlg:
- * FormDocument.C:
- * FormDocument.h:
- * docdlg.h:
- * docdlg.C:
- new FormDocument (incomplete)
-
- * dlg/paraabovedlgdata.C:
- * dlg/paraabovedlgdata.h:
- * dlg/parabelowdlgdata.C:
- * dlg/parabelowdlgdata.h:
- * dlg/paradlgdata.C:
- * paradlg.h:
- * paradlg.C:
- * parageneraldlg.C:
- * parageneraldlg.h:
- * paraextradlg.C: use setSizeHint(). Add tooltips.
- use LengthEntry widget.
-
- * tabstack.C:
- * tabstack.h: fix drawing problems
-
- * printdlg.C: small fix to tooltip
-
- * refdlg.h:
- * refdlg.C: use setSizeHint(). Derive from QWidget. Add
- tooltips.
-
- * tabcreatedlg.C: add tooltip
-
- * tocdlg.h:
- * tocdlg.C: derive from QWidget. Use setSizeHint()
-
- * urldlg.h:
- * urldlg.C: derive from QWidget. Use setSizeHint()
-
-2000-01-12 John Levon <moz@compsoc.man.ac.uk>
-
- * FormTabularCreate.C: use LFUN_INSET_TABULAR Dispatch
- instead of creating by hand
-
- * FormUrl.C: add accelerators for Close and Cancel
-
- * paradlg.C: add accelerators for Close and Cancel,
- clean the code up a little
-
- * printdlg.C: add FIXME for later
+++ /dev/null
-/**
- * \file Dialogs.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author Jürgen Vigna
- * \author John Levon
- */
-
-// real GUI implementations. Have to go at the top
-// because Qt is stupid.
-#include "citationdlg.h"
-#include "copyrightdlg.h"
-#include "indexdlg.h"
-#include "logdlg.h"
-#include "printdlg.h"
-#include "refdlg.h"
-#include "tabcreatedlg.h"
-//#include "tocdlg.h"
-#include "urldlg.h"
-#include "vclogdlg.h"
-
-#include <config.h>
-#include FORMS_H_LOCATION
-
-#include "QtLyXView.h"
-
-#include "combox.h"
-#include "form_bibitem.h"
-#include "form_bibtex.h"
-#include "form_browser.h"
-#include "form_character.h"
-#include "form_credits.h"
-#include "form_error.h"
-#include "form_external.h"
-#include "form_graphics.h"
-#include "form_include.h"
-#include "form_minipage.h"
-#include "form_preamble.h"
-#include "form_search.h"
-#include "form_splash.h"
-
-#include "Dialogs.h"
-#include "kdeBC.h"
-#include "GUI.h"
-
-// controllers
-#include "ControlBibitem.h"
-#include "ControlBibtex.h"
-#include "ControlCharacter.h"
-#include "ControlCitation.h"
-#include "ControlCopyright.h"
-#include "ControlCredits.h"
-#include "ControlError.h"
-#include "ControlExternal.h"
-#include "ControlGraphics.h"
-#include "ControlInclude.h"
-#include "ControlIndex.h"
-#include "ControlLog.h"
-#include "ControlMinipage.h"
-#include "ControlPreamble.h"
-#include "ControlPrint.h"
-#include "ControlRef.h"
-#include "ControlSearch.h"
-#include "ControlSplash.h"
-#include "ControlTabularCreate.h"
-#include "ControlUrl.h"
-#include "ControlVCLog.h"
-
-// dialogs
-#include "FormBibitem.h"
-#include "FormBibtex.h"
-#include "FormCharacter.h"
-#include "FormCitation.h"
-#include "FormCopyright.h"
-#include "FormCredits.h"
-#include "FormDocument.h"
-#include "FormError.h"
-#include "FormExternal.h"
-#include "FormGraphics.h"
-#include "FormInclude.h"
-#include "FormIndex.h"
-#include "FormLog.h"
-#include "FormMinipage.h"
-#include "FormMathsPanel.h"
-#include "FormParagraph.h"
-#include "FormPreamble.h"
-#include "FormPreferences.h"
-#include "FormPrint.h"
-#include "FormRef.h"
-#include "FormSearch.h"
-#include "FormSplash.h"
-#include "FormTabular.h"
-#include "FormTabularCreate.h"
-//#include "FormToc.h"
-#include "FormUrl.h"
-#include "FormVCLog.h"
-
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-/* We don't implement this, but it's needed whilst we
- * still rely on xforms
- */
-SigC::Signal0<void> Dialogs::redrawGUI;
-
-Dialogs::Dialogs(LyXView * lv)
-{
- splash_.reset(new GUISplash<FormSplash>(*this));
-
- add(new GUIBibitem<FormBibitem, xformsBC>(*lv, *this));
- add(new GUIBibtex<FormBibtex, xformsBC>(*lv, *this));
- add(new GUICharacter<FormCharacter, xformsBC>(*lv, *this));
- add(new GUICitation<FormCitation, kdeBC>(*lv, *this));
- add(new GUICopyright<FormCopyright, kdeBC>(*lv, *this));
- add(new GUICredits<FormCredits, xformsBC>(*lv, *this));
- add(new GUIError<FormError, xformsBC>(*lv, *this));
- add(new GUIExternal<FormExternal, xformsBC>(*lv, *this));
- add(new GUIGraphics<FormGraphics, xformsBC>(*lv, *this));
- add(new GUIInclude<FormInclude, kdeBC>(*lv, *this));
- add(new GUIIndex<FormIndex, kdeBC>(*lv, *this));
- add(new GUILog<FormLog, kdeBC>(*lv, *this));
- add(new GUIMinipage<FormMinipage, xformsBC>(*lv, *this));
- add(new GUIPreamble<FormPreamble, xformsBC>(*lv, *this));
- add(new GUIPrint<FormPrint, kdeBC>(*lv, *this));
- add(new GUIRef<FormRef, kdeBC>(*lv, *this));
- add(new GUISearch<FormSearch, xformsBC>(*lv, *this));
- add(new GUITabularCreate<FormTabularCreate, kdeBC>(*lv, *this));
- add(new GUIUrl<FormUrl, kdeBC>(*lv, *this));
- add(new GUIVCLog<FormVCLog, kdeBC>(*lv, *this));
- //add(new GUIToc<FormToc, kdeBC>(*lv, *this));
-
- add(new FormDocument(lv, this));
- add(new FormMathsPanel(lv, this));
- add(new FormParagraph(lv, this));
- add(new FormPreferences(lv, this));
- add(new FormTabular(lv, this));
-
- // reduce the number of connections needed in
- // dialogs by a simple connection here.
- hideAll.connect(hideBufferDependent.slot());
-}
+++ /dev/null
-/**
- * \file FileDialog.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include <config.h>
-#include <gettext.h>
-#include <utility>
-
-#include "commandtags.h"
-
-#include "LString.h"
-
-#include "frontends/FileDialog.h"
-
-#include "FileDialog_private.h"
-
-#include "debug.h"
-
-using std::make_pair;
-using std::pair;
-using std::endl;
-
-FileDialog::FileDialog(LyXView *lv, string const &t, kb_action s, Button b1, Button b2)
- : private_(0), lv_(lv), title_(t), success_(s)
-{
- // FIXME - to get the icon menu working sensibly we need MVCise the operations
- // so we can get told which icons to use ...
-}
-
-
-FileDialog::~FileDialog()
-{
-}
-
-
-FileDialog::Result const FileDialog::Select(string const & path, string const & mask, string const & suggested)
-{
- string filter = mask;
-
- if (mask.empty())
- filter = _("*|All files");
-
- LyXKFileDialog * dlg = new LyXKFileDialog(lv_, success_, path, filter, title_);
-
- lyxerr[Debug::GUI] << "Select with path \"" << path << "\", mask \"" << filter << "\", suggested \"" << suggested << endl;
-
- if (!suggested.empty())
- dlg->setSelection(suggested.c_str());
-
- if (success_ == LFUN_SELECT_FILE_SYNC) {
- FileDialog::Result result;
-
- lyxerr[Debug::GUI] << "Synchronous FileDialog : " << endl;
-
- result.first = FileDialog::Chosen;
-
- int res = dlg->exec();
-
- lyxerr[Debug::GUI] << "result " << res << endl;
-
- if (res == QDialog::Accepted)
- result.second = string(dlg->selectedFile().data());
-
- delete dlg;
-
- return result;
- }
-
- dlg->show();
-
- return make_pair(FileDialog::Later, string());
-}
+++ /dev/null
-/**
- * \file FileDialog_private.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "LString.h"
-
-#include <kapp.h>
-#include <kfiledialog.h>
-
-#include "QtLyXView.h"
-#include "debug.h"
-
-#include "FileDialog_private.h"
-
-LyXKFileDialog::LyXKFileDialog(LyXView * lv, kb_action a, string const & p, string const & m, string const & t)
- : KFileDialog(p.c_str(), m.c_str(), KApplication::getKApplication()->topWidget(), t.c_str(), a == LFUN_SELECT_FILE_SYNC, false),
- lv_(lv), action_(a)
-{
- setCaption(t.c_str());
-}
-
-
-void LyXKFileDialog::done(int what)
-{
- lyxerr[Debug::GUI] << "Done FileDialog, value " << what << endl;
-
- if (action_ == LFUN_SELECT_FILE_SYNC) {
- QDialog::done(what);
- return;
- } else if (what == QDialog::Accepted)
- lv_->getLyXFunc()->Dispatch(action_, selectedFile().data());
- delete this;
-}
+++ /dev/null
-/**
- * \file FileDialog_private.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FILEDIALOG_PRIVATE_H
-#define FILEDIALOG_PRIVATE_H
-
-#include <config.h>
-
-#include <kfiledialog.h>
-
-#include "LString.h"
-#include "lyxfunc.h"
-
-#include "frontends/FileDialog.h"
-
-class LyXView;
-
-class LyXKFileDialog : public KFileDialog
-{
-public:
- LyXKFileDialog(LyXView * lv, kb_action a, string const & p, string const & m, string const & t);
-
- friend class FileDialog;
-
-protected:
- virtual void done(int);
-
-private:
- LyXView * lv_;
- int action_;
-};
-
-#endif // FILEDIALOG_PRIVATE_H
+++ /dev/null
-/**
- * \file FormCitation.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- * \author Angus Leeming
- */
-
-#include <config.h>
-
-#include <algorithm>
-
-#include "FormCitation.h"
-#include "ControlCitation.h"
-#include "citationdlg.h"
-#include "gettext.h"
-#include "biblio.h"
-#include "support/lstrings.h"
-#include "helper_funcs.h"
-
-using std::vector;
-using std::pair;
-using std::find;
-
-FormCitation::FormCitation(ControlCitation & c)
- : KFormBase<ControlCitation, CitationDialog>(c),
- keys(0), chosenkeys(0)
-{
-}
-
-
-void FormCitation::apply()
-{
- controller().params().setCmdName("cite");
- controller().params().setContents(getStringFromVector(chosenkeys));
- controller().params().setOptions(dialog_->line_after->text());
-}
-
-
-void FormCitation::hide()
-{
- chosenkeys.clear();
- selectedKey.erase();
- selectedChosenKey.erase();
-
- KFormBase<ControlCitation, CitationDialog>::hide();
-}
-
-
-void FormCitation::build()
-{
- dialog_.reset(new CitationDialog(this, 0, _("Citation")));
-
- // Manage the ok, apply, restore and cancel/close buttons
- bc().setOK(dialog_->button_ok);
- bc().setApply(dialog_->button_apply);
- bc().setRestore(dialog_->button_restore);
- bc().setCancel(dialog_->button_cancel);
-
- bc().addReadOnly(dialog_->list_available);
- bc().addReadOnly(dialog_->list_chosen);
- bc().addReadOnly(dialog_->line_after);
- bc().addReadOnly(dialog_->button_add);
- bc().addReadOnly(dialog_->button_remove);
- bc().addReadOnly(dialog_->button_up);
- bc().addReadOnly(dialog_->button_down);
- //bc().addReadOnly(dialog_->style);
-}
-
-
-void FormCitation::update()
-{
- keys = biblio::getKeys(controller().bibkeysInfo());
-
- updateAvailableList();
- selectedKey.erase();
-
- chosenkeys = getVectorFromString(controller().params().getContents());
- updateChosenList();
- selectedChosenKey.erase();
-
- dialog_->line_details->setText("");
- dialog_->line_after->setText(controller().params().getOptions().c_str());
-
- if (!controller().isReadonly())
- updateButtons();
-}
-
-
-void FormCitation::updateButtons()
-{
- bool ischosenkey = !selectedChosenKey.empty();
-
- vector<string>::const_iterator iter =
- find(chosenkeys.begin(), chosenkeys.end(), selectedKey);
-
- dialog_->button_add->setEnabled(!selectedKey.empty() && iter == chosenkeys.end());
- dialog_->button_remove->setEnabled(ischosenkey);
- dialog_->button_up->setEnabled(ischosenkey);
- dialog_->button_down->setEnabled(ischosenkey);
-}
-
-
-void FormCitation::updateChosenList()
-{
- updateList(dialog_->list_chosen, chosenkeys);
-}
-
-
-void FormCitation::updateAvailableList()
-{
- updateList(dialog_->list_available, keys);
-}
-
-
-void FormCitation::updateList(QListBox * lb, vector<string> const & keys)
-{
- lb->setAutoUpdate(false);
- lb->clear();
-
- for (vector<string>::const_iterator iter = keys.begin();
- iter != keys.end(); ++iter) {
- if (!iter->empty())
- lb->insertItem(iter->c_str());
- }
- lb->setAutoUpdate(true);
- lb->update();
-}
-
-
-void FormCitation::selectChosen()
-{
- for (unsigned int i=0; i < dialog_->list_chosen->count(); ++i) {
- if (dialog_->list_chosen->text(i)==selectedChosenKey) {
- dialog_->list_chosen->setSelected(i,true);
- dialog_->list_chosen->setTopItem(i);
- break;
- }
- }
-}
-
-
-ButtonPolicy::SMInput FormCitation::add()
-{
- if (selectedKey.empty())
- return ButtonPolicy::SMI_NOOP;
-
- for (vector<string>::const_iterator iter = keys.begin();
- iter != keys.end(); ++iter) {
- if (*iter == selectedKey) {
- chosenkeys.push_back(*iter);
- break;
- }
- }
-
- selectedChosenKey.erase();
- updateChosenList();
- updateButtons();
- return ButtonPolicy::SMI_VALID;
-}
-
-
-ButtonPolicy::SMInput FormCitation::remove()
-{
- if (selectedChosenKey.empty())
- return ButtonPolicy::SMI_NOOP;
-
- for (vector< string >::iterator iter = chosenkeys.begin();
- iter != chosenkeys.end(); ++iter) {
- if (*iter==selectedChosenKey) {
- chosenkeys.erase(iter);
- break;
- }
- }
- selectedChosenKey.erase();
- updateChosenList();
- updateButtons();
- return ButtonPolicy::SMI_VALID;
-}
-
-
-ButtonPolicy::SMInput FormCitation::up()
-{
- if (selectedChosenKey.empty())
- return ButtonPolicy::SMI_NOOP;
-
- // Qt will select the first one on redo, so we need this
- string tmp = selectedChosenKey;
-
- vector< string >::iterator iter = chosenkeys.begin();
-
- for (; iter != chosenkeys.end(); ++iter) {
- if (*iter==selectedChosenKey && iter!=chosenkeys.begin()) {
- string tmp = *iter;
- chosenkeys.erase(iter);
- chosenkeys.insert(iter-1,tmp);
- break;
- }
- }
- if (iter==chosenkeys.end())
- return ButtonPolicy::SMI_NOOP;
-
- updateChosenList();
- selectedChosenKey=tmp;
- selectChosen();
- return ButtonPolicy::SMI_VALID;
-}
-
-
-ButtonPolicy::SMInput FormCitation::down()
-{
- if (selectedChosenKey.empty())
- return ButtonPolicy::SMI_NOOP;
-
- // Qt will select the first one on redo, so we need this
- string tmp = selectedChosenKey;
-
- vector< string >::iterator iter = chosenkeys.begin();
-
- for (; iter != chosenkeys.end(); ++iter) {
- if (*iter == selectedChosenKey && (iter+1)!=chosenkeys.end()) {
- string tmp = *iter;
- chosenkeys.erase(iter);
- chosenkeys.insert(iter+1, tmp);
- break;
- }
- }
- if (iter == chosenkeys.end())
- return ButtonPolicy::SMI_NOOP;
-
- updateChosenList();
- selectedChosenKey=tmp;
- selectChosen();
- return ButtonPolicy::SMI_VALID;
-}
-
-
-ButtonPolicy::SMInput FormCitation::select_key(char const * key)
-{
- if (controller().isReadonly())
- return ButtonPolicy::SMI_INVALID;
-
- vector<string>::const_iterator iter =
- find(chosenkeys.begin(), chosenkeys.end(), key);
-
- if (iter != chosenkeys.end())
- return ButtonPolicy::SMI_NOOP;
-
- selectedKey.erase();
- selectedKey = key;
-
- add();
- return ButtonPolicy::SMI_VALID;
-}
-
-
-void FormCitation::highlight_key(char const * key)
-{
- highlight(key, dialog_->list_chosen, selectedKey, selectedChosenKey);
-}
-
-
-void FormCitation::highlight_chosen(char const * key)
-{
- highlight(key, dialog_->list_available, selectedChosenKey, selectedKey);
-}
-
-
-void FormCitation::highlight(char const * key, QListBox * lb,
- string & selected1, string & selected2)
-{
- selected1.erase();
- selected1 = key;
-
- unsigned int i;
-
- for (i=0; i < keys.size(); ++i) {
- if (keys[i] == key) {
- string const tmp = biblio::getInfo(controller().bibkeysInfo(), key);
- dialog_->line_details->setText(tmp.c_str());
- lb->clearFocus();
- lb->clearSelection();
- selected2.erase();
- break;
- }
- }
-
- if (i == keys.size())
- dialog_->line_details->setText(_("Key not found."));
-
- updateButtons();
-}
+++ /dev/null
-/**
- * \file FormCitation.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- * \author Angus Leeming
- */
-
-#ifndef FORMCITATION_H
-#define FORMCITATION_H
-
-#include <vector>
-
-#include "KFormBase.h"
-
-class QListBox;
-class ControlCitation;
-class CitationDialog;
-
-class FormCitation : public KFormBase<ControlCitation, CitationDialog> {
-public:
- FormCitation(ControlCitation &);
-
- // Functions accessible to the Controller
-
- /// set the Params variable for the Controller
- virtual void apply();
- /// set the Params variable for the Controller
- virtual void build();
- /// update dialog before/whilst showing it
- virtual void update();
- /// hide the dialog
- virtual void hide();
-
- /// add a key
- ButtonPolicy::SMInput add();
- /// remove a key
- ButtonPolicy::SMInput remove();
- /// move a key up
- ButtonPolicy::SMInput up();
- /// move a key down
- ButtonPolicy::SMInput down();
- /// a key has been highlighted
- void highlight_key(char const * key);
- /// a chosen key has been highlighted
- void highlight_chosen(char const * key);
- /// a key has been double-clicked
- ButtonPolicy::SMInput select_key(char const * key);
-
- friend class CitationDialog;
-
-private:
- /// update add,remove,up,down
- void updateButtons();
- /// update the available keys list
- void updateAvailableList();
- /// update the chosen keys list
- void updateChosenList();
- /// select the currently chosen key
- void selectChosen();
- /// does the dirty work for highlight_key(), highlight_chosen()
- void highlight(char const *, QListBox *, string &, string &);
- /// does the dirty work for updateAvailableList(), updateChosenList()
- void updateList(QListBox *, std::vector<string> const &);
-
- /// available citation keys
- std::vector<string> keys;
- /// chosen citation keys
- std::vector<string> chosenkeys;
-
- /// currently selected key
- string selectedKey;
-
- /// currently selected chosen key
- string selectedChosenKey;
-};
-
-#endif // FORMCITATION_H
+++ /dev/null
-/**
- * \file FormCopyright.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author Jürgen Vigna
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "FormCopyright.h"
-#include "ControlCopyright.h"
-#include "copyrightdlg.h"
-#include "gettext.h"
-#include "dlg/helpers.h"
-
-FormCopyright::FormCopyright(ControlCopyright & c)
- : KFormBase<ControlCopyright, CopyrightDialog>(c)
-{
-}
-
-
-void FormCopyright::build()
-{
- dialog_.reset(new CopyrightDialog(this, 0, _("LyX: Copyright and Warranty")));
-
- // FIXME: Qt is really badly dumb in resizing these strings if we
- // use minimum size hint :/
- dialog_->label_copyright->setText(controller().getCopyright().c_str());
- dialog_->label_licence->setText(controller().getLicence().c_str());
- dialog_->label_disclaimer->setText(controller().getDisclaimer().c_str());
-
- bc().setCancel(dialog_->button_cancel);
-}
+++ /dev/null
-/**
- * \file FormCopyright.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author Jürgen Vigna
- * \author John Levon
- */
-#ifndef FORMCOPYRIGHT_H
-#define FORMCOPYRIGHT_H
-
-#include "KFormBase.h"
-
-class ControlCopyright;
-class CopyrightDialog;
-
-class FormCopyright : public KFormBase<ControlCopyright, CopyrightDialog> {
-public:
- ///
- FormCopyright(ControlCopyright & c);
-
-private:
- /// build the dialog
- virtual void build();
- /// not used
- virtual void apply() {}
- /// not used
- void update() {}
-};
-
-#endif // FORMCOPYRIGHT_H
+++ /dev/null
-/**
- * \file FormDocument.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "docdlg.h"
-
-#include "Dialogs.h"
-#include "FormDocument.h"
-
-#include "CutAndPaste.h"
-#include "buffer.h"
-#include "Liason.h"
-
-#include "QtLyXView.h"
-#include "debug.h"
-
-using Liason::setMinibuffer;
-
-FormDocument::FormDocument(LyXView *v, Dialogs *d)
- : dialog_(0), lv_(v), d_(d), h_(0)
-{
- d->showLayoutDocument.connect(slot(this, &FormDocument::show));
-}
-
-
-FormDocument::~FormDocument()
-{
- delete dialog_;
-}
-
-
-void FormDocument::update(bool)
-{
- if (!lv_->view()->available())
- return;
-
- Buffer *buf = lv_->buffer();
-
- if (readonly!=buf->isReadonly()) {
- readonly = buf->isReadonly();
- dialog_->setReadOnly(readonly);
- }
-
- dialog_->setFromParams(buf->params);
-}
-
-
-void FormDocument::apply()
-{
- if (readonly)
- return;
-
- if (!lv_->view()->available())
- return;
-
- BufferParams & params = lv_->buffer()->params;
-
- if (dialog_->updateParams(params))
- lv_->view()->redoCurrentBuffer();
-
- lv_->buffer()->markDirty();
- setMinibuffer(lv_, _("Document layout set"));
-}
-
-
-void FormDocument::show()
-{
- if (!dialog_)
- dialog_ = new DocDialog(this, 0, _("LyX: Document Options"), false);
-
- if (!dialog_->isVisible())
- h_ = d_->hideBufferDependent.connect(slot(this, &FormDocument::hide));
-
-
- dialog_->raise();
- dialog_->setActiveWindow();
- update();
-
- dialog_->show();
-}
-
-
-bool FormDocument::changeClass(BufferParams & params, int new_class)
-{
- if (textclasslist.Load(new_class)) {
- // successfully loaded
- setMinibuffer(lv_, _("Converting document to new document class..."));
-
- CutAndPaste cap;
- int ret = cap.SwitchLayoutsBetweenClasses(
- params.textclass, new_class,
- lv_->buffer()->paragraph);
- if (ret) {
- /* FIXME: error message */
- }
-
- params.textclass = new_class;
- } else
- return false;
-
- return true;
-}
-
-
-void FormDocument::close()
-{
- h_.disconnect();
-}
-
-
-void FormDocument::hide()
-{
- dialog_->hide();
- close();
-}
+++ /dev/null
-/**
- * \file FormDocument.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-#ifndef FORMDOCUMENT_H
-#define FORMDOCUMENT_H
-
-#include <vector>
-
-#include "DialogBase.h"
-#include "LString.h"
-#include "boost/utility.hpp"
-
-class Dialogs;
-class LyXView;
-class DocDialog;
-class BufferParams;
-
-/**
- * \brief the LyXian side of the complex Document dialog
- */
-class FormDocument : public DialogBase {
-public:
- FormDocument(LyXView *, Dialogs *);
-
- ~FormDocument();
-
- /// Apply changes
- void apply();
- /// Update the dialog.
- void update(bool switched = false);
- /// close the connections
- void close();
- /// change the doc class
- bool changeClass(BufferParams & params, int new_class);
-
-private:
- /// Create the dialog if necessary, update it and display it.
- void show();
- /// Hide the dialog.
- void hide();
-
- /// Real GUI implementation.
- DocDialog * dialog_;
-
- /// the LyXView we belong to
- LyXView * lv_;
-
- /// Used so we can get at the signals we have to connect to.
- Dialogs * d_;
-
- /// Hide connection.
- SigC::Connection h_;
-
- /// is the buffer readonly ?
- bool readonly;
-};
-
-#endif // FORMDOCUMENT_H
+++ /dev/null
-/**
- * \file FormIndex.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "QtLyXView.h"
-#include "FormIndex.h"
-#include "indexdlg.h"
-#include "ControlIndex.h"
-#include "gettext.h"
-
-FormIndex::FormIndex(ControlIndex & c)
- : KFormBase<ControlIndex, IndexDialog>(c)
-{
-}
-
-
-void FormIndex::build()
-{
- dialog_.reset(new IndexDialog(this, 0, _("LyX: Index")));
-
- // FIXME
-
- //bc().setRestore(dialog_->buttonRestore);
- bc().setOK(dialog_->button_ok);
- //bc().setApply(dialog_->buttonApply);
- bc().setCancel(dialog_->button_cancel);
- bc().addReadOnly(dialog_->line_index);
-}
-
-
-void FormIndex::update()
-{
- dialog_->setIndexText(controller().params().getContents().c_str());
-}
-
-
-void FormIndex::apply()
-{
- controller().params().setContents(dialog_->getIndexText());
-}
+++ /dev/null
-/**
- * \file FormIndex.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMINDEX_H
-#define FORMINDEX_H
-
-#include "KFormBase.h"
-
-class ControlIndex;
-class IndexDialog;
-
-class FormIndex : public KFormBase<ControlIndex, IndexDialog> {
-public:
- FormIndex(ControlIndex & c);
-
-private:
- /// apply changes
- virtual void apply();
- /// build the dialog
- virtual void build();
- /// update the dialog
- virtual void update();
-};
-
-#endif // FORMINDEX_H
+++ /dev/null
-/**
- * \file FormLog.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include <fstream>
-
-#include "FormLog.h"
-#include "ControlLog.h"
-#include "logdlg.h"
-#include "gettext.h"
-
-using std::ifstream;
-using std::getline;
-
-FormLog::FormLog(ControlLog & c)
- : KFormBase<ControlLog, LogDialog>(c)
-{
-}
-
-
-void FormLog::update()
-{
- std::pair<Buffer::LogType, string> const logfile = controller().logfile();
-
- if (logfile.first == Buffer::buildlog)
- dialog_->setCaption(_("Build log"));
- else
- dialog_->setCaption(_("LaTeX log"));
-
- dialog_->setLogText("");
-
- ifstream ifstr(logfile.second.c_str());
- if (!ifstr) {
- if (logfile.first == Buffer::buildlog)
- dialog_->setLogText(_("No build log file found"));
- else
- dialog_->setLogText(_("No LaTeX log file found"));
- return;
- }
-
- string text;
- string line;
-
- while (getline(ifstr, line))
- text += line + "\n";
-
- dialog_->setLogText(text);
-}
-
-
-void FormLog::build()
-{
- dialog_.reset(new LogDialog(this, 0, _("LyX: LaTeX Log")));
-
- bc().setCancel(dialog_->button_cancel);
-}
+++ /dev/null
-/**
- * \file FormLog.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMLOG_H
-#define FORMLOG_H
-
-#include "KFormBase.h"
-
-class ControlLog;
-class LogDialog;
-
-class FormLog : public KFormBase<ControlLog, LogDialog> {
-public:
- FormLog(ControlLog & c);
-
- /// update the dialog
- virtual void update();
-
- /// apply
- virtual void apply() {};
-
- /// build dialog
- virtual void build();
-};
-
-#endif // FORMLOG_H
+++ /dev/null
-/**
- * \file FormParagraph.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "paradlg.h"
-
-#include "Dialogs.h"
-#include "FormParagraph.h"
-#include "Liason.h"
-#include "gettext.h"
-#include "buffer.h"
-#include "QtLyXView.h"
-#include "lyxtext.h"
-#include "debug.h"
-
-using Liason::setMinibuffer;
-using std::endl;
-
-FormParagraph::FormParagraph(LyXView *v, Dialogs *d)
- : dialog_(0), lv_(v), d_(d), h_(0)
-{
- d->showLayoutParagraph.connect(slot(this, &FormParagraph::show));
-}
-
-
-FormParagraph::~FormParagraph()
-{
- delete dialog_;
-}
-
-
-void FormParagraph::update(bool switched)
-{
- if (switched) {
- hide();
- return;
- }
-
- if (!lv_->view()->available())
- return;
-
- Buffer *buf = lv_->view()->buffer();
-
- if (readonly != buf->isReadonly()) {
- readonly = buf->isReadonly();
- dialog_->setReadOnly(readonly);
- }
-
- LyXText * text = 0;
-
- if (lv_->view()->theLockingInset())
- text = lv_->view()->theLockingInset()->getLyXText(lv_->view());
-
- if (!text)
- text = lv_->view()->text;
-
- Paragraph const * par = text->cursor.par();
-
- int align = par->GetAlign();
-
- if (align==LYX_ALIGN_LAYOUT)
- align = textclasslist.Style(buf->params.textclass, par->GetLayout()).align;
-
-#if 0
- // Just remove this and change physpar to par
- Paragraph const * physpar = par;
-
- if (physpar->params.spaceTop().kind() == VSpace::LENGTH) {
- LyXGlueLength above = physpar->params.spaceTop().length();
- lyxerr[Debug::GUI] << "Reading above space : \""
- << physpar->params.spaceTop().length().asString() << "\"" << endl;
-
- dialog_->setAboveLength(above.value(), above.plusValue(), above.minusValue(),
- above.unit(), above.plusUnit(), above.minusUnit());
- } else
- dialog_->setAboveLength(0.0, 0.0, 0.0, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE);
-
- if (physpar->params.spaceBottom().kind() == VSpace::LENGTH) {
- LyXGlueLength below = physpar->params.spaceBottom().length();
- lyxerr[Debug::GUI] << "Reading below space : \""
- << physpar->params.spaceBottom().length().asString() << "\"" << endl;
-
- dialog_->setBelowLength(below.value(), below.plusValue(), below.minusValue(),
- below.unit(), below.plusUnit(), below.minusUnit());
- } else
- dialog_->setBelowLength(0.0, 0.0, 0.0, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE, LyXLength::UNIT_NONE);
-
- dialog_->setLabelWidth(text->cursor.par()->GetLabelWidthString().c_str());
- dialog_->setAlign(align);
-
- dialog_->setChecks(physpar->params.lineTop(),
- physpar->params.lineBottom(),
- physpar->params.pagebreakTop(),
- physpar->params.pagebreakBottom(),
- physpar->params.noindent());
-
- dialog_->setSpace(physpar->params.spaceTop().kind(),
- physpar->params.spaceBottom().kind(),
- physpar->params.spaceTop().keep(),
- physpar->params.spaceBottom().keep());
-#else
- if (par->params.spaceTop().kind() == VSpace::LENGTH) {
- LyXGlueLength above = par->params.spaceTop().length();
- lyxerr[Debug::GUI] << "Reading above space : \""
- << par->params.spaceTop().length().asString() << "\"" << endl;
-
- dialog_->setAboveLength(above.value(), above.plusValue(),
- above.minusValue(),
- above.unit(), above.plusUnit(),
- above.minusUnit());
- } else
- dialog_->setAboveLength(0.0, 0.0, 0.0,
- LyXLength::UNIT_NONE,
- LyXLength::UNIT_NONE,
- LyXLength::UNIT_NONE);
-
- if (par->params.spaceBottom().kind() == VSpace::LENGTH) {
- LyXGlueLength below = par->params.spaceBottom().length();
- lyxerr[Debug::GUI] << "Reading below space : \""
- << below.asString() << "\"" << endl;
-
- dialog_->setBelowLength(below.value(),
- below.plusValue(),
- below.minusValue(),
- below.unit(),
- below.plusUnit(),
- below.minusUnit());
- } else
- dialog_->setBelowLength(0.0, 0.0, 0.0,
- LyXLength::UNIT_NONE,
- LyXLength::UNIT_NONE,
- LyXLength::UNIT_NONE);
-
- dialog_->setLabelWidth(text->cursor.par()->GetLabelWidthString());
- dialog_->setAlign(align);
-
- dialog_->setChecks(par->params.lineTop(),
- par->params.lineBottom(),
- par->params.pagebreakTop(),
- par->params.pagebreakBottom(),
- par->params.noindent());
-
- dialog_->setSpace(par->params.spaceTop().kind(),
- par->params.spaceBottom().kind(),
- par->params.spaceTop().keep(),
- par->params.spaceBottom().keep());
-#endif
-}
-
-
-void FormParagraph::apply()
-{
- if (readonly)
- return;
-
- VSpace spaceabove;
- VSpace spacebelow;
-
- if (dialog_->getSpaceAboveKind() == VSpace::LENGTH)
- spaceabove = VSpace(dialog_->getAboveLength());
- else
- spaceabove = VSpace(dialog_->getSpaceAboveKind());
-
- if (dialog_->getSpaceBelowKind() == VSpace::LENGTH)
- spacebelow = VSpace(dialog_->getBelowLength());
- else
- 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 below space \""
- << LyXGlueLength(spacebelow.length().asString()).asString() << "\"" << endl;
-
- lv_->view()->text->SetParagraph(lv_->view(),
- dialog_->getLineAbove(), dialog_->getLineBelow(),
- dialog_->getPagebreakAbove(), dialog_->getPagebreakBelow(),
- spaceabove, spacebelow, dialog_->getAlign(),
- dialog_->getLabelWidth(), dialog_->getNoIndent());
-
- lv_->view()->update(lv_->view()->text,
- BufferView::SELECT |
- BufferView::FITCUR |
- BufferView::CHANGE);
- lv_->buffer()->markDirty();
- setMinibuffer(lv_, _("Paragraph layout set"));
-}
-
-
-void FormParagraph::show()
-{
- if (!dialog_)
- dialog_ = new ParaDialog(this, 0,
- _("LyX: Paragraph Options"), false);
-
- if (!dialog_->isVisible())
- h_ = d_->hideBufferDependent
- .connect(slot(this, &FormParagraph::hide));
-
- dialog_->raise();
- dialog_->setActiveWindow();
- update();
-
- dialog_->show();
-}
-
-
-void FormParagraph::close()
-{
- h_.disconnect();
-}
-
-
-void FormParagraph::hide()
-{
- dialog_->hide();
- close();
-}
+++ /dev/null
-/**
- * \file FormParagraph.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMPARAGRAPH_H
-#define FORMPARAGRAPH_H
-
-#include "DialogBase.h"
-#include "LString.h"
-#include "boost/utility.hpp"
-
-class Dialogs;
-class LyXView;
-class ParaDialog;
-
-class FormParagraph : public DialogBase {
-public:
- FormParagraph(LyXView *, Dialogs *);
-
- ~FormParagraph();
-
- /// Apply changes
- void apply();
- /// Update the dialog.
- void update(bool switched = false);
- /// 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.
- ParaDialog * dialog_;
-
- /// the LyXView we belong to
- LyXView * lv_;
-
- /// Used so we can get at the signals we have to connect to.
- Dialogs * d_;
-
- /// Hide connection.
- SigC::Connection h_;
-
- /// readonly file or not
- bool readonly;
-};
-
-#endif // FORMPARAGRAPH_H
+++ /dev/null
-/**
- * \file FormPrint.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "printdlg.h"
-#include "QtLyXView.h"
-#include "PrinterParams.h"
-#include "gettext.h"
-#include "support/lstrings.h"
-
-#include "FormPrint.h"
-#include "ControlPrint.h"
-
-using std::max;
-
-FormPrint::FormPrint(ControlPrint & c)
- : KFormBase<ControlPrint, PrintDialog>(c)
-{
-}
-
-
-void FormPrint::build()
-{
- dialog_.reset(new PrintDialog(this, 0, _("LyX: Print")));
-
- bc().setOK(dialog_->button_ok);
- bc().setCancel(dialog_->button_cancel);
-}
-
-
-void FormPrint::apply()
-{
- string from;
- int to(0);
-
- if (strlen(dialog_->getFrom())) {
- from = dialog_->getFrom();
- if (strlen(dialog_->getTo()))
- to = strToInt(dialog_->getTo());
- }
-
- controller().params() = PrinterParams(dialog_->getTarget(),
- dialog_->getPrinter(), dialog_->getFile(),
- dialog_->getWhichPages(), from, to, dialog_->getReverse(),
- dialog_->getSort(), max(strToInt(dialog_->getCount()), 1));
-}
-
-
-void FormPrint::update()
-{
- PrinterParams & pp(controller().params());
-
- dialog_->setTarget(pp.target);
- dialog_->setPrinter(pp.printer_name.c_str());
- dialog_->setFile(pp.file_name.c_str());
- dialog_->setWhichPages(pp.which_pages);
- dialog_->setReverse(pp.reverse_order);
- dialog_->setSort(pp.unsorted_copies);
- dialog_->setCount(pp.count_copies);
-
- if (!pp.from_page.empty()) {
- dialog_->setFrom(pp.from_page.c_str());
- if (pp.to_page)
- dialog_->setTo(tostr(pp.to_page).c_str());
- else
- dialog_->setTo("");
- } else {
- dialog_->setFrom("");
- dialog_->setTo("");
- }
-}
+++ /dev/null
-/**
- * \file FormPrint.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMPRINT_H
-#define FORMPRINT_H
-
-#include "KFormBase.h"
-
-class ControlPrint;
-class PrintDialog;
-
-///
-class FormPrint : public KFormBase<ControlPrint, PrintDialog> {
-public:
- ///
- FormPrint(ControlPrint & c);
-
-private:
- /// apply dialog
- virtual void apply();
- /// build dialog
- virtual void build();
- /// update dialog
- virtual void update();
-};
-
-#endif // FORMPRINT_H
+++ /dev/null
-/**
- * \file FormRef.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "support/lstrings.h"
-
-#include "FormRef.h"
-#include "ControlRef.h"
-#include "gettext.h"
-#include "refdlg.h"
-#include "insets/insetref.h"
-
-#include <qtooltip.h>
-
-using std::endl;
-
-FormRef::FormRef(ControlRef & c)
- : KFormBase<ControlRef, RefDialog>(c),
- sort_(0), gotowhere_(GOTOREF), refs_(0)
-{
-}
-
-
-void FormRef::build()
-{
- dialog_.reset(new RefDialog(this, 0, _("LyX: Cross Reference"), false));
-
- //bc().setRestore(dialog_->buttonRestore);
- bc().setOK(dialog_->buttonOk);
- //bc().setApply(dialog_->buttonApply);
- bc().setCancel(dialog_->buttonCancel);
- // FIXME
-}
-
-
-void FormRef::update()
-{
- dialog_->reference->setText(controller().params().getContents().c_str());
- dialog_->refname->setText(controller().params().getOptions().c_str());
-
- dialog_->type->setCurrentItem(InsetRef::getType(controller().params().getCmdName()));
-
- // Name is irrelevant to LaTeX/Literate documents
- dialog_->refname->setEnabled(controller().docType() != ControlRef::LATEX &&
- controller().docType() != ControlRef::LITERATE);
-
- // type is irrelevant to LinuxDoc/DocBook.
- if (controller().docType() == ControlRef::LINUXDOC ||
- controller().docType() == ControlRef::DOCBOOK) {
- dialog_->type->setCurrentItem(0);
- dialog_->type->setEnabled(false);
- } else
- dialog_->type->setEnabled(true);
-
- dialog_->buttonGoto->setText(_("&Goto reference"));
- QToolTip::remove(dialog_->buttonGoto);
- QToolTip::add(dialog_->buttonGoto,_("Jump to selected reference"));
-
- gotowhere_ = GOTOREF;
-
- dialog_->sort->setChecked(sort_);
-
- do_ref_update();
-
- //dialog_->buttonGoto->setEnabled(params.getContents()!="");
- //dialog_->buttonOk->setEnabled(params.getContents()!="");
-}
-
-
-void FormRef::apply()
-{
- controller().params().setCmdName(InsetRef::getName(dialog_->type->currentItem()));
- controller().params().setContents(dialog_->reference->text());
- controller().params().setOptions(dialog_->refname->text());
-}
-
-
-void FormRef::select(char const * text)
-{
- highlight(text);
- goto_ref();
-}
-
-
-void FormRef::highlight(char const * text)
-{
- // FIXME
- if (gotowhere_==GOTOBACK)
- goto_ref();
-
- dialog_->buttonGoto->setEnabled(true);
-}
-
-
-void FormRef::set_sort(bool on)
-{
- if (on != sort_) {
- sort_=on;
- dialog_->refs->clear();
- updateRefs();
- }
-}
-
-
-void FormRef::goto_ref()
-{
- /* FIXME
- switch (gotowhere_) {
- case GOTOREF:
- lv_->getLyXFunc()->Dispatch(LFUN_REF_GOTO, dialog_->reference->text());
- gotowhere=GOTOBACK;
- dialog_->buttonGoto->setText(_("&Go back"));
- QToolTip::remove(dialog_->buttonGoto);
- QToolTip::add(dialog_->buttonGoto,_("Jump back to original position"));
- break;
- case GOTOBACK:
- lv_->getLyXFunc()->Dispatch(LFUN_BOOKMARK_GOTO, "0");
- gotowhere=GOTOREF;
- dialog_->buttonGoto->setText(_("&Goto reference"));
- QToolTip::remove(dialog_->buttonGoto);
- QToolTip::add(dialog_->buttonGoto,_("Jump to selected reference"));
- break;
- }
- */
-}
-
-
-void FormRef::updateRefs()
-{
- // list will be re-done, should go back if necessary
- /* FIXME if (gotowhere == GOTOBACK) {
- lv_->getLyXFunc()->Dispatch(LFUN_BOOKMARK_GOTO, "0");
- gotowhere = GOTOREF;
- dialog_->buttonGoto->setText(_("&Goto reference"));
- QToolTip::remove(dialog_->buttonGoto);
- QToolTip::add(dialog_->buttonGoto,_("Jump to selected reference"));
- }*/
-
- dialog_->refs->setAutoUpdate(false);
-
- // need this because Qt will send a highlight() here for
- // the first item inserted
- string tmp(dialog_->reference->text());
-
- for (vector<string>::const_iterator iter = refs_.begin();
- iter != refs_.end(); ++iter) {
- if (sort_)
- dialog_->refs->inSort(iter->c_str());
- else
- dialog_->refs->insertItem(iter->c_str());
- }
-
- dialog_->reference->setText(tmp.c_str());
-
- for (unsigned int i=0; i < dialog_->refs->count(); ++i) {
- if (!compare(dialog_->reference->text(),
- dialog_->refs->text(i)))
- dialog_->refs->setCurrentItem(i);
- }
-
- dialog_->refs->setAutoUpdate(true);
- dialog_->refs->update();
-}
-
-
-void FormRef::do_ref_update()
-{
- refs_.clear();
- dialog_->refs->clear();
- refs_ = controller().getLabelList();
- if (!refs_.empty())
- dialog_->sort->setEnabled(true);
- updateRefs();
-}
+++ /dev/null
-/**
- * \file FormRef.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMREF_H
-#define FORMREF_H
-
-#include "KFormBase.h"
-
-class ControlRef;
-class RefDialog;
-
-class FormRef : public KFormBase<ControlRef, RefDialog> {
-public:
- FormRef(ControlRef & c);
-
- /// double-click a ref
- void select(char const *);
- /// highlight a ref
- void highlight(char const *);
- /// set sort
- void set_sort(bool);
- /// goto a ref (or back)
- void goto_ref();
- /// update just the refs
- void do_ref_update();
-
-private:
- enum GotoType {
- GOTOREF, GOTOBACK
- };
-
- /// apply changes
- virtual void apply();
- /// build dialog
- virtual void build();
- /// update dialog
- virtual void update();
-
- /// update the keys list
- void updateRefs(void);
-
- /// to sort or not to sort
- bool sort_;
-
- /// where to go
- GotoType gotowhere_;
-
- /// available references
- std::vector<string> refs_;
-};
-
-#endif // FORMREF_H
+++ /dev/null
-/**
- * \file FormTabularCreate.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "gettext.h"
-#include "support/lstrings.h"
-
-#include "FormTabularCreate.h"
-#include "ControlTabularCreate.h"
-#include "tabcreatedlg.h"
-
-FormTabularCreate::FormTabularCreate(ControlTabularCreate & c)
- : KFormBase<ControlTabularCreate, TabularCreateDialog>(c)
-{
-}
-
-
-void FormTabularCreate::build()
-{
- dialog_.reset(new TabularCreateDialog(this, 0, _("LyX: Insert Table")));
-
- bc().setOK(dialog_->button_ok);
- bc().setCancel(dialog_->button_cancel);
-}
-
-
-void FormTabularCreate::apply()
-{
- // FIXME: angus, what's with this ? Why should the dialogs know about
- // how LFUN represents the row, column ... this should be params(uint, uint)
- controller().params() = tostr(dialog_->spin_rows->value()) + " " + tostr(dialog_->spin_cols->value());
-}
+++ /dev/null
-/**
- * \file FormTabularCreate.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMTABULARCREATE_H
-#define FORMTABULARCREATE_H
-
-#include "KFormBase.h"
-
-class ControlTabularCreate;
-class TabularCreateDialog;
-
-///
-class FormTabularCreate : public KFormBase<ControlTabularCreate, TabularCreateDialog> {
-public:
- ///
- FormTabularCreate(ControlTabularCreate & c);
-
-private:
- /// apply dialog
- virtual void apply();
- /// build dialog
- virtual void build();
- /// not used
- virtual void update() {};
-};
-
-#endif // FORMTABULARCREATE_H
+++ /dev/null
-/**
- * \file FormToc.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include <stack>
-
-#include "tocdlg.h"
-
-#include "Dialogs.h"
-#include "FormToc.h"
-#include "gettext.h"
-#include "buffer.h"
-#include "support/lstrings.h"
-#include "QtLyXView.h"
-#include "lyxfunc.h"
-#include "debug.h"
-
-using std::vector;
-using std::pair;
-using std::stack;
-using std::endl;
-
-// FIXME: we should be able to move sections around like klyx1 can
-
-FormToc::FormToc(LyXView *v, Dialogs *d)
- : dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
- toclist(0), type(Buffer::TOC_TOC), depth(1)
-{
- // 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->showTOC.connect(slot(this, &FormToc::showTOC));
- d->createTOC.connect(slot(this, &FormToc::createTOC));
-}
-
-
-FormToc::~FormToc()
-{
- delete dialog_;
-}
-
-
-void FormToc::showTOC(InsetCommand * const inset)
-{
- // FIXME: when could inset be 0 here ?
- if (inset == 0)
- return;
-
- inset_ = inset;
- ih_ = inset_->hideDialog.connect(slot(this,&FormToc::hide));
- params = inset->params();
-
- show();
-}
-
-
-void FormToc::createTOC(string const & arg)
-{
- if (inset_)
- close();
-
- params.setFromString(arg);
- show();
-}
-
-
-void FormToc::updateToc(int newdepth)
-{
- if (!lv_->view()->available()) {
- toclist.clear();
- dialog_->tree->clear();
- return;
- }
-
- vector< vector<Buffer::TocItem> > tmp =
- lv_->view()->buffer()->getTocList();
-
- // Check if all elements are the same.
- if (newdepth == depth && toclist.size() == tmp[type].size()) {
- unsigned int i = 0;
- for (; i < toclist.size(); ++i) {
- if (toclist[i] != tmp[type][i])
- break;
- }
- if (i >= toclist.size())
- return;
- }
-
- depth=newdepth;
-
- toclist = tmp[type];
-
- dialog_->tree->clear();
- if (toclist.empty())
- return;
-
- dialog_->tree->setUpdatesEnabled(false);
-
- int curdepth = 0;
- stack< pair< QListViewItem *, QListViewItem *> > istack;
- QListViewItem * last = 0;
- QListViewItem * parent = 0;
- QListViewItem * item;
-
- // Yes, it is this ugly. Two reasons - root items must have a QListView parent,
- // rather than QListViewItem; and the TOC can move in and out an arbitrary number
- // of levels
-
- for (vector< Buffer::TocItem >::const_iterator iter = toclist.begin();
- iter != toclist.end(); ++iter) {
- if (iter->depth == curdepth) {
- // insert it after the last one we processed
- if (!parent)
- item = (last) ? (new QListViewItem(dialog_->tree,last)) : (new QListViewItem(dialog_->tree));
- else
- item = (last) ? (new QListViewItem(parent,last)) : (new QListViewItem(parent));
- } else if (iter->depth > curdepth) {
- int diff = iter->depth - curdepth;
- // first save old parent and last
- while (diff--)
- istack.push(pair< QListViewItem *, QListViewItem * >(parent,last));
- item = (last) ? (new QListViewItem(last)) : (new QListViewItem(dialog_->tree));
- parent = last;
- } else {
- int diff = curdepth - iter->depth;
- pair< QListViewItem *, QListViewItem * > top;
- // restore context
- while (diff--) {
- top = istack.top();
- istack.pop();
- }
- parent = top.first;
- last = top.second;
- // insert it after the last one we processed
- if (!parent)
- item = (last) ? (new QListViewItem(dialog_->tree,last)) : (new QListViewItem(dialog_->tree));
- else
- item = (last) ? (new QListViewItem(parent,last)) : (new QListViewItem(parent));
- }
- lyxerr[Debug::GUI] << "Table of contents" << endl << "Added item " << iter->str.c_str()
- << " at depth " << iter->depth << ", previous sibling \"" << (last ? last->text(0) : "0")
- << "\", parent \"" << (parent ? parent->text(0) : "0") << "\"" << endl;
- item->setText(0,iter->str.c_str());
- item->setOpen(iter->depth < depth);
- curdepth = iter->depth;
- last = item;
- }
-
- dialog_->tree->setUpdatesEnabled(true);
- dialog_->tree->update();
-}
-
-
-void FormToc::setType(Buffer::TocType toctype)
-{
- type = toctype;
- switch (type) {
- case Buffer::TOC_TOC:
- dialog_->setCaption(_("Table of Contents"));
- dialog_->tree->setColumnText(0,_("Table of Contents"));
- dialog_->depth->setEnabled(true);
- break;
- case Buffer::TOC_LOF:
- dialog_->setCaption(_("List of Figures"));
- dialog_->tree->setColumnText(0,_("List of Figures"));
- dialog_->depth->setEnabled(false);
- break;
- case Buffer::TOC_LOT:
- dialog_->setCaption(_("List of Tables"));
- dialog_->tree->setColumnText(0,_("List of Tables"));
- dialog_->depth->setEnabled(false);
- break;
- case Buffer::TOC_LOA:
- dialog_->setCaption(_("List of Algorithms"));
- dialog_->tree->setColumnText(0,_("List of Algorithms"));
- dialog_->depth->setEnabled(false);
- break;
- }
-}
-
-
-void FormToc::set_depth(int newdepth)
-{
- if (newdepth != depth)
- updateToc(newdepth);
-}
-
-
-// we can safely ignore the parameter because we can always update
-void FormToc::update(bool)
-{
- if (params.getCmdName() == "tableofcontents") {
- setType(Buffer::TOC_TOC);
- dialog_->menu->setCurrentItem(0);
- } else if (params.getCmdName() == "listoffigures") {
- setType(Buffer::TOC_LOF);
- dialog_->menu->setCurrentItem(1);
- } else if (params.getCmdName() == "listoftables") {
- setType(Buffer::TOC_LOT);
- dialog_->menu->setCurrentItem(2);
- } else {
- setType(Buffer::TOC_LOA);
- dialog_->menu->setCurrentItem(3);
- }
-
- updateToc(depth);
-}
-
-
-void FormToc::select(char const * text)
-{
- if (!lv_->view()->available())
- return;
-
- vector <Buffer::TocItem>::const_iterator iter = toclist.begin();
- for (; iter != toclist.end(); ++iter) {
- if (iter->str == text)
- break;
- }
-
- if (iter == toclist.end()) {
- lyxerr[Debug::GUI] << "Couldn't find highlighted TOC entry : " << text << endl;
- return;
- }
-
- lv_->getLyXFunc()->Dispatch(LFUN_GOTO_PARAGRAPH, tostr(iter->par->id()).c_str());
-}
-
-
-void FormToc::set_type(Buffer::TocType toctype)
-{
- if (toctype == type)
- return;
-
- setType(toctype);
- updateToc(depth);
-}
-
-
-void FormToc::show()
-{
- if (!dialog_)
- dialog_ = new TocDialog(this, 0, _("LyX: Table of Contents"), false);
-
- if (!dialog_->isVisible()) {
- h_ = d_->hideBufferDependent.connect(slot(this, &FormToc::hide));
- u_ = d_->updateBufferDependent.connect(slot(this, &FormToc::update));
- }
-
- dialog_->raise();
- dialog_->setActiveWindow();
-
- update();
- dialog_->show();
-}
-
-
-void FormToc::close()
-{
- h_.disconnect();
- u_.disconnect();
- ih_.disconnect();
- inset_ = 0;
-}
-
-
-void FormToc::hide()
-{
- dialog_->hide();
- close();
-}
+++ /dev/null
-/**
- * \file FormToc.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMTOC_H
-#define FORMTOC_H
-
-#include "DialogBase.h"
-#include "LString.h"
-#include "boost/utility.hpp"
-#include "insets/insetcommand.h"
-#include "buffer.h"
-
-class Dialogs;
-class TocDialog;
-
-class FormToc : public DialogBase {
-public:
- FormToc(LyXView *, Dialogs *);
-
- ~FormToc();
-
- /// Selected a tree item
- void select(char const *);
- /// Choose which type
- void set_type(Buffer::TocType);
- /// Update the dialog.
- void update(bool = false);
- /// change the depth shown
- void set_depth(int);
- /// close the connections
- void close();
-
-private:
- /// Create the dialog if necessary, update it and display it.
- void show();
- /// Hide the dialog.
- void hide();
-
- /// create a Toc inset
- void createTOC(string const &);
- /// view a Toc inset
- void showTOC(InsetCommand * const);
-
- /// update the Toc
- void updateToc(int);
-
- /// set the type
- void setType(Buffer::TocType);
-
- /// Real GUI implementation.
- TocDialog * dialog_;
-
- /// the LyXView we belong to
- LyXView * lv_;
-
- /// Dialogs object
- Dialogs * d_;
-
- /// pointer to the inset if any
- InsetCommand * inset_;
- /// insets params
- InsetCommandParams params;
-
- /// Hide connection.
- SigC::Connection h_;
- /// Update connection.
- SigC::Connection u_;
- /// Inset hide connection.
- SigC::Connection ih_;
-
- /// the toc list
- std::vector <Buffer::TocItem> toclist;
-
- /// type currently being shown
- Buffer::TocType type;
-
- /// depth of list shown
- int depth;
-};
-
-#endif // FORMTOC_H
+++ /dev/null
-/**
- * \file FormUrl.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "ControlUrl.h"
-#include "FormUrl.h"
-#include "gettext.h"
-#include "urldlg.h"
-
-FormUrl::FormUrl(ControlUrl & c)
- : KFormBase<ControlUrl, UrlDialog>(c)
-{
-}
-
-
-void FormUrl::update()
-{
- dialog_->url->setText(controller().params().getContents().c_str());
- dialog_->urlname->setText(controller().params().getOptions().c_str());
-
- dialog_->htmlurl->setChecked(controller().params().getCmdName() != "url");
-}
-
-
-void FormUrl::apply()
-{
- controller().params().setContents(dialog_->url->text());
- controller().params().setOptions(dialog_->urlname->text());
-
- if (dialog_->htmlurl->isChecked())
- controller().params().setCmdName("htmlurl");
- else
- controller().params().setCmdName("url");
-}
-
-
-void FormUrl::build()
-{
- dialog_.reset(new UrlDialog(this, 0, _("LyX: Url"), false));
-
- bc().setOK(dialog_->buttonOk);
- bc().setCancel(dialog_->buttonCancel);
-
- bc().addReadOnly(dialog_->urlname);
- bc().addReadOnly(dialog_->url);
- bc().addReadOnly(dialog_->htmlurl);
-
-}
+++ /dev/null
-/**
- * \file FormUrl.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMURL_H
-#define FORMURL_H
-
-#include "KFormBase.h"
-
-class ControlUrl;
-class UrlDialog;
-
-class FormUrl : public KFormBase<ControlUrl, UrlDialog> {
-public:
- FormUrl(ControlUrl & c);
-
-private:
- /// apply dialog
- virtual void apply();
- /// build dialog
- virtual void build();
- /// update dialog
- virtual void update();
-};
-
-#endif // FORMURL_H
+++ /dev/null
-/**
- * \file FormVCLog.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include <fstream>
-
-#include "FormVCLog.h"
-#include "ControlVCLog.h"
-#include "vclogdlg.h"
-#include "gettext.h"
-
-using std::ifstream;
-using std::getline;
-
-FormVCLog::FormVCLog(ControlVCLog & c)
- : KFormBase<ControlVCLog, VCLogDialog>(c)
-{
-}
-
-
-void FormVCLog::update()
-{
- const string logfile = controller().logfile();
-
- // FIXME
- //dialog_->setCaption(string(_("Version control log for ") + controller().filename()).c_str());
-
- dialog_->setLogText("");
-
- ifstream ifstr(logfile.c_str());
- if (!ifstr) {
- dialog_->setLogText(_("No version control log file found"));
- // lyx::unlink(logfile);
- return;
- }
-
- string text;
- string line;
-
- while (getline(ifstr, line))
- text += line + "\n";
-
- dialog_->setLogText(text);
-
- //lyx::unlink(logfile);
-}
-
-
-void FormVCLog::build()
-{
- dialog_.reset(new VCLogDialog(this, 0, _("LyX: Version Control Log")));
-
- bc().setCancel(dialog_->button_cancel);
-}
+++ /dev/null
-/**
- * \file FormVCLog.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef FORMVCLOG_H
-#define FORMVCLOG_H
-
-#include "KFormBase.h"
-
-class ControlVCLog;
-class VCLogDialog;
-
-class FormVCLog : public KFormBase<ControlVCLog, VCLogDialog> {
-public:
- FormVCLog(ControlVCLog & c);
-
- /// update the dialog
- virtual void update();
-
- /// apply
- virtual void apply() {};
-
- /// build dialog
- virtual void build();
-};
-
-#endif // FORMVCLOG_H
+++ /dev/null
-/**
- * \file GUIRunTime.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author Jürgen Vigna
- */
-
-#include <config.h>
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include "GUIRunTime.h"
-#include "debug.h"
-
-#include <kapp.h>
-
-#include FORMS_H_LOCATION
-
-using std::endl;
-
-// tell me again why this test is cluttering up the source rather than
-// being in lyxinclude.m4 ? - jbl
-#if !defined(FL_REVISION) || FL_REVISION < 88 || FL_VERSION != 0
-#error LyX will not compile with this version of XForms.\
- Please get version 0.89.\
- If you want to try to compile anyway, delete this test in src/frontends/kde/GUIRunTime.C.
-#endif
-
-extern bool finished;
-
-namespace {
-
-int const xforms_include_version = FL_INCLUDE_VERSION;
-
-} // namespace anon
-
-
-int GUIRunTime::initApplication(int argc, char * argv[])
-{
- // same here, this is clearly a configure-time test - jbl
- int xforms_lib_version = fl_library_version(0, 0);
- if (xforms_include_version != xforms_lib_version) {
- lyxerr << "You are either running LyX with wrong "
- "version of a dynamic XForms library\n"
- "or you have build LyX with conflicting header "
- "and library (different\n"
- "versions of XForms. Sorry but there is no point "
- "in continuing executing LyX!" << endl;
- return 1;
- }
-
- // I belive this is done in the wrong place, imo this should
- // be done in lyx_gui.C similar to how/where xforms does it (Lgb)
- static KApplication a(argc, argv);
-
- return 0;
-}
-
-
-void GUIRunTime::processEvents()
-{
- kapp->processEvents();
-}
-
-
-void GUIRunTime::runTime()
-{
- // We still use xforms event handler as the main one...
- XEvent ev;
- while (!finished) {
- processEvents();
- if (fl_check_forms() == FL_EVENT) {
- lyxerr << "LyX: This shouldn't happen..." << endl;
- fl_XNextEvent(&ev);
- }
- }
-}
-
-
-void GUIRunTime::setDefaults()
-{
- FL_IOPT cntl;
- cntl.buttonFontSize = FL_NORMAL_SIZE;
- cntl.browserFontSize = FL_NORMAL_SIZE;
- cntl.labelFontSize = FL_NORMAL_SIZE;
- cntl.choiceFontSize = FL_NORMAL_SIZE;
- cntl.inputFontSize = FL_NORMAL_SIZE;
- cntl.menuFontSize = FL_NORMAL_SIZE;
- cntl.borderWidth = -1;
- cntl.vclass = FL_DefaultVisual;
- fl_set_defaults(FL_PDVisual
- | FL_PDButtonFontSize
- | FL_PDBrowserFontSize
- | FL_PDLabelFontSize
- | FL_PDChoiceFontSize
- | FL_PDInputFontSize
- | FL_PDMenuFontSize
- | FL_PDBorderWidth, &cntl);
-}
+++ /dev/null
-/**
- * \file KDEFormBase.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include "Dialogs.h"
-#include "KFormBase.h"
-#include "ControlButtons.h"
-
-#include <qdialog.h>
-
-KFormDialogBase::KFormDialogBase(ControlButtons & c)
- : ViewBC<kdeBC>(c)
-{
-}
-
-
-void KFormDialogBase::show()
-{
- if (!dialog())
- build();
-
- bc().refresh();
-
- update();
-
- dialog()->raise();
- dialog()->setActiveWindow();
- dialog()->show();
-}
-
-
-void KFormDialogBase::hide()
-{
- if (dialog()->isVisible())
- dialog()->hide();
-}
+++ /dev/null
-/**
- * \file KDEFormBase.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef KDEFORMBASE_H
-#define KDEFORMBASE_H
-
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "boost/smart_ptr.hpp"
-
-#include "ViewBase.h"
-#include "ButtonPolicies.h"
-#include "kdeBC.h"
-
-class QWidget;
-
-class KFormDialogBase : public ViewBC<kdeBC> {
-public:
- ///
- KFormDialogBase(ControlButtons & c);
-
- // Functions accessible to the Controller
-
- /// build dialog
- virtual void build() = 0;
- /// create dialog if necessary, update and display
- void show();
- /// hide dialog
- virtual void hide();
-
-private:
- /// get dialog
- virtual QWidget * dialog() const = 0;
-};
-
-template <class Controller, class Dialog>
- class KFormBase : public KFormDialogBase {
-public:
- ///
- KFormBase(ControlButtons & c);
-
-protected:
- /// parent controller
- Controller & controller() const;
-
- /// get dialog
- virtual QWidget * dialog() const { return dialog_.get(); };
-
- /// dialog implemenation
- boost::scoped_ptr<Dialog> dialog_;
-};
-
-template <class Controller, class Dialog>
- KFormBase<Controller, Dialog>::KFormBase(ControlButtons & c)
- : KFormDialogBase(c)
-{
-}
-
-
-template <class Controller, class Dialog>
- Controller & KFormBase<Controller, Dialog>::controller() const
-{
- return static_cast<Controller &>(controller_);
-}
-
-
-#endif // KDEFORMBASE_H
+++ /dev/null
-AUTOMAKE_OPTIONS = foreign 1.4
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
-noinst_LTLIBRARIES = libkde.la
-BOOST_INCLUDES = -I$(top_srcdir)/boost
-SUBDIRS = dlg moc
-INCLUDES = -I${top_srcdir}/src/ \
- -I${top_srcdir}/src/frontends/ \
- -I${top_srcdir}/src/frontends/controllers \
- ${SIGC_CFLAGS} ${FRONTEND_INCLUDES} $(BOOST_INCLUDES) \
- -I${top_srcdir}/src/frontends/xforms
-
-DISTCLEANFILES = $(BUILTSOURCES) *.orig *.rej *~ *.bak core
-
-libkde_la_DEPENDENCIES = moc/libkdemoc.la dlg/libkdedlg.la dlg/moc/libkdedlgmoc.la
-
-libkde_la_OBJADD = \
- moc/libkdemoc.la \
- dlg/libkdedlg.la \
- dlg/moc/libkdedlgmoc.la \
- ../xforms/FormBaseDeprecated.lo \
- ../xforms/FormBase.lo \
- ../xforms/FormBibitem.lo \
- ../xforms/form_bibitem.lo \
- ../xforms/FormBibtex.lo \
- ../xforms/form_bibtex.lo \
- ../xforms/FormCharacter.lo \
- ../xforms/form_character.lo \
- ../xforms/FormCredits.lo \
- ../xforms/form_credits.lo \
- ../xforms/FormError.lo \
- ../xforms/form_error.lo \
- ../xforms/FormExternal.lo \
- ../xforms/form_external.lo \
- ../xforms/FormGraphics.lo \
- ../xforms/form_graphics.lo \
- ../xforms/FormInclude.lo \
- ../xforms/form_include.lo \
- ../xforms/FormInset.lo \
- ../xforms/FormMathsBitmap.lo \
- ../xforms/FormMathsDeco.lo \
- ../xforms/form_maths_deco.lo \
- ../xforms/FormMathsDelim.lo \
- ../xforms/form_maths_delim.lo \
- ../xforms/FormMathsMatrix.lo \
- ../xforms/form_maths_matrix.lo \
- ../xforms/FormMathsPanel.lo \
- ../xforms/form_maths_panel.lo \
- ../xforms/FormMathsSpace.lo \
- ../xforms/form_maths_space.lo \
- ../xforms/FormMinipage.lo \
- ../xforms/form_minipage.lo \
- ../xforms/FormPreamble.lo \
- ../xforms/form_preamble.lo \
- ../xforms/FormPreferences.lo \
- ../xforms/form_preferences.lo \
- ../xforms/FormSearch.lo \
- ../xforms/form_search.lo \
- ../xforms/FormSplash.lo \
- ../xforms/form_splash.lo \
- ../xforms/FormTabular.lo \
- ../xforms/form_tabular.lo \
- ../xforms/MathsSymbols.lo \
- ../xforms/xformsBC.lo \
- ../xforms/bmtable.lo \
- ../xforms/Color.lo \
- ../xforms/combox.lo \
- ../xforms/xforms_helpers.lo \
- ../xforms/input_validators.lo \
- ../xforms/RadioButtonGroup.lo \
- ../xforms/Toolbar_pimpl.lo \
- ../xforms/Menubar_pimpl.lo
-
-LIBS=
-LDFLAGS= $(libkde_la_OBJADD)
-ETAGS_ARGS = --lang=c++
-libkde_la_SOURCES = \
- Dialogs.C \
- FileDialog.C \
- FileDialog_private.C \
- FileDialog_private.h \
- GUIRunTime.C \
- QtLyXView.h \
- Timeout_pimpl.C \
- Timeout_pimpl.h \
- kdeBC.C \
- kdeBC.h \
- KFormBase.C \
- KFormBase.h \
- FormCitation.C \
- FormCitation.h \
- FormCopyright.C \
- FormCopyright.h \
- FormDocument.C \
- FormDocument.h \
- FormIndex.C \
- FormIndex.h \
- FormLog.C \
- FormLog.h \
- FormParagraph.C \
- FormParagraph.h \
- FormPrint.C \
- FormPrint.h \
- FormRef.C \
- FormRef.h \
- FormTabularCreate.C \
- FormTabularCreate.h \
- FormUrl.C \
- FormUrl.h \
- FormVCLog.C \
- FormVCLog.h \
- citationdlg.C \
- citationdlg.h \
- copyrightdlg.C \
- copyrightdlg.h \
- docdlg.C \
- docdlg.h \
- indexdlg.C \
- indexdlg.h \
- logdlg.C \
- logdlg.h \
- paradlg.C \
- paradlg.h \
- parageneraldlg.C \
- parageneraldlg.h \
- paraextradlg.C \
- paraextradlg.h \
- printdlg.C \
- printdlg.h \
- refdlg.C \
- refdlg.h \
- tabcreatedlg.C \
- tabcreatedlg.h \
- urldlg.C \
- urldlg.h \
- vclogdlg.C \
- vclogdlg.h
-
-# FIXME
-# FormToc.C \
-# FormToc.h \
-# tocdlg.C \
-# tocdlg.h \
-
-moc/FileDialog_private_moc.C: FileDialog_private.C FileDialog_private.h
-moc/citationdlg_moc.C: citationdlg.C citationdlg.h
-moc/copyrightdlg_moc.C: copyrightdlg.C copyrightdlg.h
-moc/docdlg_moc.C: docdlg.C docdlg.h
-moc/logdlg_moc.C: logdlg.C logdlg.h
-moc/indexdlg_moc.C: indexdlg.C indexdlg.h
-moc/paradlg_moc.C: paradlg.C paradlg.h
-moc/parageneraldlg_moc.C: parageneraldlg.C parageneraldlg.h
-moc/paraextradlg_moc.C: paraextradlg.C paraextradlg.h
-moc/printdlg_moc.C: printdlg.C printdlg.h
-moc/refdlg_moc.C: refdlg.C refdlg.h
-moc/tabcreatedlg_moc.C: tabcreatedlg.C tabcreatedlg.h
-moc/tocdlg_moc.C: tocdlg.C tocdlg.h
-moc/urldlg_moc.C: urldlg.C urldlg.h
-moc/vclogdlg_moc.C: vclogdlg.C vclogdlg.h
+++ /dev/null
-/**
- * \file QtLyXView.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-/* Qt has a messy namespace which conflicts with 'emit' in
- * Timeout. Yep, they #define emit to nothing.
- */
-#undef emit
-#include "LyXView.h"
+++ /dev/null
-/**
- * \file Timeout_pimpl.C
- * Copyright 2001 LyX Team
- * Read COPYING
- *
- * \author John Levon
- */
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include <config.h>
-
-#include "Timeout_pimpl.h"
-#include "debug.h"
-
-using std::endl;
-
-Timeout::Pimpl::Pimpl(Timeout * owner)
- : owner_(owner), timeout_id(-1)
-{
-}
-
-
-void Timeout::Pimpl::timerEvent(QTimerEvent *)
-{
- owner_->emit();
-}
-
-
-void Timeout::Pimpl::reset()
-{
- killTimers();
- timeout_id = -1;
-}
-
-
-void Timeout::Pimpl::start()
-{
- if (timeout_id != -1)
- lyxerr << "Timeout::start: already running!" << endl;
- timeout_id = startTimer(owner_->timeout_ms);
-}
-
-
-void Timeout::Pimpl::stop()
-{
- if (timeout_id != -1)
- reset();
-}
+++ /dev/null
-/**
- * \file Timeout_pimpl.h
- * Copyright 2001 LyX Team
- * Read COPYING
- *
- * \author John Levon
- */
-#ifndef TIMEOUTPIMPL_H
-#define TIMEOUTPIMPL_H
-
-#include <config.h>
-
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "frontends/Timeout.h"
-
-#include <sigc++/signal_system.h>
-
-#include <qobject.h>
-// stupid Qt
-#undef emit
-
-/**
- * This class executes the callback when the timeout expires
- * using Qt mechanisms
- */
-struct Timeout::Pimpl : QObject {
-public:
- ///
- Pimpl(Timeout *owner_);
- /// start the timer
- void start();
- /// stop the timer
- void stop();
- /// reset
- void reset();
-
-protected:
- /// slot
- virtual void timerEvent(QTimerEvent *);
-private:
- /// the owning timer
- Timeout * owner_;
- /// xforms id
- int timeout_id;
-};
-
-#endif
+++ /dev/null
-/**
- * \file citationdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include <gettext.h>
-
-#include "FormCitation.h"
-#include "citationdlg.h"
-
-#include <qtooltip.h>
-
-CitationDialog::CitationDialog(FormCitation * f, QWidget * p, char const * name)
- : CitationDialogData(p, name), form_(f)
-{
- setCaption(name);
-
- // tooltips
-
- QToolTip::add(button_add, _("Add reference to current citation"));
- QToolTip::add(button_remove, _("Remove reference from current citation"));
- QToolTip::add(button_up, _("Move reference before"));
- QToolTip::add(button_down, _("Move reference after"));
- QToolTip::add(line_after, _("Text to add after references"));
- QToolTip::add(line_details, _("Reference details"));
- QToolTip::add(button_search, _("Search through references"));
- QToolTip::add(list_available, _("Available references"));
- QToolTip::add(list_chosen, _("Current chosen references"));
-
- line_details->setMinimumHeight(30);
-
- setMinimumSize(200, 65);
-}
-
-
-void CitationDialog::clicked_search()
-{
- // FIXME
-}
-
-
-void CitationDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file citationdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef CITATIONDIALOG_H
-#define CITATIONDIALOG_H
-
-#include "FormCitation.h"
-#include "dlg/citationdlgdata.h"
-#include "controllers/ButtonPolicies.h"
-
-class CitationDialog : public CitationDialogData
-{
- Q_OBJECT
-
-public:
- CitationDialog(FormCitation * form, QWidget * parent = 0, char const * name = 0);
-
-private slots:
- virtual void clicked_ok() { form_->OKButton(); };
- virtual void clicked_apply() { form_->ApplyButton(); };
- virtual void clicked_restore() { form_->RestoreButton(); form_->updateButtons(); };
- virtual void clicked_cancel() { form_->CancelButton(); };
-
- virtual void clicked_add() {
- form_->bc().input(form_->add());
- form_->updateButtons();
- }
-
- virtual void clicked_up() {
- form_->bc().input(form_->up());
- form_->updateButtons();
- }
-
- virtual void clicked_down() {
- form_->bc().input(form_->down());
- form_->updateButtons();
- }
-
- virtual void clicked_remove() {
- form_->bc().input(form_->remove());
- form_->updateButtons();
- }
-
- virtual void clicked_search();
-
- virtual void select_available_adaptor(const char * key) {
- form_->bc().input(form_->select_key(key));
- form_->updateButtons();
- }
-
- virtual void highlight_available_adaptor(const char * key) {
- form_->highlight_key(key);
- }
-
- virtual void highlight_chosen_adaptor(const char * key) {
- form_->highlight_chosen(key);
- }
-
- virtual void after_changed(const char *) {
- form_->bc().valid(true);
- form_->updateButtons();
- }
-
-protected slots:
- virtual void closeEvent(QCloseEvent *e);
-
-private:
- FormCitation * form_;
-
-};
-#endif // CITATIONDIALOG_H
+++ /dev/null
-/**
- * \file copyrightdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "FormCopyright.h"
-#include "copyrightdlg.h"
-
-CopyrightDialog::CopyrightDialog(FormCopyright * f, QWidget * parent, char const * name)
- : CopyrightDialogData(parent, name), form_(f)
-{
- setCaption(name);
-}
-
-
-CopyrightDialog::~CopyrightDialog()
-{
-}
-
-
-void CopyrightDialog::clickedOK()
-{
- form_->OKButton();
-}
-
-
-void CopyrightDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file copyrightdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef COPYRIGHTDIALOG_H
-#define COPYRIGHTDIALOG_H
-
-#include "dlg/copyrightdlgdata.h"
-
-class FormCopyright;
-
-class CopyrightDialog : public CopyrightDialogData
-{
- Q_OBJECT
-
-public:
- CopyrightDialog (FormCopyright * f, QWidget * parent = NULL, char const * name = NULL);
-
- virtual ~CopyrightDialog();
-
-protected slots:
-
- virtual void clickedOK();
- virtual void closeEvent(QCloseEvent * e);
-
-private:
- FormCopyright * form_;
-};
-
-#endif // COPYRIGHTDIALOG_H
+++ /dev/null
-Makefile.in
-Makefile
-*.deps
-*.lo
-.libs
-libkdedlg.la
-*moc.C
+++ /dev/null
-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 = citationdlgdata.C \
- citationdlgdata.h \
- copyrightdlgdata.C \
- copyrightdlgdata.h \
- docdlgdata.C \
- docdlgdata.h \
- docsettingsdlgdata.C \
- docsettingsdlgdata.h \
- docgeometrydlgdata.C \
- docgeometrydlgdata.h \
- doclanguagedlgdata.C \
- doclanguagedlgdata.h \
- docextradlgdata.C \
- docextradlgdata.h \
- docbulletsdlgdata.C \
- docbulletsdlgadat.h \
- indexdlgdata.C \
- indexdlgdata.h \
- logdlgdata.C \
- logdlgdata.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 \
- lengthentry.C \
- lengthentry.h \
- helpers.h \
- helpers.C \
- $(GENSOURCES)
-
-moc/citationdlgdata_moc.C: citationdlgdata.C citationdlgdata.h
-moc/copyrightdlgdata_moc.C: copyrightdlgdata.C copyrightdlgdata.h
-moc/docdlgdata_moc.C: docdlgdata.C docdlgdata.h
-moc/docsettingsdlgdata_moc.C: docsettingsdlgdata.C docsettingsdlgdata.h
-moc/docgeometrydlgdata_moc.C: docgeometrydlgdata.C docgeometrydlgdata.h
-moc/doclanguagedlgdata_moc.C: doclanguagedlgdata.C doclanguagedlgdata.h
-moc/docextradlgdata_moc.C: docextradlgdata.C docextradlgdata.h
-moc/docbulletsdlgdata_moc.C: docbulletsdlgdata.C docbulletsdlgdata.h
-moc/emptytable_moc.C: emptytable.C emptytable.h
-moc/indexdlgdata_moc.C: indexdlgdata.C indexdlgdata.h
-moc/logdlgdata_moc.C: logdlgdata.C logdlgdata.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
-moc/lengthentry_moc.C: lengthentry.C lengthentry.h
+++ /dev/null
-These files are generated with qtarch-1.4-5 which can be downloaded
-from
-
-http://qtarch.sourceforge.net/
-
-Currently you also need this patch :
-http://www.movement.uklinux.net/patches/lyx/qtarch-1.4.6.diff
-
-Eventually the intent is to fold this patch into the official qtarch and
-release a qtarch-1.4-6 tarball.
-
-Note this is *not* the latest version, as they only support Qt 2.
-
-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,
-and then you can add the .so library file in the qtarch GUI.
-
-The files in this and the kde/ directory have the following naming
-scheme :
-
-random.dlg - the dlg file for qtarch
-FormRandom.[Ch] - LyX's notion of the dialog, real implementation modified
- via functions only
-randomdlg.[Ch] - Derived Qt class, edited by hand. The interface between widgets
- and LyX FormRandom file
-randomdlgdata.[Ch] - qtarch-generated files, not to be touched by human hands
-
-The class names are FormRandom, RandomDialog, and RandomDialogData
-
-Note that the .dlg files have no entries for the derived class header and source
-filenames. This is because these files have to be edited by hand and should only
-be generated once (and they belong in the parent directory, not dlg/). The
-className field, though, has a special meaning. If it is blank, then qtarch
-will assume there is no derived class defined at all. Currently this has the effect
-of making mapped variables public access. If there is a name, then it assumes that
-a derived class exists, and leaves mapped variables protected. It's done like
-this to avoid the rat's nest of friend declarations and un-necessary derived classes,
-and because the new MVC architecture needs direct access to buttons etc.
-
-There is a naming scheme for any variabled widgets, similar to the xforms frontend :
-
-buttons - button_
-spinboxen - spin_
-tabstack - tabstack
-comboboxen - combo_
-checkboxen - check_
-lengthentry - length_
-radio buttons - radio_
-line edits - line_
-emptytable - table
-list box - list_
-
-Some tips and guidelines for qtarch and the KDE frontend :
-
-o the default button should be the one that causes least harm, unless
- the action can be undone. So Print should default to cancel, whereas
- insert index entry can be undone, so should default to OK
-
-o the dialog should derive from QWidget (set in Properties)
-
-o the dialog should always have the gettext option set
-
-o give every widget a name - useful for the geometry layouts later
-
-o don't bother setting min/max sizes for anything, but do set the size Hint
- stuff appropriately. e.g. QLineEdit's should have a max height specified by
- size Hint, but variable width
-
-o if you map a variable make it the same as the widget name
-
-o radio groups are done automagically based on positioning
-
-o grid units are 5 pixels
-
-o set alignment before placing a widget inside a layout, it doesn't seem to
- update properly. Alternatively you can just edit the .dlg file directly
-
-o push buttons are arranged symmetrically across the dialog e.g.
- <1 stretch> <button> <2 stretch> <button> <2 stretch> <button> <1 stretch>
-
-o for GroupBox and similar, you set the children in the layout manager
-
-o do the geometry layouts last. you cannot alter the geometry of widgets
- whilst they're being managed which makes any settings a pain, which
- are useful mainly while editing the dialog in qtarch
-
-o remember tab order, and keyboard access in general. Tab order is decided by
- instantation order of each widget, NOT the heirarchical layout. This translates
- to ordering the widget descriptions in the qtarch .dlg file correctly.
-
-o when doing layout, add all the layouts before any of the widgets otherwise
- qtarch has a tendency to get confused
-
-o qtarch can produce code that initialises stuff in the wrong order.
- This is nasty, but usually dumps core so is noticable. Either way, the
- cheesy perl script checkinitorder.pl will verify the produced files for
- you - if it complains you need to hack the .dlg file to re-arrange the order.
-
- - jbl
+++ /dev/null
-#! /usr/bin/perl -w
-
-# this is a corny script to check that qtarch hasn't fscked up
-# the initialisation order of the widgets. perl hackers are free
-# to improve this
-
-# usage: dlg/checkinitorder.pl *data.C
-
-$found{"this"} = 1;
-$found{"FALSE"} = 1;
-while (<>) {
- # yes, this is a broken regexp, but the sources are machine generated
- if (/= new / && ! /Layout/) {
- ( $varname, $parent) = split('=');
- # print "$varname: $parent";
- $varname =~ s/^\s*//;
- $varname =~ s/\s*$//;
- $found{$varname} = 1;
- $parent =~ s/^.*\(\s*//;
- $parent =~ s/\s*,.*$//;
- chomp($parent);
- if (!defined($found{$parent})) {
- print "Widget $varname constructed with ",
- "uninitialised parent $parent !\n";
- }
- }
-};
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: citationdlgdata.C
- Last generated: Tue Apr 3 00:57:49 2001
-
- 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 "citationdlgdata.h"
-
-#define Inherited QDialog
-
-#include <qlabel.h>
-
-CitationDialogData::CitationDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, FALSE, 53248 )
-{
- button_ok = new QPushButton( this, "button_ok" );
- button_ok->setGeometry( 51, 379, 47, 56 );
- button_ok->setMinimumSize( 0, 0 );
- button_ok->setMaximumSize( 32767, 32767 );
- connect( button_ok, SIGNAL(clicked()), SLOT(clicked_ok()) );
- button_ok->setFocusPolicy( QWidget::TabFocus );
- button_ok->setBackgroundMode( QWidget::PaletteBackground );
- button_ok->setFontPropagation( QWidget::NoChildren );
- button_ok->setPalettePropagation( QWidget::NoChildren );
- button_ok->setText( _("&OK") );
- button_ok->setAutoRepeat( false );
- button_ok->setAutoResize( false );
- button_ok->setToggleButton( false );
- button_ok->setDefault( false );
- button_ok->setAutoDefault( true );
- button_ok->setIsMenuButton( false );
-
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 483, 379, 46, 56 );
- button_cancel->setMinimumSize( 0, 0 );
- button_cancel->setMaximumSize( 32767, 32767 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(clicked_cancel()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Cancel") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( false );
- button_cancel->setAutoDefault( false );
- button_cancel->setIsMenuButton( false );
-
- button_apply = new QPushButton( this, "button_apply" );
- button_apply->setGeometry( 195, 379, 46, 56 );
- button_apply->setMinimumSize( 0, 0 );
- button_apply->setMaximumSize( 32767, 32767 );
- connect( button_apply, SIGNAL(clicked()), SLOT(clicked_apply()) );
- button_apply->setFocusPolicy( QWidget::TabFocus );
- button_apply->setBackgroundMode( QWidget::PaletteBackground );
- button_apply->setFontPropagation( QWidget::NoChildren );
- button_apply->setPalettePropagation( QWidget::NoChildren );
- button_apply->setText( _("&Apply") );
- button_apply->setAutoRepeat( false );
- button_apply->setAutoResize( false );
- button_apply->setToggleButton( false );
- button_apply->setDefault( false );
- button_apply->setAutoDefault( true );
- button_apply->setIsMenuButton( false );
-
- button_restore = new QPushButton( this, "button_restore" );
- button_restore->setGeometry( 339, 379, 46, 56 );
- button_restore->setMinimumSize( 0, 0 );
- button_restore->setMaximumSize( 32767, 32767 );
- connect( button_restore, SIGNAL(clicked()), SLOT(clicked_restore()) );
- button_restore->setFocusPolicy( QWidget::TabFocus );
- button_restore->setBackgroundMode( QWidget::PaletteBackground );
- button_restore->setFontPropagation( QWidget::NoChildren );
- button_restore->setPalettePropagation( QWidget::NoChildren );
- button_restore->setText( _("&Restore") );
- button_restore->setAutoRepeat( false );
- button_restore->setAutoResize( false );
- button_restore->setToggleButton( false );
- button_restore->setDefault( false );
- button_restore->setAutoDefault( true );
- button_restore->setIsMenuButton( false );
-
- list_chosen = new QListBox( this, "list_chosen" );
- list_chosen->setGeometry( 79, 5, 209, 233 );
- list_chosen->setMinimumSize( 0, 0 );
- list_chosen->setMaximumSize( 32767, 32767 );
- connect( list_chosen, SIGNAL(highlighted(const char*)), SLOT(highlight_chosen_adaptor(const char*)) );
- list_chosen->setFocusPolicy( QWidget::StrongFocus );
- list_chosen->setBackgroundMode( QWidget::PaletteBase );
- list_chosen->setFontPropagation( QWidget::SameFont );
- list_chosen->setPalettePropagation( QWidget::SameFont );
- list_chosen->setFrameStyle( 51 );
- list_chosen->setLineWidth( 2 );
- list_chosen->setMidLineWidth( 0 );
- list_chosen->QFrame::setMargin( 0 );
- list_chosen->setDragSelect( true );
- list_chosen->setAutoScroll( true );
- list_chosen->setScrollBar( false );
- list_chosen->setAutoScrollBar( true );
- list_chosen->setBottomScrollBar( false );
- list_chosen->setAutoBottomScrollBar( true );
- list_chosen->setSmoothScrolling( true );
- list_chosen->setMultiSelection( false );
- list_chosen->setAutoUpdate( true );
-
- list_available = new QListBox( this, "list_available" );
- list_available->setGeometry( 367, 5, 208, 233 );
- list_available->setMinimumSize( 0, 0 );
- list_available->setMaximumSize( 32767, 32767 );
- connect( list_available, SIGNAL(highlighted(const char*)), SLOT(highlight_available_adaptor(const char*)) );
- connect( list_available, SIGNAL(selected(const char*)), SLOT(select_available_adaptor(const char*)) );
- list_available->setFocusPolicy( QWidget::StrongFocus );
- list_available->setBackgroundMode( QWidget::PaletteBase );
- list_available->setFontPropagation( QWidget::SameFont );
- list_available->setPalettePropagation( QWidget::SameFont );
- list_available->setFrameStyle( 51 );
- list_available->setLineWidth( 2 );
- list_available->setMidLineWidth( 0 );
- list_available->QFrame::setMargin( 0 );
- list_available->setDragSelect( true );
- list_available->setAutoScroll( true );
- list_available->setScrollBar( false );
- list_available->setAutoScrollBar( true );
- list_available->setBottomScrollBar( false );
- list_available->setAutoBottomScrollBar( true );
- list_available->setSmoothScrolling( true );
- list_available->setMultiSelection( false );
- list_available->setAutoUpdate( true );
-
- button_down = new QPushButton( this, "button_down" );
- button_down->setGeometry( 5, 86, 69, 76 );
- button_down->setMinimumSize( 0, 0 );
- button_down->setMaximumSize( 32767, 32767 );
- connect( button_down, SIGNAL(clicked()), SLOT(clicked_down()) );
- button_down->setFocusPolicy( QWidget::TabFocus );
- button_down->setBackgroundMode( QWidget::PaletteBackground );
- button_down->setFontPropagation( QWidget::NoChildren );
- button_down->setPalettePropagation( QWidget::NoChildren );
- button_down->setText( _("&Down") );
- button_down->setAutoRepeat( false );
- button_down->setAutoResize( false );
- button_down->setToggleButton( false );
- button_down->setDefault( false );
- button_down->setAutoDefault( true );
- button_down->setIsMenuButton( false );
-
- button_remove = new QPushButton( this, "button_remove" );
- button_remove->setGeometry( 293, 66, 69, 56 );
- button_remove->setMinimumSize( 0, 0 );
- button_remove->setMaximumSize( 32767, 32767 );
- connect( button_remove, SIGNAL(clicked()), SLOT(clicked_remove()) );
- button_remove->setFocusPolicy( QWidget::TabFocus );
- button_remove->setBackgroundMode( QWidget::PaletteBackground );
- button_remove->setFontPropagation( QWidget::NoChildren );
- button_remove->setPalettePropagation( QWidget::NoChildren );
- button_remove->setText( _("&Remove") );
- button_remove->setAutoRepeat( false );
- button_remove->setAutoResize( false );
- button_remove->setToggleButton( false );
- button_remove->setDefault( false );
- button_remove->setAutoDefault( true );
- button_remove->setIsMenuButton( false );
-
- button_up = new QPushButton( this, "button_up" );
- button_up->setGeometry( 5, 5, 69, 76 );
- button_up->setMinimumSize( 0, 0 );
- button_up->setMaximumSize( 32767, 32767 );
- connect( button_up, SIGNAL(clicked()), SLOT(clicked_up()) );
- button_up->setFocusPolicy( QWidget::TabFocus );
- button_up->setBackgroundMode( QWidget::PaletteBackground );
- button_up->setFontPropagation( QWidget::NoChildren );
- button_up->setPalettePropagation( QWidget::NoChildren );
- button_up->setText( _("&Up") );
- button_up->setAutoRepeat( false );
- button_up->setAutoResize( false );
- button_up->setToggleButton( false );
- button_up->setDefault( false );
- button_up->setAutoDefault( true );
- button_up->setIsMenuButton( false );
-
- button_add = new QPushButton( this, "button_add" );
- button_add->setGeometry( 293, 5, 69, 56 );
- button_add->setMinimumSize( 0, 0 );
- button_add->setMaximumSize( 32767, 32767 );
- connect( button_add, SIGNAL(clicked()), SLOT(clicked_add()) );
- button_add->setFocusPolicy( QWidget::TabFocus );
- button_add->setBackgroundMode( QWidget::PaletteBackground );
- button_add->setFontPropagation( QWidget::NoChildren );
- button_add->setPalettePropagation( QWidget::NoChildren );
- button_add->setText( _("&Add") );
- button_add->setAutoRepeat( false );
- button_add->setAutoResize( false );
- button_add->setToggleButton( false );
- button_add->setDefault( false );
- button_add->setAutoDefault( true );
- button_add->setIsMenuButton( false );
-
- QLabel* qtarch_label_after;
- qtarch_label_after = new QLabel( this, "label_after" );
- qtarch_label_after->setGeometry( 5, 271, 283, 15 );
- qtarch_label_after->setMinimumSize( 0, 15 );
- qtarch_label_after->setMaximumSize( 32767, 15 );
- qtarch_label_after->setFocusPolicy( QWidget::NoFocus );
- qtarch_label_after->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_label_after->setFontPropagation( QWidget::NoChildren );
- qtarch_label_after->setPalettePropagation( QWidget::NoChildren );
- qtarch_label_after->setFrameStyle( 0 );
- qtarch_label_after->setLineWidth( 1 );
- qtarch_label_after->setMidLineWidth( 0 );
- qtarch_label_after->QFrame::setMargin( 0 );
- qtarch_label_after->setText( _("Text after : ") );
- qtarch_label_after->setAlignment( 289 );
- qtarch_label_after->setMargin( -1 );
-
- line_after = new QLineEdit( this, "line_after" );
- line_after->setGeometry( 293, 243, 282, 71 );
- line_after->setMinimumSize( 0, 0 );
- line_after->setMaximumSize( 32767, 32767 );
- connect( line_after, SIGNAL(textChanged(const char*)), SLOT(after_changed(const char*)) );
- line_after->setFocusPolicy( QWidget::StrongFocus );
- line_after->setBackgroundMode( QWidget::PaletteBase );
- line_after->setFontPropagation( QWidget::NoChildren );
- line_after->setPalettePropagation( QWidget::NoChildren );
- line_after->setText( "" );
- line_after->setMaxLength( 32767 );
- line_after->setFrame( QLineEdit::Normal );
- line_after->setFrame( true );
-
- line_details = new QMultiLineEdit( this, "line_details" );
- line_details->setGeometry( 5, 319, 570, 55 );
- line_details->setMinimumSize( 0, 0 );
- line_details->setMaximumSize( 32767, 32767 );
- line_details->setFocusPolicy( QWidget::StrongFocus );
- line_details->setBackgroundMode( QWidget::PaletteBase );
- line_details->setFontPropagation( QWidget::SameFont );
- line_details->setPalettePropagation( QWidget::SameFont );
- line_details->setFrameStyle( 51 );
- line_details->setLineWidth( 2 );
- line_details->setMidLineWidth( 0 );
- line_details->QFrame::setMargin( 0 );
- line_details->insertLine( "" );
- line_details->setReadOnly( true );
- line_details->setOverwriteMode( false );
- line_details->setAutoUpdate( true );
-
- button_search = new QPushButton( this, "button_search" );
- button_search->setGeometry( 293, 127, 69, 55 );
- button_search->setMinimumSize( 0, 0 );
- button_search->setMaximumSize( 32767, 32767 );
- connect( button_search, SIGNAL(clicked()), SLOT(clicked_search()) );
- button_search->setFocusPolicy( QWidget::TabFocus );
- button_search->setBackgroundMode( QWidget::PaletteBackground );
- button_search->setFontPropagation( QWidget::NoChildren );
- button_search->setPalettePropagation( QWidget::NoChildren );
- button_search->setText( _("&Search") );
- button_search->setAutoRepeat( false );
- button_search->setAutoResize( false );
- button_search->setToggleButton( false );
- button_search->setDefault( false );
- button_search->setAutoDefault( true );
- button_search->setIsMenuButton( false );
-
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMinimumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMinimumHeight(button_ok->sizeHint().height());
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMaximumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMaximumHeight(button_ok->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_cancel->sizeHint().height());
- if (button_apply->sizeHint().width()!=-1)
- button_apply->setMinimumWidth(button_apply->sizeHint().width());
- if (button_apply->sizeHint().height()!=-1)
- button_apply->setMinimumHeight(button_apply->sizeHint().height());
- if (button_apply->sizeHint().width()!=-1)
- button_apply->setMaximumWidth(button_apply->sizeHint().width());
- if (button_apply->sizeHint().height()!=-1)
- button_apply->setMaximumHeight(button_apply->sizeHint().height());
- if (button_restore->sizeHint().width()!=-1)
- button_restore->setMinimumWidth(button_restore->sizeHint().width());
- if (button_restore->sizeHint().height()!=-1)
- button_restore->setMinimumHeight(button_restore->sizeHint().height());
- if (button_restore->sizeHint().width()!=-1)
- button_restore->setMaximumWidth(button_restore->sizeHint().width());
- if (button_restore->sizeHint().height()!=-1)
- button_restore->setMaximumHeight(button_restore->sizeHint().height());
- if (list_chosen->sizeHint().width()!=-1)
- list_chosen->setMinimumWidth(list_chosen->sizeHint().width());
- if (list_chosen->sizeHint().height()!=-1)
- list_chosen->setMinimumHeight(list_chosen->sizeHint().height());
- if (list_available->sizeHint().width()!=-1)
- list_available->setMinimumWidth(list_available->sizeHint().width());
- if (list_available->sizeHint().height()!=-1)
- list_available->setMinimumHeight(list_available->sizeHint().height());
- if (button_down->sizeHint().width()!=-1)
- button_down->setMinimumWidth(button_down->sizeHint().width());
- if (button_down->sizeHint().height()!=-1)
- button_down->setMinimumHeight(button_down->sizeHint().height());
- if (button_down->sizeHint().width()!=-1)
- button_down->setMaximumWidth(button_down->sizeHint().width());
- if (button_down->sizeHint().height()!=-1)
- button_down->setMaximumHeight(button_down->sizeHint().height());
- if (button_remove->sizeHint().width()!=-1)
- button_remove->setMinimumWidth(button_remove->sizeHint().width());
- if (button_remove->sizeHint().height()!=-1)
- button_remove->setMinimumHeight(button_remove->sizeHint().height());
- if (button_remove->sizeHint().width()!=-1)
- button_remove->setMaximumWidth(button_remove->sizeHint().width());
- if (button_remove->sizeHint().height()!=-1)
- button_remove->setMaximumHeight(button_remove->sizeHint().height());
- if (button_up->sizeHint().width()!=-1)
- button_up->setMinimumWidth(button_up->sizeHint().width());
- if (button_up->sizeHint().height()!=-1)
- button_up->setMinimumHeight(button_up->sizeHint().height());
- if (button_up->sizeHint().width()!=-1)
- button_up->setMaximumWidth(button_up->sizeHint().width());
- if (button_up->sizeHint().height()!=-1)
- button_up->setMaximumHeight(button_up->sizeHint().height());
- if (button_add->sizeHint().width()!=-1)
- button_add->setMinimumWidth(button_add->sizeHint().width());
- if (button_add->sizeHint().height()!=-1)
- button_add->setMinimumHeight(button_add->sizeHint().height());
- if (button_add->sizeHint().width()!=-1)
- button_add->setMaximumWidth(button_add->sizeHint().width());
- if (button_add->sizeHint().height()!=-1)
- button_add->setMaximumHeight(button_add->sizeHint().height());
- if (qtarch_label_after->sizeHint().width()!=-1)
- qtarch_label_after->setMinimumWidth(qtarch_label_after->sizeHint().width());
- if (qtarch_label_after->sizeHint().height()!=-1)
- qtarch_label_after->setMinimumHeight(qtarch_label_after->sizeHint().height());
- if (qtarch_label_after->sizeHint().width()!=-1)
- qtarch_label_after->setMaximumWidth(qtarch_label_after->sizeHint().width());
- if (qtarch_label_after->sizeHint().height()!=-1)
- qtarch_label_after->setMaximumHeight(qtarch_label_after->sizeHint().height());
- if (line_after->sizeHint().width()!=-1)
- line_after->setMinimumWidth(line_after->sizeHint().width());
- if (line_after->sizeHint().height()!=-1)
- line_after->setMinimumHeight(line_after->sizeHint().height());
- if (line_after->sizeHint().height()!=-1)
- line_after->setMaximumHeight(line_after->sizeHint().height());
- if (line_details->sizeHint().width()!=-1)
- line_details->setMinimumWidth(line_details->sizeHint().width());
- if (line_details->sizeHint().height()!=-1)
- line_details->setMinimumHeight(line_details->sizeHint().height());
- if (line_details->sizeHint().height()!=-1)
- line_details->setMaximumHeight(line_details->sizeHint().height());
- if (button_search->sizeHint().width()!=-1)
- button_search->setMinimumWidth(button_search->sizeHint().width());
- if (button_search->sizeHint().height()!=-1)
- button_search->setMinimumHeight(button_search->sizeHint().height());
- if (button_search->sizeHint().width()!=-1)
- button_search->setMaximumWidth(button_search->sizeHint().width());
- if (button_search->sizeHint().height()!=-1)
- button_search->setMaximumHeight(button_search->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, 4 );
- qtarch_layout_1_1->addStrut( 0 );
- QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1_1->addLayout( qtarch_layout_1_1_1, 1 );
- qtarch_layout_1_1_1->addStrut( 0 );
- qtarch_layout_1_1_1->addWidget( button_up, 1, 36 );
- qtarch_layout_1_1_1->addWidget( button_down, 1, 36 );
- qtarch_layout_1_1_1->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1_1->addLayout( qtarch_layout_1_1_2, 3 );
- qtarch_layout_1_1_2->addStrut( 0 );
- qtarch_layout_1_1_2->addWidget( list_chosen, 1, 36 );
- QBoxLayout* qtarch_layout_1_1_3 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1_1->addLayout( qtarch_layout_1_1_3, 1 );
- qtarch_layout_1_1_3->addStrut( 0 );
- qtarch_layout_1_1_3->addWidget( button_add, 1, 36 );
- qtarch_layout_1_1_3->addWidget( button_remove, 1, 36 );
- qtarch_layout_1_1_3->addWidget( button_search, 1, 36 );
- qtarch_layout_1_1_3->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_4 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1_1->addLayout( qtarch_layout_1_1_4, 3 );
- qtarch_layout_1_1_4->addStrut( 0 );
- qtarch_layout_1_1_4->addWidget( list_available, 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->addWidget( qtarch_label_after, 1, 36 );
- qtarch_layout_1_2->addWidget( line_after, 1, 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->addWidget( line_details, 1, 36 );
- QBoxLayout* qtarch_layout_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_4, 1 );
- qtarch_layout_1_4->addStrut( 0 );
- qtarch_layout_1_4->addStretch( 1 );
- qtarch_layout_1_4->addWidget( button_ok, 1, 36 );
- qtarch_layout_1_4->addStretch( 2 );
- qtarch_layout_1_4->addWidget( button_apply, 1, 36 );
- qtarch_layout_1_4->addStretch( 2 );
- qtarch_layout_1_4->addWidget( button_restore, 1, 36 );
- qtarch_layout_1_4->addStretch( 2 );
- qtarch_layout_1_4->addWidget( button_cancel, 1, 36 );
- qtarch_layout_1_4->addStretch( 1 );
- resize( 580,440 );
- setMinimumSize( 200, 65 );
- setMaximumSize( 32767, 65 );
-}
-
-
-CitationDialogData::~CitationDialogData()
-{
-}
-void CitationDialogData::clicked_ok()
-{
-}
-void CitationDialogData::clicked_cancel()
-{
-}
-void CitationDialogData::clicked_apply()
-{
-}
-void CitationDialogData::clicked_restore()
-{
-}
-void CitationDialogData::highlight_chosen_adaptor(const char*)
-{
-}
-void CitationDialogData::highlight_available_adaptor(const char*)
-{
-}
-void CitationDialogData::select_available_adaptor(const char*)
-{
-}
-void CitationDialogData::clicked_down()
-{
-}
-void CitationDialogData::clicked_remove()
-{
-}
-void CitationDialogData::clicked_up()
-{
-}
-void CitationDialogData::clicked_add()
-{
-}
-void CitationDialogData::after_changed(const char*)
-{
-}
-void CitationDialogData::clicked_search()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: citationdlgdata.h
- Last generated: Tue Apr 3 00:57:49 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef CitationDialogData_included
-#define CitationDialogData_included
-
-#include <qdialog.h>
-#include <qpushbutton.h>
-#include <qmultilinedit.h>
-#include <qlistbox.h>
-#include <qlineedit.h>
-
-class CitationDialogData : public QDialog
-{
- Q_OBJECT
-
-public:
-
- CitationDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~CitationDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void clicked_remove();
- virtual void select_available_adaptor(const char*);
- virtual void clicked_cancel();
- virtual void clicked_restore();
- virtual void clicked_down();
- virtual void highlight_chosen_adaptor(const char*);
- virtual void clicked_search();
- virtual void highlight_available_adaptor(const char*);
- virtual void clicked_ok();
- virtual void clicked_add();
- virtual void after_changed(const char*);
- virtual void clicked_up();
- virtual void clicked_apply();
-
-public:
- QPushButton* button_ok;
- QPushButton* button_cancel;
- QPushButton* button_apply;
- QPushButton* button_restore;
- QListBox* list_chosen;
- QListBox* list_available;
- QPushButton* button_down;
- QPushButton* button_remove;
- QPushButton* button_up;
- QPushButton* button_add;
- QLineEdit* line_after;
- QMultiLineEdit* line_details;
- QPushButton* button_search;
-
-};
-
-#endif // CitationDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: copyrightdlgdata.C
- Last generated: Sat Mar 31 22:09:01 2001
-
- 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 "copyrightdlgdata.h"
-
-#define Inherited QDialog
-
-
-CopyrightDialogData::CopyrightDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, TRUE, 53248 )
-{
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 157, 343, 151, 107 );
- button_cancel->setMinimumSize( 0, 0 );
- button_cancel->setMaximumSize( 32767, 32767 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(clickedOK()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Close") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( true );
- button_cancel->setAutoDefault( true );
- button_cancel->setIsMenuButton( false );
-
- label_copyright = new QLabel( this, "label_copyright" );
- label_copyright->setGeometry( 5, 5, 455, 108 );
- label_copyright->setMinimumSize( 0, 0 );
- label_copyright->setMaximumSize( 32767, 32767 );
- label_copyright->setFocusPolicy( QWidget::NoFocus );
- label_copyright->setBackgroundMode( QWidget::PaletteBackground );
- label_copyright->setFontPropagation( QWidget::NoChildren );
- label_copyright->setPalettePropagation( QWidget::NoChildren );
- label_copyright->setFrameStyle( 50 );
- label_copyright->setLineWidth( 1 );
- label_copyright->setMidLineWidth( 0 );
- label_copyright->QFrame::setMargin( 1 );
- label_copyright->setText( "" );
- label_copyright->setAlignment( 1316 );
- label_copyright->setMargin( -1 );
-
- label_licence = new QLabel( this, "label_licence" );
- label_licence->setGeometry( 5, 118, 455, 107 );
- label_licence->setMinimumSize( 0, 0 );
- label_licence->setMaximumSize( 32767, 32767 );
- label_licence->setFocusPolicy( QWidget::NoFocus );
- label_licence->setBackgroundMode( QWidget::PaletteBackground );
- label_licence->setFontPropagation( QWidget::NoChildren );
- label_licence->setPalettePropagation( QWidget::NoChildren );
- label_licence->setFrameStyle( 50 );
- label_licence->setLineWidth( 1 );
- label_licence->setMidLineWidth( 0 );
- label_licence->QFrame::setMargin( 1 );
- label_licence->setText( "" );
- label_licence->setAlignment( 1316 );
- label_licence->setMargin( -1 );
-
- label_disclaimer = new QLabel( this, "label_disclaimer" );
- label_disclaimer->setGeometry( 5, 230, 455, 108 );
- label_disclaimer->setMinimumSize( 0, 0 );
- label_disclaimer->setMaximumSize( 32767, 32767 );
- label_disclaimer->setFocusPolicy( QWidget::NoFocus );
- label_disclaimer->setBackgroundMode( QWidget::PaletteBackground );
- label_disclaimer->setFontPropagation( QWidget::NoChildren );
- label_disclaimer->setPalettePropagation( QWidget::NoChildren );
- label_disclaimer->setFrameStyle( 50 );
- label_disclaimer->setLineWidth( 1 );
- label_disclaimer->setMidLineWidth( 0 );
- label_disclaimer->QFrame::setMargin( 1 );
- label_disclaimer->setText( "" );
- label_disclaimer->setAlignment( 1316 );
- label_disclaimer->setMargin( -1 );
-
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_cancel->sizeHint().height());
- if (label_copyright->sizeHint().width()!=-1)
- label_copyright->setMinimumWidth(label_copyright->sizeHint().width());
- if (label_copyright->sizeHint().height()!=-1)
- label_copyright->setMinimumHeight(label_copyright->sizeHint().height());
- if (label_licence->sizeHint().width()!=-1)
- label_licence->setMinimumWidth(label_licence->sizeHint().width());
- if (label_licence->sizeHint().height()!=-1)
- label_licence->setMinimumHeight(label_licence->sizeHint().height());
- if (label_disclaimer->sizeHint().width()!=-1)
- label_disclaimer->setMinimumWidth(label_disclaimer->sizeHint().width());
- if (label_disclaimer->sizeHint().height()!=-1)
- label_disclaimer->setMinimumHeight(label_disclaimer->sizeHint().height());
- QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1->addStrut( 0 );
- qtarch_layout_1->addWidget( label_copyright, 1, 36 );
- qtarch_layout_1->addWidget( label_licence, 1, 36 );
- qtarch_layout_1->addWidget( label_disclaimer, 1, 36 );
- QBoxLayout* qtarch_layout_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_4, 1 );
- qtarch_layout_1_4->addStrut( 0 );
- qtarch_layout_1_4->addStretch( 1 );
- qtarch_layout_1_4->addWidget( button_cancel, 1, 36 );
- qtarch_layout_1_4->addStretch( 1 );
- resize( 465,455 );
- setMinimumSize( 200, 65 );
- setMaximumSize( 32767, 65 );
-}
-
-
-CopyrightDialogData::~CopyrightDialogData()
-{
-}
-void CopyrightDialogData::clickedOK()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: copyrightdlgdata.h
- Last generated: Sat Mar 31 22:09:01 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef CopyrightDialogData_included
-#define CopyrightDialogData_included
-
-#include <qdialog.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-
-class CopyrightDialogData : public QDialog
-{
- Q_OBJECT
-
-public:
-
- CopyrightDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~CopyrightDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void clickedOK();
-
-public:
- QPushButton* button_cancel;
- QLabel* label_copyright;
- QLabel* label_licence;
- QLabel* label_disclaimer;
-
-};
-
-#endif // CopyrightDialogData_included
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {citationdlgdata.h}
- DataSource {citationdlgdata.C}
- DataName {CitationDialogData}
- WindowBaseClass {QDialog}
- IsModal {false}
- UseGetText {true}
- WindowFlags {53248}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {580 440}
-MinSize {200 65}
-MaxSize {32767 65}
-Grid {5}
-
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {true}
- IsMenuButton {false}
- Text {&OK}
- AutoRepeat {false}
- AutoResize {false}
- Rect {51 379 47 56}
- Name {button_ok}
- Variable {button_ok}
- Signal {[Protected] clicked --> clicked_ok ()}
- 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 {483 379 46 56}
- Name {button_cancel}
- Variable {button_cancel}
- Signal {[Protected] clicked --> clicked_cancel ()}
- 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 {true}
- IsMenuButton {false}
- Text {&Apply}
- AutoRepeat {false}
- AutoResize {false}
- Rect {195 379 46 56}
- Name {button_apply}
- Variable {button_apply}
- Signal {[Protected] clicked --> clicked_apply ()}
- 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 {true}
- IsMenuButton {false}
- Text {&Restore}
- AutoRepeat {false}
- AutoResize {false}
- Rect {339 379 46 56}
- Name {button_restore}
- Variable {button_restore}
- Signal {[Protected] clicked --> clicked_restore ()}
- 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}
-}
-ListBox {
- DragSelect {true}
- AutoScroll {true}
- ScrollBar {false}
- AutoScrollBar {true}
- BottomScrollBar {false}
- AutoBottomScrollBar {true}
- SmoothScrolling {true}
- MultiSelection {false}
- AutoUpdate {true}
- Style {51}
- LineWidth {2}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {79 5 209 233}
- Name {list_chosen}
- Variable {list_chosen}
- Signal {[Protected] highlighted --> highlight_chosen_adaptor (const char*)}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {false}
- FocusPolicy {StrongFocus}
- BackgroundMode {PaletteBase}
- FontPropagation {SameFont}
- PalettePropagation {SameFont}
-}
-ListBox {
- DragSelect {true}
- AutoScroll {true}
- ScrollBar {false}
- AutoScrollBar {true}
- BottomScrollBar {false}
- AutoBottomScrollBar {true}
- SmoothScrolling {true}
- MultiSelection {false}
- AutoUpdate {true}
- Style {51}
- LineWidth {2}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {367 5 208 233}
- Name {list_available}
- Variable {list_available}
- Signal {[Protected] highlighted --> highlight_available_adaptor (const char*)}
- Signal {[Protected] selected --> select_available_adaptor (const char*)}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {false}
- FocusPolicy {StrongFocus}
- BackgroundMode {PaletteBase}
- FontPropagation {SameFont}
- PalettePropagation {SameFont}
-}
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {true}
- IsMenuButton {false}
- Text {&Down}
- AutoRepeat {false}
- AutoResize {false}
- Rect {5 86 69 76}
- Name {button_down}
- Variable {button_down}
- Signal {[Protected] clicked --> clicked_down ()}
- 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 {true}
- IsMenuButton {false}
- Text {&Remove}
- AutoRepeat {false}
- AutoResize {false}
- Rect {293 66 69 56}
- Name {button_remove}
- Variable {button_remove}
- Signal {[Protected] clicked --> clicked_remove ()}
- 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 {true}
- IsMenuButton {false}
- Text {&Up}
- AutoRepeat {false}
- AutoResize {false}
- Rect {5 5 69 76}
- Name {button_up}
- Variable {button_up}
- Signal {[Protected] clicked --> clicked_up ()}
- 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 {true}
- IsMenuButton {false}
- Text {&Add}
- AutoRepeat {false}
- AutoResize {false}
- Rect {293 5 69 56}
- Name {button_add}
- Variable {button_add}
- Signal {[Protected] clicked --> clicked_add ()}
- 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 {Text after : }
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 271 283 15}
- Name {label_after}
- MinimumSize {0 15}
- MaximumSize {32767 15}
- 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 {293 243 282 71}
- Name {line_after}
- Variable {line_after}
- Signal {[Protected] textChanged --> after_changed (const char*)}
- 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}
-}
-MultiLineEdit {
- Line {}
- ReadOnly {true}
- OverwriteMode {false}
- AutoUpdate {true}
- Style {51}
- LineWidth {2}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 319 570 55}
- Name {line_details}
- Variable {line_details}
- 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 {SameFont}
- PalettePropagation {SameFont}
-}
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {true}
- IsMenuButton {false}
- Text {&Search}
- AutoRepeat {false}
- AutoResize {false}
- Rect {293 127 69 55}
- Name {button_search}
- Variable {button_search}
- Signal {[Protected] clicked --> clicked_search ()}
- 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 {4}
-}
-Box_Layout-1.1.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1{
- Widget {button_up}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.1.1.2{
- Widget {button_down}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.1.1.3{
- Stretch {1}
-}
-Box_Layout-1.1.2{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {3}
-}
-Layout_Widget-1.1.2.1{
- Widget {list_chosen}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.1.3{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.3.1{
- Widget {button_add}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.1.3.2{
- Widget {button_remove}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.1.3.3{
- Widget {button_search}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.1.3.4{
- Stretch {1}
-}
-Box_Layout-1.1.4{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {3}
-}
-Layout_Widget-1.1.4.1{
- Widget {list_available}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.2.1{
- Widget {label_after}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.2.2{
- Widget {line_after}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.3{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.3.1{
- Widget {line_details}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.4{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Stretch-1.4.1{
- Stretch {1}
-}
-Layout_Widget-1.4.2{
- Widget {button_ok}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.4.3{
- Stretch {2}
-}
-Layout_Widget-1.4.4{
- Widget {button_apply}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.4.5{
- Stretch {2}
-}
-Layout_Widget-1.4.6{
- Widget {button_restore}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.4.7{
- Stretch {2}
-}
-Layout_Widget-1.4.8{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.4.9{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {copyrightdlgdata.h}
- DataSource {copyrightdlgdata.C}
- DataName {CopyrightDialogData}
- WindowBaseClass {QDialog}
- UseGetText {true}
- WindowFlags {53248}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {465 455}
-MinSize {200 65}
-MaxSize {32767 65}
-Grid {5}
-
-PushButton {
- ToggleButton {false}
- Default {true}
- AutoDefault {true}
- IsMenuButton {false}
- Text {&Close}
- AutoRepeat {false}
- AutoResize {false}
- Rect {157 343 151 107}
- Name {button_cancel}
- Variable {button_cancel}
- Signal {[Protected] clicked --> clickedOK ()}
- 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 {}
- Alignment {1316}
- AutoResize {false}
- Margin {-1}
- Style {50}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {1}
- Rect {5 5 455 108}
- Name {label_copyright}
- Variable {label_copyright}
- 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 {}
- Alignment {1316}
- AutoResize {false}
- Margin {-1}
- Style {50}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {1}
- Rect {5 118 455 107}
- Name {label_licence}
- Variable {label_licence}
- 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 {}
- Alignment {1316}
- AutoResize {false}
- Margin {-1}
- Style {50}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {1}
- Rect {5 230 455 108}
- Name {label_disclaimer}
- Variable {label_disclaimer}
- 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}
-}
-Layout_Widget-1.1{
- Widget {label_copyright}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.2{
- Widget {label_licence}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.3{
- Widget {label_disclaimer}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.4{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Stretch-1.4.1{
- Stretch {1}
-}
-Layout_Widget-1.4.2{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.4.3{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {docdlgdata.h}
- DataSource {docdlgdata.C}
- DataName {DocDialogData}
- WindowBaseClass {QDialog}
- 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 {button_ok}
- Variable {button_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}
-}
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {false}
- IsMenuButton {false}
- Text {&Apply}
- AutoRepeat {false}
- AutoResize {false}
- Rect {215 555 68 55}
- Name {button_apply}
- Variable {button_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 {button_restore}
- Variable {button_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 {button_cancel}
- Variable {button_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}
-}
-User {
- UserClassHeader {tabstack.h}
- UserClassName {TabStack}
- Rect {5 5 630 545}
- Name {tabstack}
- 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}
-}
-
-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 {tabstack}
- 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 {button_ok}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.3{
- Stretch {1}
-}
-Layout_Widget-1.2.4{
- Widget {button_apply}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.5{
- Stretch {1}
-}
-Layout_Widget-1.2.6{
- Widget {button_restore}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.7{
- Stretch {1}
-}
-Layout_Widget-1.2.8{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.9{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {docbulletsdlgdata.h}
- DataSource {docbulletsdlgdata.C}
- DataName {DocBulletsDialogData}
- WindowBaseClass {QWidget}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {545 460}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {docextradlgdata.h}
- DataSource {docextradlgdata.C}
- DataName {DocExtraDialogData}
- WindowBaseClass {QWidget}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {635 640}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-GroupBox {
- Title {Float Placement}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 5 625 378}
- Name {group_placement}
- MinimumSize {25 30}
- 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}
-}
-ComboBox {
- Style {ReadOnly}
- SizeLimit {10}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {320 10 150 65}
- Name {combo_first}
- Variable {combo_first}
- 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 {320 80 150 66}
- Name {combo_second}
- Variable {combo_second}
- 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 {320 151 150 65}
- Name {combo_third}
- Variable {combo_third}
- 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 {320 221 150 65}
- Name {combo_fourth}
- Variable {combo_fourth}
- 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}
-}
-CheckBox {
- Checked {false}
- Text {Ignore LaTeX placement rules}
- AutoRepeat {false}
- AutoResize {false}
- Rect {10 291 615 87}
- Name {check_ignore}
- Variable {check_ignore}
- 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 {Section number depth :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 388 153 58}
- Name {labelsectiondepth}
- 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}
-}
-Label {
- Text {Table of Contents depth :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 451 153 58}
- Name {labeltocdepth}
- 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}
-}
-Label {
- Text {PostScript driver :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 514 153 58}
- Name {labelPSDriver}
- 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}
-}
-SpinBox {
- MinValue {-2}
- MaxValue {5}
- Step {1}
- Prefix {}
- Suffix {}
- SpecialValue {}
- Wrapping {false}
- Style {51}
- LineWidth {2}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {320 388 153 58}
- Name {spin_sectiondepth}
- Variable {spin_sectiondepth}
- 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 {5}
- Step {1}
- Prefix {}
- Suffix {}
- SpecialValue {}
- Wrapping {false}
- Style {51}
- LineWidth {2}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {320 451 153 58}
- Name {spin_tocdepth}
- Variable {spin_tocdepth}
- 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}
-}
-ComboBox {
- Style {ReadOnly}
- SizeLimit {10}
- Policy {AtBottom}
- AutoResize {true}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {320 514 153 58}
- Name {combo_psdriver}
- Variable {combo_psdriver}
- 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}
-}
-CheckBox {
- Checked {false}
- Text {Use AMS Math}
- AutoRepeat {false}
- AutoResize {false}
- Rect {5 577 153 58}
- Name {check_amsmath}
- Variable {check_amsmath}
- 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 {First try :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 10 150 65}
- Name {labelFirst}
- 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}
-}
-Label {
- Text {then :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 80 150 66}
- Name {labelSecond}
- 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}
-}
-Label {
- Text {then :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 151 150 65}
- Name {labelThird}
- 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}
-}
-Label {
- Text {then :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 221 150 65}
- Name {labelFourth}
- 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}
-}
-
-Box_Layout-1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1{
- Widget {group_placement}
- BoxStretch {3}
- Alignment {36}
-}
-Box_Layout-1.1.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Grid_Layout-1.1.1.1{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- BoxStretch {3}
-}
-Grid_Row-1.1.1.1.1{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.1.1.1.1.1{
- Widget {labelFirst}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.1.2{
-}
-Layout_Widget-1.1.1.1.1.3{
- Widget {combo_first}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.1.4{
-}
-Grid_Row-1.1.1.1.2{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.1.1.1.2.1{
- Widget {labelSecond}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.2.2{
-}
-Layout_Widget-1.1.1.1.2.3{
- Widget {combo_second}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.2.4{
-}
-Grid_Row-1.1.1.1.3{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.1.1.1.3.1{
- Widget {labelThird}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.3.2{
-}
-Layout_Widget-1.1.1.1.3.3{
- Widget {combo_third}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.3.4{
-}
-Grid_Row-1.1.1.1.4{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.1.1.1.4.1{
- Widget {labelFourth}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.4.2{
-}
-Layout_Widget-1.1.1.1.4.3{
- Widget {combo_fourth}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.1.1.1.4.4{
-}
-Box_Layout-1.1.1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.1{
- Widget {check_ignore}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Layout-1.2{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- BoxStretch {2}
-}
-Grid_Row-1.2.1{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.2.1.1{
- Widget {labelsectiondepth}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.2.1.2{
-}
-Layout_Widget-1.2.1.3{
- Widget {spin_sectiondepth}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.2.1.4{
-}
-Grid_Row-1.2.2{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.2.2.1{
- Widget {labeltocdepth}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.2.2.2{
-}
-Layout_Widget-1.2.2.3{
- Widget {spin_tocdepth}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.2.2.4{
-}
-Grid_Row-1.2.3{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.2.3.1{
- Widget {labelPSDriver}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.2.3.2{
-}
-Layout_Widget-1.2.3.3{
- Widget {combo_psdriver}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Spacer-1.2.3.4{
-}
-Grid_Row-1.2.4{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.2.4.1{
- Widget {check_amsmath}
- BoxStretch {1}
- Alignment {36}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {docgeometrydlgdata.h}
- DataSource {docgeometrydlgdata.C}
- DataName {DocGeometryDialogData}
- WindowBaseClass {QWidget}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {605 655}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-GroupBox {
- Title {Headers and Footers}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {305 5 295 325}
- Name {headfootGroup}
- MinimumSize {75 40}
- 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}
-}
-GroupBox {
- Title {Margins}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 335 466 315}
- Name {marginsGroup}
- MinimumSize {10 17}
- 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}
-}
-GroupBox {
- Title {Paper}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 5 295 325}
- Name {paperGroup}
- MinimumSize {75 35}
- 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}
-}
-ButtonGroup {
- Exclusive {true}
- Title {Orientation}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {476 335 124 315}
- Name {orientation}
- MinimumSize {10 30}
- 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 {Paper size :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 25 1 35}
- Name {labelPapersize}
- 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 {30}
- Policy {AtBottom}
- AutoResize {true}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {108 25 94 35}
- Name {combo_papersize}
- Variable {combo_papersize}
- Signal {[Protected] highlighted --> papersizeChanged (const char*)}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {10 140 285 35}
- Name {length_width}
- Variable {length_width}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {10 255 285 35}
- Name {length_height}
- Variable {length_height}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {310 85 285 28}
- Name {length_headheight}
- Variable {length_headheight}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {310 178 285 27}
- Name {length_headsep}
- Variable {length_headsep}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {310 270 285 28}
- Name {length_footskip}
- Variable {length_footskip}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-Label {
- Text {Margins :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 355 113 54}
- Name {labelMargin}
- 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}
-}
-Label {
- Text {Width :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 100 1 35}
- Name {labelWidth}
- 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}
-}
-Label {
- Text {Height :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 215 1 35}
- Name {labelHeight}
- 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}
-}
-Label {
- Text {Top :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 468 87 41}
- Name {labelTop}
- 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}
-}
-Label {
- Text {Bottom :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 514 87 40}
- Name {labelBottom}
- 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}
-}
-Label {
- Text {Left :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 559 87 41}
- Name {labelLeft}
- 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}
-}
-Label {
- Text {Right :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 605 87 40}
- Name {labelRight}
- 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}
-}
-Label {
- Text {Header height :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {310 53 1 27}
- Name {labelheadheight}
- 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}
-}
-Label {
- Text {Header separation :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {310 145 1 28}
- Name {labelHeadsep}
- 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}
-}
-Label {
- Text {Footer skip :}
- Alignment {0}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {310 238 1 27}
- Name {labelFootskip}
- 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 {30}
- Policy {AtBottom}
- AutoResize {true}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {241 355 112 54}
- Name {combo_margins}
- Variable {combo_margins}
- Signal {[Protected] highlighted --> marginsChanged (const char*)}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {204 468 211 41}
- Name {length_top}
- Variable {length_top}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {204 514 211 40}
- Name {length_bottom}
- Variable {length_bottom}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {204 559 211 41}
- Name {length_left}
- Variable {length_left}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {204 605 211 40}
- Name {length_right}
- Variable {length_right}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-RadioButton {
- Checked {true}
- Text {Portrait}
- AutoRepeat {false}
- AutoResize {false}
- Rect {481 412 1 57}
- Name {radio_portrait}
- Variable {radio_portrait}
- 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 {Landscape}
- AutoRepeat {false}
- AutoResize {false}
- Rect {481 531 1 57}
- Name {radio_landscape}
- Variable {radio_landscape}
- 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 {1}
-}
-Layout_Widget-1.1.1{
- Widget {paperGroup}
- 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_Layout-1.1.1.1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.2.1{
- Widget {labelPapersize}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.1.1.1.2.2{
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.2.3{
- Widget {combo_papersize}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.1.1.2.4{
- Stretch {1}
-}
-Box_Stretch-1.1.1.1.3{
- Stretch {1}
-}
-Box_Layout-1.1.1.1.4{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.4.1{
- Widget {labelWidth}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.1.1.1.4.2{
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.5{
- Widget {length_width}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.1.1.6{
- Stretch {1}
-}
-Box_Layout-1.1.1.1.7{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.7.1{
- Widget {labelHeight}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.1.1.1.7.2{
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.8{
- Widget {length_height}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.1.1.9{
- Stretch {1}
-}
-Layout_Widget-1.1.2{
- Widget {headfootGroup}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Layout-1.1.2.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Spacing-1.1.2.1.1{
- Spacing {15}
-}
-Box_Stretch-1.1.2.1.2{
- Stretch {1}
-}
-Box_Layout-1.1.2.1.3{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.2.1.3.1{
- Widget {labelheadheight}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.1.2.1.3.2{
- Stretch {1}
-}
-Layout_Widget-1.1.2.1.4{
- Widget {length_headheight}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.2.1.5{
- Stretch {1}
-}
-Box_Layout-1.1.2.1.6{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.2.1.6.1{
- Widget {labelHeadsep}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.1.2.1.6.2{
- Stretch {1}
-}
-Layout_Widget-1.1.2.1.7{
- Widget {length_headsep}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.2.1.8{
- Stretch {1}
-}
-Box_Layout-1.1.2.1.9{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.2.1.9.1{
- Widget {labelFootskip}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.1.2.1.9.2{
- Stretch {1}
-}
-Layout_Widget-1.1.2.1.10{
- Widget {length_footskip}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.2.1.11{
- Stretch {1}
-}
-Box_Layout-1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.2.1{
- Widget {marginsGroup}
- BoxStretch {4}
- Alignment {33}
-}
-Box_Layout-1.2.1.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Spacing-1.2.1.1.1{
- Spacing {15}
-}
-Box_Layout-1.2.1.1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.2.1.1.2.1{
- Widget {labelMargin}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.2.1.1.2.2{
- Stretch {1}
-}
-Layout_Widget-1.2.1.1.2.3{
- Widget {combo_margins}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.2.1.1.2.4{
- Stretch {1}
-}
-Box_Stretch-1.2.1.1.3{
- Stretch {1}
-}
-Grid_Layout-1.2.1.1.4{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 2}
- ColumnInfo {5 1}
- ColumnInfo {5 5}
- ColumnInfo {5 1}
- BoxStretch {3}
-}
-Grid_Row-1.2.1.1.4.1{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.2.1.1.4.1.1{
-}
-Layout_Widget-1.2.1.1.4.1.2{
- Widget {labelTop}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.1.3{
-}
-Layout_Widget-1.2.1.1.4.1.4{
- Widget {length_top}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.1.5{
-}
-Grid_Row-1.2.1.1.4.2{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.2.1.1.4.2.1{
-}
-Layout_Widget-1.2.1.1.4.2.2{
- Widget {labelBottom}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.2.3{
-}
-Layout_Widget-1.2.1.1.4.2.4{
- Widget {length_bottom}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.2.5{
-}
-Grid_Row-1.2.1.1.4.3{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.2.1.1.4.3.1{
-}
-Layout_Widget-1.2.1.1.4.3.2{
- Widget {labelLeft}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.3.3{
-}
-Layout_Widget-1.2.1.1.4.3.4{
- Widget {length_left}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.3.5{
-}
-Grid_Row-1.2.1.1.4.4{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.2.1.1.4.4.1{
-}
-Layout_Widget-1.2.1.1.4.4.2{
- Widget {labelRight}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.4.3{
-}
-Layout_Widget-1.2.1.1.4.4.4{
- Widget {length_right}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.1.1.4.4.5{
-}
-Layout_Widget-1.2.2{
- Widget {orientation}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Layout-1.2.2.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Spacing-1.2.2.1.1{
- Spacing {15}
-}
-Box_Stretch-1.2.2.1.2{
- Stretch {1}
-}
-Box_Layout-1.2.2.1.3{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.2.2.1.3.1{
- Widget {radio_portrait}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.2.2.1.3.2{
- Stretch {1}
-}
-Box_Stretch-1.2.2.1.4{
- Stretch {1}
-}
-Box_Layout-1.2.2.1.5{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.2.2.1.5.1{
- Widget {radio_landscape}
- BoxStretch {0}
- Alignment {33}
-}
-Box_Stretch-1.2.2.1.5.2{
- Stretch {1}
-}
-Box_Stretch-1.2.2.1.6{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {doclanguagedlgdata.h}
- DataSource {doclanguagedlgdata.C}
- DataName {DocLanguageDialogData}
- WindowBaseClass {QWidget}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {545 460}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-Label {
- Text {Language :}
- Alignment {290}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 5 130 147}
- Name {labelLanguage}
- 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 {30}
- Policy {AtBottom}
- AutoResize {true}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {275 5 130 147}
- Name {combo_language}
- Variable {combo_language}
- 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 {Encoding :}
- Alignment {290}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 157 130 146}
- Name {labelEncoding}
- 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 {30}
- Policy {AtBottom}
- AutoResize {true}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {275 157 130 146}
- Name {combo_encoding}
- Variable {combo_encoding}
- 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 {Quote style :}
- Alignment {290}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 308 130 147}
- Name {labelQuotes}
- 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 {30}
- Policy {AtBottom}
- AutoResize {true}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {275 308 130 147}
- Name {combo_quotes}
- Variable {combo_quotes}
- 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}
-}
-
-Grid_Layout-1{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- BoxStretch {1}
-}
-Grid_Row-1.1{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.1.1{
- Widget {labelLanguage}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.2{
-}
-Layout_Widget-1.1.3{
- Widget {combo_language}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.4{
-}
-Grid_Row-1.2{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.2.1{
- Widget {labelEncoding}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.2{
-}
-Layout_Widget-1.2.3{
- Widget {combo_encoding}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.2.4{
-}
-Grid_Row-1.3{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.3.1{
- Widget {labelQuotes}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.3.2{
-}
-Layout_Widget-1.3.3{
- Widget {combo_quotes}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.3.4{
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {docsettingsdlgdata.h}
- DataSource {docsettingsdlgdata.C}
- DataName {DocSettingsDialogData}
- WindowBaseClass {QWidget}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {0 0}
-Size {550 515}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-GroupBox {
- Title {Paragraph spacing}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {17}
- Rect {5 180 540 220}
- Name {paraspacingbox}
- MinimumSize {35 69}
- 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 {Font size :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {114 95 104 25}
- Name {labelFontSize}
- 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}
-}
-Label {
- Text {Font family :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {114 65 104 25}
- Name {labelFont}
- 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}
-}
-Label {
- Text {Page style :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {114 35 104 25}
- Name {labelPagestyle}
- 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}
-}
-Label {
- Text {Document class :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {114 5 104 25}
- Name {labelClass}
- 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 {30}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {332 5 104 25}
- Name {combo_docclass}
- Variable {combo_docclass}
- Signal {[Protected] highlighted --> classChanged (const char*)}
- 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 {30}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {332 35 104 25}
- Name {combo_pagestyle}
- Variable {combo_pagestyle}
- 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 {30}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {332 65 104 25}
- Name {combo_font}
- Variable {combo_font}
- 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 {30}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {332 95 104 25}
- Name {combo_fontsize}
- Variable {combo_fontsize}
- 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}
-}
-CheckBox {
- Checked {false}
- Text {Two-sided}
- AutoRepeat {false}
- AutoResize {false}
- Rect {112 125 107 50}
- Name {check_sides}
- Variable {check_sides}
- 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 {Two column pages}
- AutoRepeat {false}
- AutoResize {false}
- Rect {331 125 107 50}
- Name {check_columns}
- Variable {check_columns}
- 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 {Inter-line spacing :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 405 177 50}
- Name {labelSpacing}
- 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}
-}
-Label {
- Text {Extra options :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 460 268 50}
- Name {labelExtraoptions}
- 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}
-}
-Label {
- Text {Default paragraph spacing :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 247 128 30}
- Name {labelSkip}
- 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}
-}
-Label {
- Text {Size :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 294 173 30}
- Name {labelparasize}
- 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}
-}
-Label {
- Text {Shrink :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 365 173 30}
- Name {paralabelShrink}
- 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}
-}
-Label {
- Text {Stretch :}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 329 173 31}
- Name {paralabelStretch}
- 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 {30}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {284 247 128 30}
- Name {combo_paraspacing}
- Variable {combo_paraspacing}
- Signal {[Protected] highlighted --> paraspacingChanged (const char*)}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {188 294 174 30}
- Name {length_paraspacing}
- Variable {length_paraspacing}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {188 329 174 31}
- Name {length_paraspacingstretch}
- Variable {length_paraspacingstretch}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {188 365 174 30}
- Name {length_paraspacingshrink}
- Variable {length_paraspacingshrink}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {true}
- FocusPolicy {NoFocus}
- BackgroundMode {PaletteBackground}
- FontPropagation {NoChildren}
- PalettePropagation {NoChildren}
-}
-ComboBox {
- Style {ReadOnly}
- SizeLimit {30}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {187 405 176 50}
- Name {combo_linespacing}
- Variable {combo_linespacing}
- 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}
-}
-KDE::KRestrictedLine {
- ValidChars {0123456789.,}
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {368 405 177 50}
- Name {line_linespacing}
- Variable {line_linespacing}
- 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}
-}
-LineEdit {
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {278 460 267 50}
- Name {line_extraoptions}
- Variable {line_extraoptions}
- 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}
-}
-CheckBox {
- Checked {false}
- Text {Add space}
- AutoRepeat {false}
- AutoResize {false}
- Rect {10 200 398 30}
- Name {check_addspace}
- Variable {check_addspace}
- Signal {[Protected] toggled --> addspaceChanged (bool)}
- 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}
-}
-Grid_Layout-1.1{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- BoxStretch {2}
-}
-Grid_Row-1.1.1{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.1.1.1{
-}
-Layout_Widget-1.1.1.2{
- Widget {labelClass}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.1.3{
-}
-Layout_Widget-1.1.1.4{
- Widget {combo_docclass}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.1.5{
-}
-Grid_Row-1.1.2{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.1.2.1{
-}
-Layout_Widget-1.1.2.2{
- Widget {labelPagestyle}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.2.3{
-}
-Layout_Widget-1.1.2.4{
- Widget {combo_pagestyle}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.2.5{
-}
-Grid_Row-1.1.3{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.1.3.1{
-}
-Layout_Widget-1.1.3.2{
- Widget {labelFont}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.3.3{
-}
-Layout_Widget-1.1.3.4{
- Widget {combo_font}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.3.5{
-}
-Grid_Row-1.1.4{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.1.4.1{
-}
-Layout_Widget-1.1.4.2{
- Widget {labelFontSize}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.4.3{
-}
-Layout_Widget-1.1.4.4{
- Widget {combo_fontsize}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.1.4.5{
-}
-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 {check_sides}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.2.3{
- Stretch {1}
-}
-Layout_Widget-1.2.4{
- Widget {check_columns}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.2.5{
- Stretch {1}
-}
-Layout_Widget-1.3{
- Widget {paraspacingbox}
- BoxStretch {3}
- Alignment {33}
-}
-Box_Layout-1.3.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {17}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Spacing-1.3.1.1{
- Spacing {15}
-}
-Box_Layout-1.3.1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.3.1.2.1{
- BoxStretch {3}
- Alignment {33}
-}
-Box_Stretch-1.3.1.2.2{
- Stretch {1}
-}
-Box_Layout-1.3.1.3{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {17}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.3.1.3.1{
- Widget {labelSkip}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.3.1.3.2{
- Stretch {1}
-}
-Layout_Widget-1.3.1.3.3{
- Widget {combo_paraspacing}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.3.1.3.4{
- Stretch {1}
-}
-Grid_Layout-1.3.1.4{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- BoxStretch {3}
-}
-Grid_Row-1.3.1.4.1{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.3.1.4.1.1{
- Widget {labelparasize}
- BoxStretch {1}
- Alignment {33}
-}
-Layout_Widget-1.3.1.4.1.2{
- Widget {length_paraspacing}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.3.1.4.1.3{
-}
-Grid_Row-1.3.1.4.2{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.3.1.4.2.1{
- Widget {paralabelStretch}
- BoxStretch {1}
- Alignment {33}
-}
-Layout_Widget-1.3.1.4.2.2{
- Widget {length_paraspacingstretch}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.3.1.4.2.3{
-}
-Grid_Row-1.3.1.4.3{
- Stretch {1}
- Spacing {0}
-}
-Layout_Widget-1.3.1.4.3.1{
- Widget {paralabelShrink}
- BoxStretch {1}
- Alignment {33}
-}
-Layout_Widget-1.3.1.4.3.2{
- Widget {length_paraspacingshrink}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.3.1.4.3.3{
-}
-Box_Layout-1.4{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.4.1{
- Widget {labelSpacing}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.4.2{
- Widget {combo_linespacing}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.4.3{
- Widget {line_linespacing}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.5{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.5.1{
- Widget {labelExtraoptions}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.5.2{
- Widget {line_extraoptions}
- BoxStretch {1}
- Alignment {33}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {indexdlgdata.h}
- DataSource {indexdlgdata.C}
- DataName {IndexDialogData}
- WindowBaseClass {QDialog}
- UseGetText {true}
- WindowFlags {53248}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {250 105}
-MinSize {200 65}
-MaxSize {32767 65}
-Grid {5}
-
-Label {
- Text {Keyword:}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 15 60 25}
- Name {label_index}
- Variable {label_index}
- MinimumSize {60 25}
- MaximumSize {60 25}
- 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 {70 15 175 25}
- Name {line_index}
- Variable {line_index}
- MinimumSize {125 25}
- MaximumSize {32767 25}
- 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}
-}
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {true}
- IsMenuButton {false}
- Text {&OK}
- AutoRepeat {false}
- AutoResize {false}
- Rect {24 65 80 25}
- Name {button_ok}
- Variable {button_ok}
- Signal {[Protected] clicked --> clickedOK ()}
- MinimumSize {80 25}
- MaximumSize {80 25}
- 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 {146 65 80 25}
- Name {button_cancel}
- Variable {button_cancel}
- Signal {[Protected] clicked --> clickedCancel ()}
- MinimumSize {80 25}
- MaximumSize {80 25}
- 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}
-}
-
-Grid_Layout-1{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- BoxStretch {1}
-}
-Grid_Row-1.1{
- Stretch {0}
- Spacing {0}
-}
-Box_Layout-1.1.1{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1{
- Widget {label_index}
- BoxStretch {0}
- Alignment {36}
-}
-Layout_Widget-1.1.1.2{
- Widget {line_index}
- BoxStretch {1}
- Alignment {36}
-}
-Grid_Row-1.2{
- Stretch {0}
- Spacing {0}
-}
-Box_Layout-1.2.1{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {0}
-}
-Box_Stretch-1.2.1.1{
- Stretch {1}
-}
-Layout_Widget-1.2.1.2{
- Widget {button_ok}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.1.3{
- Stretch {2}
-}
-Layout_Widget-1.2.1.4{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.1.5{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {logdlgdata.h}
- DataSource {logdlgdata.C}
- DataName {LogDialogData}
- WindowBaseClass {QDialog}
- IsModal {false}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {400 300}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-PushButton {
- ToggleButton {false}
- Default {true}
- AutoDefault {false}
- IsMenuButton {false}
- Text {&Close}
- AutoRepeat {false}
- AutoResize {false}
- Rect {241 269 77 26}
- Name {button_cancel}
- Variable {button_cancel}
- Signal {[Protected] clicked --> closePressed ()}
- 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 {&Update}
- AutoRepeat {false}
- AutoResize {false}
- Rect {82 269 77 26}
- Name {button_update}
- Variable {button_update}
- Signal {[Protected] clicked --> updatePressed ()}
- 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}
-}
-MultiLineEdit {
- Line {}
- ReadOnly {true}
- OverwriteMode {false}
- AutoUpdate {true}
- Style {51}
- LineWidth {2}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 5 390 259}
- Name {line_viewer}
- Variable {line_viewer}
- MinimumSize {0 0}
- MaximumSize {32767 32767}
- BackgroundPixmap {}
- UseBackgroundPixmap {false}
- AdjustSize {false}
- ReadPixmapFromData {false}
- DataVarName {}
- DataLenName {}
- minWidthSizeHint {true}
- minHeightSizeHint {true}
- maxWidthSizeHint {false}
- maxHeightSizeHint {false}
- FocusPolicy {StrongFocus}
- BackgroundMode {PaletteBase}
- FontPropagation {SameFont}
- PalettePropagation {SameFont}
-}
-
-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 {line_viewer}
- 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 {button_update}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.3{
- Stretch {1}
-}
-Layout_Widget-1.2.4{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.5{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {paradlgdata.h}
- DataSource {paradlgdata.C}
- DataName {ParaDialogData}
- WindowBaseClass {QDialog}
- 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 {button_ok}
- Variable {button_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}
-}
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {false}
- IsMenuButton {false}
- Text {&Apply}
- AutoRepeat {false}
- AutoResize {false}
- Rect {215 555 68 55}
- Name {button_apply}
- Variable {button_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 {button_restore}
- Variable {button_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 {button_cancel}
- Variable {button_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}
-}
-User {
- UserClassHeader {tabstack.h}
- UserClassName {TabStack}
- Rect {5 5 630 545}
- Name {tabstack}
- 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}
-}
-
-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 {tabstack}
- 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 {button_ok}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.3{
- Stretch {1}
-}
-Layout_Widget-1.2.4{
- Widget {button_apply}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.5{
- Stretch {1}
-}
-Layout_Widget-1.2.6{
- Widget {button_restore}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.7{
- Stretch {1}
-}
-Layout_Widget-1.2.8{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.9{
- Stretch {1}
-}
-}
+++ /dev/null
-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 {465 435}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-CheckBox {
- Checked {false}
- Text {Page break}
- AutoRepeat {false}
- AutoResize {false}
- Rect {5 5 228 67}
- Name {check_pagebreakabove}
- Variable {check_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 77 228 66}
- Name {check_keepabove}
- Variable {check_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 148 113 67}
- 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 {235 148 113 67}
- Name {combo_spaceabove}
- Variable {combo_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 {Size}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 220 96 67}
- 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 {Stretch}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 292 96 66}
- 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 {Shrink}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 363 96 67}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {217 220 187 67}
- Name {length_spaceabove}
- Variable {length_spaceabove}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {217 292 187 66}
- Name {length_spaceaboveplus}
- Variable {length_spaceaboveplus}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {217 363 187 67}
- Name {length_spaceaboveminus}
- Variable {length_spaceaboveminus}
- 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 {1}
-}
-Layout_Widget-1.1.1{
- Widget {check_pagebreakabove}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.2{
- Stretch {1}
-}
-Box_Layout-1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.2.1{
- Widget {check_keepabove}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.2.2{
- Stretch {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 {33}
-}
-Box_Stretch-1.3.2{
- Stretch {1}
-}
-Layout_Widget-1.3.3{
- Widget {combo_spaceabove}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.3.4{
- Stretch {1}
-}
-Grid_Layout-1.4{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 2}
- ColumnInfo {5 1}
- ColumnInfo {5 4}
- ColumnInfo {5 1}
- BoxStretch {3}
-}
-Grid_Row-1.4.1{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.4.1.1{
-}
-Layout_Widget-1.4.1.2{
- Widget {ValueLabel}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.1.3{
-}
-Layout_Widget-1.4.1.4{
- Widget {length_spaceabove}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.1.5{
-}
-Grid_Row-1.4.2{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.4.2.1{
-}
-Layout_Widget-1.4.2.2{
- Widget {Label_14}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.2.3{
-}
-Layout_Widget-1.4.2.4{
- Widget {length_spaceaboveplus}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.2.5{
-}
-Grid_Row-1.4.3{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.4.3.1{
-}
-Layout_Widget-1.4.3.2{
- Widget {aboveminuslabel}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.3.3{
-}
-Layout_Widget-1.4.3.4{
- Widget {length_spaceaboveminus}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.3.5{
-}
-}
+++ /dev/null
-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 {465 435}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-CheckBox {
- Checked {false}
- Text {Page break}
- AutoRepeat {false}
- AutoResize {false}
- Rect {5 5 228 67}
- Name {check_pagebreakbelow}
- Variable {check_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 top of page}
- AutoRepeat {false}
- AutoResize {false}
- Rect {5 77 228 66}
- Name {check_keepbelow}
- Variable {check_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 148 113 67}
- 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 {235 148 113 67}
- Name {combo_spacebelow}
- Variable {combo_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 {Size}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 220 96 67}
- 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 {Stretch}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 292 96 66}
- 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 {Shrink}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {61 363 96 67}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {217 220 187 67}
- Name {length_spacebelow}
- Variable {length_spacebelow}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {217 292 187 66}
- Name {length_spacebelowplus}
- Variable {length_spacebelowplus}
- 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}
-}
-User {
- UserClassHeader {lengthentry.h}
- UserClassName {LengthEntry}
- Rect {217 363 187 67}
- Name {length_spacebelowminus}
- Variable {length_spacebelowminus}
- 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 {1}
-}
-Layout_Widget-1.1.1{
- Widget {check_pagebreakbelow}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.1.2{
- Stretch {1}
-}
-Box_Layout-1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.2.1{
- Widget {check_keepbelow}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.2.2{
- Stretch {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 {33}
-}
-Box_Stretch-1.3.2{
- Stretch {1}
-}
-Layout_Widget-1.3.3{
- Widget {combo_spacebelow}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Stretch-1.3.4{
- Stretch {1}
-}
-Grid_Layout-1.4{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 2}
- ColumnInfo {5 1}
- ColumnInfo {5 4}
- ColumnInfo {5 1}
- BoxStretch {3}
-}
-Grid_Row-1.4.1{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.4.1.1{
-}
-Layout_Widget-1.4.1.2{
- Widget {ValueLabel}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.1.3{
-}
-Layout_Widget-1.4.1.4{
- Widget {length_spacebelow}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.1.5{
-}
-Grid_Row-1.4.2{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.4.2.1{
-}
-Layout_Widget-1.4.2.2{
- Widget {Label_14}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.2.3{
-}
-Layout_Widget-1.4.2.4{
- Widget {length_spacebelowplus}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.2.5{
-}
-Grid_Row-1.4.3{
- Stretch {1}
- Spacing {0}
-}
-Grid_Spacer-1.4.3.1{
-}
-Layout_Widget-1.4.3.2{
- Widget {belowminuslabel}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.3.3{
-}
-Layout_Widget-1.4.3.4{
- Widget {length_spacebelowminus}
- BoxStretch {1}
- Alignment {33}
-}
-Grid_Spacer-1.4.3.5{
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {ParaExtraDialog}
- DataHeader {paraextradlgdata.h}
- DataSource {paraextradlgdata.C}
- DataName {ParaExtraDialogData}
- WindowBaseClass {QWidget}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {545 460}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-ComboBox {
- Style {ReadOnly}
- SizeLimit {10}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {2147483647}
- AutoCompletion {false}
- Rect {5 65 265 54}
- Name {combo_type}
- Variable {combo_type}
- Signal {[Protected] highlighted --> typeHighlighted (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 {Type}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 5 265 55}
- Name {speciallabel}
- 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}
-}
-Label {
- Text {Width}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {275 5 265 55}
- Name {specialwidthlabel}
- 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}
-}
-KDE::KRestrictedLine {
- ValidChars {0123456789.-,}
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {275 65 87 54}
- Name {line_widthvalue}
- Variable {line_widthvalue}
- 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 {367 65 173 54}
- Name {combo_widthvalueunits}
- Variable {combo_widthvalueunits}
- 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}
-}
-ButtonGroup {
- Exclusive {true}
- Title {Alignment}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 124 265 331}
- Name {specialalignment}
- Variable {specialalignment}
- 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}
-}
-RadioButton {
- Checked {false}
- Text {&Top}
- AutoRepeat {false}
- AutoResize {false}
- Rect {10 173 255 45}
- Name {radio_top}
- Variable {radio_top}
- 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 {&Middle}
- AutoRepeat {false}
- AutoResize {false}
- Rect {10 267 255 45}
- Name {radio_middle}
- Variable {radio_middle}
- 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 {&Bottom}
- AutoRepeat {false}
- AutoResize {false}
- Rect {10 361 255 45}
- Name {radio_bottom}
- Variable {radio_bottom}
- 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 {&HFill between minipage paragraphs}
- AutoRepeat {false}
- AutoResize {false}
- Rect {275 189 265 65}
- Name {check_hfillbetween}
- Variable {check_hfillbetween}
- 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 {&Start new minipage}
- AutoRepeat {false}
- AutoResize {false}
- Rect {275 325 265 65}
- Name {check_startnewminipage}
- Variable {check_startnewminipage}
- 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}
-}
-
-Grid_Layout-1{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- ColumnInfo {5 1}
- BoxStretch {1}
-}
-Grid_Row-1.1{
- Stretch {1}
- Spacing {5}
-}
-Box_Layout-1.1.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {5}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1{
- Widget {speciallabel}
- BoxStretch {1}
- Alignment {1}
-}
-Layout_Widget-1.1.1.2{
- Widget {combo_type}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.1.2{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {5}
- Stretch {1}
-}
-Layout_Widget-1.1.2.1{
- Widget {specialwidthlabel}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Layout-1.1.2.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.2.2.1{
- Widget {line_widthvalue}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.1.2.2.2{
- Widget {combo_widthvalueunits}
- BoxStretch {2}
- Alignment {36}
-}
-Grid_Row-1.2{
- Stretch {3}
- Spacing {5}
-}
-Layout_Widget-1.2.1{
- Widget {specialalignment}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Layout-1.2.1.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Stretch-1.2.1.1.1{
- Stretch {1}
-}
-Layout_Widget-1.2.1.1.2{
- Widget {radio_top}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.2.1.1.3{
- Stretch {1}
-}
-Layout_Widget-1.2.1.1.4{
- Widget {radio_middle}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.2.1.1.5{
- Stretch {1}
-}
-Layout_Widget-1.2.1.1.6{
- Widget {radio_bottom}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.2.1.1.7{
- Stretch {1}
-}
-Box_Layout-1.2.2{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Stretch-1.2.2.1{
- Stretch {1}
-}
-Layout_Widget-1.2.2.2{
- Widget {check_hfillbetween}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.2.2.3{
- Stretch {1}
-}
-Layout_Widget-1.2.2.4{
- Widget {check_startnewminipage}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.2.2.5{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {ParaGeneralDialog}
- DataHeader {parageneraldlgdata.h}
- DataSource {parageneraldlgdata.C}
- DataName {ParaGeneralDialogData}
- WindowBaseClass {QWidget}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {615 500}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-ComboBox {
- Style {ReadOnly}
- SizeLimit {4}
- Policy {AtBottom}
- AutoResize {false}
- MaxCount {4}
- AutoCompletion {false}
- Rect {130 5 120 59}
- Name {combo_justification}
- Variable {combo_justification}
- 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}
-}
-User {
- UserClassHeader {tabstack.h}
- UserClassName {TabStack}
- Rect {5 69 605 294}
- Name {tabstack}
- 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}
-}
-CheckBox {
- Checked {false}
- Text {Draw line above paragraph}
- AutoRepeat {false}
- AutoResize {false}
- Rect {5 368 298 39}
- Name {check_lineabove}
- Variable {check_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 412 298 39}
- Name {check_linebelow}
- Variable {check_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 456 298 39}
- Name {check_noindent}
- Variable {check_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}
-}
-Label {
- Text {Label width}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {308 368 149 127}
- 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 {462 368 148 127}
- Name {line_labelwidth}
- Variable {line_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}
-}
-Label {
- Text {Justification}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 5 120 59}
- Name {labelJustification}
- 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}
-}
-
-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}
-}
-Layout_Widget-1.1.1{
- Widget {labelJustification}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.1.2{
- Widget {combo_justification}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.1.3{
- Stretch {3}
-}
-Box_Layout-1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {5}
-}
-Layout_Widget-1.2.1{
- Widget {tabstack}
- BoxStretch {5}
- Alignment {36}
-}
-Box_Layout-1.3{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {2}
-}
-Box_Layout-1.3.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.3.1.1{
- Widget {check_lineabove}
- BoxStretch {1}
- Alignment {1}
-}
-Layout_Widget-1.3.1.2{
- Widget {check_linebelow}
- BoxStretch {1}
- Alignment {1}
-}
-Layout_Widget-1.3.1.3{
- Widget {check_noindent}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Layout-1.3.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.3.2.1{
- Widget {labelwidthlabel}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.3.2.2{
- Widget {line_labelwidth}
- BoxStretch {1}
- Alignment {36}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {printdlgdata.h}
- DataSource {printdlgdata.C}
- DataName {PrintDialogData}
- WindowBaseClass {QDialog}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {500 330}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-GroupBox {
- Title {Pages}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {5 5 162 270}
- Name {pagesGroupBox}
- Variable {pagesGroupBox}
- MinimumSize {15 47}
- 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}
-}
-ButtonGroup {
- Exclusive {true}
- Title {}
- Alignment {Left}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 22 152 142}
- Name {pagesRadioGroup}
- Variable {pagesRadioGroup}
- MinimumSize {10 20}
- 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}
-}
-GroupBox {
- Title {Copies}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {172 5 323 66}
- Name {copies}
- Variable {copies}
- MinimumSize {30 10}
- 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}
-}
-GroupBox {
- Title {Print to}
- Alignment {Left}
- Style {49}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {172 76 323 199}
- Name {printToGroupBox}
- Variable {printToGroupBox}
- MinimumSize {25 30}
- 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}
-}
-ButtonGroup {
- Exclusive {true}
- Title {}
- Alignment {Left}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {184 115 152 83}
- Name {printToRadioGroup}
- Variable {printToRadioGroup}
- MinimumSize {10 15}
- 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}
-}
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {false}
- IsMenuButton {false}
- Text {&Print}
- AutoRepeat {false}
- AutoResize {false}
- Rect {86 280 81 45}
- Name {button_ok}
- Variable {button_ok}
- Signal {[Protected] clicked --> clickedPrint ()}
- 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 {true}
- AutoDefault {false}
- IsMenuButton {false}
- Text {&Cancel}
- AutoRepeat {false}
- AutoResize {false}
- Rect {333 280 81 45}
- Name {button_cancel}
- Variable {button_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}
-}
-RadioButton {
- Checked {false}
- Text {&All pages}
- AutoRepeat {false}
- AutoResize {false}
- Rect {15 42 142 34}
- Name {radio_allpages}
- Variable {radio_allpages}
- MinimumSize {80 20}
- 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 {&Odd pages}
- AutoRepeat {false}
- AutoResize {false}
- Rect {15 96 142 14}
- Name {radio_oddpages}
- Variable {radio_oddpages}
- 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 {&Even pages}
- AutoRepeat {false}
- AutoResize {false}
- Rect {15 130 142 14}
- Name {radio_evenpages}
- Variable {radio_evenpages}
- 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}
-}
-KDE::KIntLineEdit {
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {113 169 49 30}
- Name {line_from}
- Variable {line_from}
- 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::KIntLineEdit {
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {113 204 49 31}
- Name {line_to}
- Variable {line_to}
- 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}
-}
-CheckBox {
- Checked {false}
- Text {&Reverse order}
- AutoRepeat {false}
- AutoResize {true}
- Rect {10 240 152 30}
- Name {check_reverse}
- Variable {check_reverse}
- 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}
-}
-KDE::KIntLineEdit {
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {334 17 50 46}
- Name {line_count}
- Variable {line_count}
- Signal {[Protected] textChanged --> changedCount (const char*)}
- 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}
-}
-CheckBox {
- Checked {false}
- Text {Co&llate}
- AutoRepeat {false}
- AutoResize {true}
- Rect {440 17 50 46}
- Name {check_sort}
- Variable {check_sort}
- 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 {From}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 169 98 30}
- Name {fromLabel}
- Variable {fromLabel}
- 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}
-}
-Label {
- Text {To}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {10 204 98 31}
- Name {toLabel}
- Variable {toLabel}
- 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}
-}
-RadioButton {
- Checked {false}
- Text {&Printer}
- AutoRepeat {false}
- AutoResize {false}
- Rect {189 120 142 23}
- Name {radio_toprinter}
- Variable {radio_toprinter}
- 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 {&File}
- AutoRepeat {false}
- AutoResize {false}
- Rect {189 170 142 23}
- Name {radio_tofile}
- Variable {radio_tofile}
- 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}
-}
-LineEdit {
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {341 115 142 26}
- Name {line_printername}
- Variable {line_printername}
- 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}
-}
-LineEdit {
- Text {}
- EchoMode {Normal}
- MaxLength {32767}
- FrameShown {true}
- Rect {341 172 142 26}
- Name {line_filename}
- Variable {line_filename}
- 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}
-}
-PushButton {
- ToggleButton {false}
- Default {false}
- AutoDefault {false}
- IsMenuButton {false}
- Text {&Browse}
- AutoRepeat {false}
- AutoResize {false}
- Rect {330 225 153 23}
- Name {button_browse}
- Variable {button_browse}
- Signal {[Protected] clicked --> clickedBrowse ()}
- 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 {Count}
- Alignment {289}
- AutoResize {false}
- Margin {-1}
- Style {0}
- LineWidth {1}
- MidLineWidth {0}
- FrameMargin {0}
- Rect {228 17 50 46}
- Name {countLabel}
- Variable {countLabel}
- 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}
-}
-
-Grid_Layout-1{
- Border {5}
- AutoBorder {5}
- Name {}
- ColumnInfo {5 1}
- BoxStretch {1}
-}
-Grid_Row-1.1{
- Stretch {5}
- Spacing {0}
-}
-Box_Layout-1.1.1{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1{
- Widget {pagesGroupBox}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.1.1.1.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Spacing-1.1.1.1.1.1{
- Spacing {12}
-}
-Layout_Widget-1.1.1.1.1.2{
- Widget {pagesRadioGroup}
- BoxStretch {4}
- Alignment {33}
-}
-Box_Layout-1.1.1.1.1.2.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {2}
-}
-Box_Stretch-1.1.1.1.1.2.1.1{
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.1.2.1.2{
- Widget {radio_allpages}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.1.1.1.1.2.1.3{
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.1.2.1.4{
- Widget {radio_oddpages}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.1.1.1.1.2.1.5{
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.1.2.1.6{
- Widget {radio_evenpages}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.1.1.1.1.2.1.7{
- Stretch {1}
-}
-Box_Layout-1.1.1.1.1.3{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.1.3.1{
- Widget {fromLabel}
- BoxStretch {2}
- Alignment {36}
-}
-Layout_Widget-1.1.1.1.1.3.2{
- Widget {line_from}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.1.1.1.1.4{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.1.1.4.1{
- Widget {toLabel}
- BoxStretch {2}
- Alignment {36}
-}
-Layout_Widget-1.1.1.1.1.4.2{
- Widget {line_to}
- BoxStretch {1}
- Alignment {36}
-}
-Layout_Widget-1.1.1.1.1.5{
- Widget {check_reverse}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.1.1.2{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {2}
-}
-Layout_Widget-1.1.1.2.1{
- Widget {copies}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Layout-1.1.1.2.1.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Spacing-1.1.1.2.1.1.1{
- Spacing {7}
-}
-Box_Layout-1.1.1.2.1.1.2{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Stretch-1.1.1.2.1.1.2.1{
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.1.1.2.2{
- Widget {countLabel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.1.1.2.1.1.2.3{
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.1.1.2.4{
- Widget {line_count}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.1.1.2.1.1.2.5{
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.1.1.2.6{
- Widget {check_sort}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Spacing-1.1.1.2.1.1.3{
- Spacing {3}
-}
-Layout_Widget-1.1.1.2.2{
- Widget {printToGroupBox}
- BoxStretch {3}
- Alignment {36}
-}
-Box_Layout-1.1.1.2.2.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Spacing-1.1.1.2.2.1.1{
- Spacing {12}
-}
-Box_Stretch-1.1.1.2.2.1.2{
- Stretch {1}
-}
-Box_Layout-1.1.1.2.2.1.3{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {3}
-}
-Box_Spacing-1.1.1.2.2.1.3.1{
- Spacing {7}
-}
-Layout_Widget-1.1.1.2.2.1.3.2{
- Widget {printToRadioGroup}
- BoxStretch {1}
- Alignment {33}
-}
-Box_Layout-1.1.1.2.2.1.3.2.1{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.2.1.3.2.1.1{
- Widget {radio_toprinter}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Stretch-1.1.1.2.2.1.3.2.1.2{
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.2.1.3.2.1.3{
- Widget {radio_tofile}
- BoxStretch {1}
- Alignment {1}
-}
-Box_Layout-1.1.1.2.2.1.3.3{
- Direction {TopToBottom}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.2.1.3.3.1{
- Widget {line_printername}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.1.1.2.2.1.3.3.2{
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.2.1.3.3.3{
- Widget {line_filename}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Spacing-1.1.1.2.2.1.3.4{
- Spacing {7}
-}
-Box_Stretch-1.1.1.2.2.1.4{
- Stretch {1}
-}
-Box_Layout-1.1.1.2.2.1.5{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Stretch-1.1.1.2.2.1.5.1{
- Stretch {1}
-}
-Layout_Widget-1.1.1.2.2.1.5.2{
- Widget {button_browse}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Spacing-1.1.1.2.2.1.5.3{
- Spacing {7}
-}
-Box_Stretch-1.1.1.2.2.1.6{
- Stretch {1}
-}
-Grid_Row-1.2{
- Stretch {1}
- Spacing {0}
-}
-Box_Layout-1.2.1{
- Direction {LeftToRight}
- Border {5}
- AutoBorder {5}
- Name {}
- Strut {0}
- Stretch {1}
-}
-Box_Stretch-1.2.1.1{
- Stretch {1}
-}
-Layout_Widget-1.2.1.2{
- Widget {button_ok}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.1.3{
- Stretch {2}
-}
-Layout_Widget-1.2.1.4{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.2.1.5{
- Stretch {1}
-}
-}
+++ /dev/null
-DlgEdit:v1.2:Dialog:
-Dialog {
- ClassHeader {}
- ClassSource {}
- ClassName {}
- DataHeader {tabcreatedlgdata.h}
- DataSource {tabcreatedlgdata.C}
- DataName {TabularCreateDialogData}
- WindowBaseClass {QDialog}
- UseGetText {true}
- WindowFlags {0}
-}
-WidgetLayout {
-InitialPos {-1 -1}
-Size {310 275}
-MinSize {0 0}
-MaxSize {32767 32767}
-Grid {5}
-
-PushButton {
- ToggleButton {false}
- Default {true}
- AutoDefault {false}
- IsMenuButton {false}
- Text {&Insert}
- AutoRepeat {false}
- AutoResize {false}
- Rect {64 249 59 21}
- Name {button_ok}
- Variable {button_ok}
- 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 {button_cancel}
- Variable {button_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 {spin_rows}
- Variable {spin_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 {spin_cols}
- Variable {spin_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 {spin_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 {spin_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 {button_ok}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.3.3{
- Stretch {1}
-}
-Layout_Widget-1.3.4{
- Widget {button_cancel}
- BoxStretch {1}
- Alignment {36}
-}
-Box_Stretch-1.3.5{
- Stretch {1}
-}
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docbulletsdlgdata.C
- Last generated: Sat Mar 31 16:48:22 2001
-
- 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 "docbulletsdlgdata.h"
-
-#define Inherited QWidget
-
-
-DocBulletsDialogData::DocBulletsDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, 0 )
-{
- resize( 545,460 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-DocBulletsDialogData::~DocBulletsDialogData()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docbulletsdlgdata.h
- Last generated: Sat Mar 31 16:48:22 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef DocBulletsDialogData_included
-#define DocBulletsDialogData_included
-
-#include <qwidget.h>
-
-class DocBulletsDialogData : public QWidget
-{
- Q_OBJECT
-
-public:
-
- DocBulletsDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~DocBulletsDialogData();
-
-public slots:
-
-
-protected slots:
-
-
-public:
-
-};
-
-#endif // DocBulletsDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docdlgdata.C
- Last generated: Sat Mar 31 16:48:15 2001
-
- 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 "docdlgdata.h"
-
-#define Inherited QDialog
-
-
-DocDialogData::DocDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, TRUE, 0 )
-{
- button_ok = new QPushButton( this, "button_ok" );
- button_ok->setGeometry( 73, 555, 69, 55 );
- button_ok->setMinimumSize( 0, 0 );
- button_ok->setMaximumSize( 32767, 32767 );
- connect( button_ok, SIGNAL(clicked()), SLOT(ok_adaptor()) );
- button_ok->setFocusPolicy( QWidget::TabFocus );
- button_ok->setBackgroundMode( QWidget::PaletteBackground );
- button_ok->setFontPropagation( QWidget::NoChildren );
- button_ok->setPalettePropagation( QWidget::NoChildren );
- button_ok->setText( _("&OK") );
- button_ok->setAutoRepeat( false );
- button_ok->setAutoResize( false );
- button_ok->setToggleButton( false );
- button_ok->setDefault( true );
- button_ok->setAutoDefault( false );
- button_ok->setIsMenuButton( false );
-
- button_apply = new QPushButton( this, "button_apply" );
- button_apply->setGeometry( 215, 555, 68, 55 );
- button_apply->setMinimumSize( 0, 0 );
- button_apply->setMaximumSize( 32767, 32767 );
- connect( button_apply, SIGNAL(clicked()), SLOT(apply_adaptor()) );
- button_apply->setFocusPolicy( QWidget::TabFocus );
- button_apply->setBackgroundMode( QWidget::PaletteBackground );
- button_apply->setFontPropagation( QWidget::NoChildren );
- button_apply->setPalettePropagation( QWidget::NoChildren );
- button_apply->setText( _("&Apply") );
- button_apply->setAutoRepeat( false );
- button_apply->setAutoResize( false );
- button_apply->setToggleButton( false );
- button_apply->setDefault( false );
- button_apply->setAutoDefault( false );
- button_apply->setIsMenuButton( false );
-
- button_restore = new QPushButton( this, "button_restore" );
- button_restore->setGeometry( 357, 555, 68, 55 );
- button_restore->setMinimumSize( 0, 0 );
- button_restore->setMaximumSize( 32767, 32767 );
- connect( button_restore, SIGNAL(clicked()), SLOT(restore_adaptor()) );
- button_restore->setFocusPolicy( QWidget::TabFocus );
- button_restore->setBackgroundMode( QWidget::PaletteBackground );
- button_restore->setFontPropagation( QWidget::NoChildren );
- button_restore->setPalettePropagation( QWidget::NoChildren );
- button_restore->setText( _("&Restore") );
- button_restore->setAutoRepeat( false );
- button_restore->setAutoResize( false );
- button_restore->setToggleButton( false );
- button_restore->setDefault( false );
- button_restore->setAutoDefault( false );
- button_restore->setIsMenuButton( false );
-
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 498, 555, 69, 55 );
- button_cancel->setMinimumSize( 0, 0 );
- button_cancel->setMaximumSize( 32767, 32767 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(cancel_adaptor()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Cancel") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( false );
- button_cancel->setAutoDefault( false );
- button_cancel->setIsMenuButton( false );
-
- tabstack = new TabStack( this, "tabstack" );
- 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 );
-
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMinimumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMinimumHeight(button_ok->sizeHint().height());
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMaximumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMaximumHeight(button_ok->sizeHint().height());
- if (button_apply->sizeHint().width()!=-1)
- button_apply->setMinimumWidth(button_apply->sizeHint().width());
- if (button_apply->sizeHint().height()!=-1)
- button_apply->setMinimumHeight(button_apply->sizeHint().height());
- if (button_apply->sizeHint().width()!=-1)
- button_apply->setMaximumWidth(button_apply->sizeHint().width());
- if (button_apply->sizeHint().height()!=-1)
- button_apply->setMaximumHeight(button_apply->sizeHint().height());
- if (button_restore->sizeHint().width()!=-1)
- button_restore->setMinimumWidth(button_restore->sizeHint().width());
- if (button_restore->sizeHint().height()!=-1)
- button_restore->setMinimumHeight(button_restore->sizeHint().height());
- if (button_restore->sizeHint().width()!=-1)
- button_restore->setMaximumWidth(button_restore->sizeHint().width());
- if (button_restore->sizeHint().height()!=-1)
- button_restore->setMaximumHeight(button_restore->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_cancel->sizeHint().height());
- if (tabstack->sizeHint().width()!=-1)
- tabstack->setMinimumWidth(tabstack->sizeHint().width());
- if (tabstack->sizeHint().height()!=-1)
- tabstack->setMinimumHeight(tabstack->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( button_ok, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( button_apply, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( button_restore, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( button_cancel, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- resize( 640,615 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-DocDialogData::~DocDialogData()
-{
-}
-void DocDialogData::ok_adaptor()
-{
-}
-void DocDialogData::apply_adaptor()
-{
-}
-void DocDialogData::restore_adaptor()
-{
-}
-void DocDialogData::cancel_adaptor()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docdlgdata.h
- Last generated: Sat Mar 31 16:48:15 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef DocDialogData_included
-#define DocDialogData_included
-
-#include <qdialog.h>
-#include "tabstack.h"
-#include <qpushbutton.h>
-
-class DocDialogData : public QDialog
-{
- Q_OBJECT
-
-public:
-
- DocDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~DocDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void ok_adaptor();
- virtual void restore_adaptor();
- virtual void apply_adaptor();
- virtual void cancel_adaptor();
-
-public:
- QPushButton* button_ok;
- QPushButton* button_apply;
- QPushButton* button_restore;
- QPushButton* button_cancel;
- TabStack* tabstack;
-
-};
-
-#endif // DocDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docextradlgdata.C
- Last generated: Sat Mar 31 16:48:27 2001
-
- 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 "docextradlgdata.h"
-
-#define Inherited QWidget
-
-#include <qlabel.h>
-#include <qgroupbox.h>
-
-DocExtraDialogData::DocExtraDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, 0 )
-{
- QGroupBox* qtarch_group_placement;
- qtarch_group_placement = new QGroupBox( this, "group_placement" );
- qtarch_group_placement->setGeometry( 5, 5, 625, 378 );
- qtarch_group_placement->setMinimumSize( 25, 30 );
- qtarch_group_placement->setMaximumSize( 32767, 32767 );
- qtarch_group_placement->setFocusPolicy( QWidget::NoFocus );
- qtarch_group_placement->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_group_placement->setFontPropagation( QWidget::NoChildren );
- qtarch_group_placement->setPalettePropagation( QWidget::NoChildren );
- qtarch_group_placement->setFrameStyle( 49 );
- qtarch_group_placement->setLineWidth( 1 );
- qtarch_group_placement->setMidLineWidth( 0 );
- qtarch_group_placement->QFrame::setMargin( 0 );
- qtarch_group_placement->setTitle( _("Float Placement") );
- qtarch_group_placement->setAlignment( 1 );
-
- combo_first = new QComboBox( FALSE, qtarch_group_placement, "combo_first" );
- combo_first->setGeometry( 315, 5, 150, 65 );
- combo_first->setMinimumSize( 0, 0 );
- combo_first->setMaximumSize( 32767, 32767 );
- combo_first->setFocusPolicy( QWidget::StrongFocus );
- combo_first->setBackgroundMode( QWidget::PaletteBackground );
- combo_first->setFontPropagation( QWidget::AllChildren );
- combo_first->setPalettePropagation( QWidget::AllChildren );
- combo_first->setSizeLimit( 10 );
- combo_first->setAutoResize( false );
- combo_first->setMaxCount( 2147483647 );
- combo_first->setAutoCompletion( false );
-
- combo_second = new QComboBox( FALSE, qtarch_group_placement, "combo_second" );
- combo_second->setGeometry( 315, 75, 150, 66 );
- combo_second->setMinimumSize( 0, 0 );
- combo_second->setMaximumSize( 32767, 32767 );
- combo_second->setFocusPolicy( QWidget::StrongFocus );
- combo_second->setBackgroundMode( QWidget::PaletteBackground );
- combo_second->setFontPropagation( QWidget::AllChildren );
- combo_second->setPalettePropagation( QWidget::AllChildren );
- combo_second->setSizeLimit( 10 );
- combo_second->setAutoResize( false );
- combo_second->setMaxCount( 2147483647 );
- combo_second->setAutoCompletion( false );
-
- combo_third = new QComboBox( FALSE, qtarch_group_placement, "combo_third" );
- combo_third->setGeometry( 315, 146, 150, 65 );
- combo_third->setMinimumSize( 0, 0 );
- combo_third->setMaximumSize( 32767, 32767 );
- combo_third->setFocusPolicy( QWidget::StrongFocus );
- combo_third->setBackgroundMode( QWidget::PaletteBackground );
- combo_third->setFontPropagation( QWidget::AllChildren );
- combo_third->setPalettePropagation( QWidget::AllChildren );
- combo_third->setSizeLimit( 10 );
- combo_third->setAutoResize( false );
- combo_third->setMaxCount( 2147483647 );
- combo_third->setAutoCompletion( false );
-
- combo_fourth = new QComboBox( FALSE, qtarch_group_placement, "combo_fourth" );
- combo_fourth->setGeometry( 315, 216, 150, 65 );
- combo_fourth->setMinimumSize( 0, 0 );
- combo_fourth->setMaximumSize( 32767, 32767 );
- combo_fourth->setFocusPolicy( QWidget::StrongFocus );
- combo_fourth->setBackgroundMode( QWidget::PaletteBackground );
- combo_fourth->setFontPropagation( QWidget::AllChildren );
- combo_fourth->setPalettePropagation( QWidget::AllChildren );
- combo_fourth->setSizeLimit( 10 );
- combo_fourth->setAutoResize( false );
- combo_fourth->setMaxCount( 2147483647 );
- combo_fourth->setAutoCompletion( false );
-
- check_ignore = new QCheckBox( qtarch_group_placement, "check_ignore" );
- check_ignore->setGeometry( 5, 286, 615, 87 );
- check_ignore->setMinimumSize( 0, 0 );
- check_ignore->setMaximumSize( 32767, 32767 );
- check_ignore->setFocusPolicy( QWidget::TabFocus );
- check_ignore->setBackgroundMode( QWidget::PaletteBackground );
- check_ignore->setFontPropagation( QWidget::NoChildren );
- check_ignore->setPalettePropagation( QWidget::NoChildren );
- check_ignore->setText( _("Ignore LaTeX placement rules") );
- check_ignore->setAutoRepeat( false );
- check_ignore->setAutoResize( false );
- check_ignore->setChecked( false );
-
- QLabel* qtarch_labelsectiondepth;
- qtarch_labelsectiondepth = new QLabel( this, "labelsectiondepth" );
- qtarch_labelsectiondepth->setGeometry( 5, 388, 153, 58 );
- qtarch_labelsectiondepth->setMinimumSize( 0, 0 );
- qtarch_labelsectiondepth->setMaximumSize( 32767, 32767 );
- qtarch_labelsectiondepth->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelsectiondepth->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelsectiondepth->setFontPropagation( QWidget::NoChildren );
- qtarch_labelsectiondepth->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelsectiondepth->setFrameStyle( 0 );
- qtarch_labelsectiondepth->setLineWidth( 1 );
- qtarch_labelsectiondepth->setMidLineWidth( 0 );
- qtarch_labelsectiondepth->QFrame::setMargin( 0 );
- qtarch_labelsectiondepth->setText( _("Section number depth :") );
- qtarch_labelsectiondepth->setAlignment( 289 );
- qtarch_labelsectiondepth->setMargin( -1 );
-
- QLabel* qtarch_labeltocdepth;
- qtarch_labeltocdepth = new QLabel( this, "labeltocdepth" );
- qtarch_labeltocdepth->setGeometry( 5, 451, 153, 58 );
- qtarch_labeltocdepth->setMinimumSize( 0, 0 );
- qtarch_labeltocdepth->setMaximumSize( 32767, 32767 );
- qtarch_labeltocdepth->setFocusPolicy( QWidget::NoFocus );
- qtarch_labeltocdepth->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labeltocdepth->setFontPropagation( QWidget::NoChildren );
- qtarch_labeltocdepth->setPalettePropagation( QWidget::NoChildren );
- qtarch_labeltocdepth->setFrameStyle( 0 );
- qtarch_labeltocdepth->setLineWidth( 1 );
- qtarch_labeltocdepth->setMidLineWidth( 0 );
- qtarch_labeltocdepth->QFrame::setMargin( 0 );
- qtarch_labeltocdepth->setText( _("Table of Contents depth :") );
- qtarch_labeltocdepth->setAlignment( 289 );
- qtarch_labeltocdepth->setMargin( -1 );
-
- QLabel* qtarch_labelPSDriver;
- qtarch_labelPSDriver = new QLabel( this, "labelPSDriver" );
- qtarch_labelPSDriver->setGeometry( 5, 514, 153, 58 );
- qtarch_labelPSDriver->setMinimumSize( 0, 0 );
- qtarch_labelPSDriver->setMaximumSize( 32767, 32767 );
- qtarch_labelPSDriver->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelPSDriver->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelPSDriver->setFontPropagation( QWidget::NoChildren );
- qtarch_labelPSDriver->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelPSDriver->setFrameStyle( 0 );
- qtarch_labelPSDriver->setLineWidth( 1 );
- qtarch_labelPSDriver->setMidLineWidth( 0 );
- qtarch_labelPSDriver->QFrame::setMargin( 0 );
- qtarch_labelPSDriver->setText( _("PostScript driver :") );
- qtarch_labelPSDriver->setAlignment( 289 );
- qtarch_labelPSDriver->setMargin( -1 );
-
- spin_sectiondepth = new QSpinBox( this, "spin_sectiondepth" );
- spin_sectiondepth->setGeometry( 320, 388, 153, 58 );
- spin_sectiondepth->setMinimumSize( 0, 0 );
- spin_sectiondepth->setMaximumSize( 32767, 32767 );
- spin_sectiondepth->setFocusPolicy( QWidget::StrongFocus );
- spin_sectiondepth->setBackgroundMode( QWidget::PaletteBackground );
- spin_sectiondepth->setFontPropagation( QWidget::NoChildren );
- spin_sectiondepth->setPalettePropagation( QWidget::NoChildren );
- spin_sectiondepth->setFrameStyle( 51 );
- spin_sectiondepth->setLineWidth( 2 );
- spin_sectiondepth->setMidLineWidth( 0 );
- spin_sectiondepth->QFrame::setMargin( 0 );
- spin_sectiondepth->setRange( -2, 5 );
- spin_sectiondepth->setSteps( 1, 0 );
- spin_sectiondepth->setPrefix( "" );
- spin_sectiondepth->setSuffix( "" );
- spin_sectiondepth->setSpecialValueText( "" );
- spin_sectiondepth->setWrapping( false );
-
- spin_tocdepth = new QSpinBox( this, "spin_tocdepth" );
- spin_tocdepth->setGeometry( 320, 451, 153, 58 );
- spin_tocdepth->setMinimumSize( 0, 0 );
- spin_tocdepth->setMaximumSize( 32767, 32767 );
- spin_tocdepth->setFocusPolicy( QWidget::StrongFocus );
- spin_tocdepth->setBackgroundMode( QWidget::PaletteBackground );
- spin_tocdepth->setFontPropagation( QWidget::NoChildren );
- spin_tocdepth->setPalettePropagation( QWidget::NoChildren );
- spin_tocdepth->setFrameStyle( 51 );
- spin_tocdepth->setLineWidth( 2 );
- spin_tocdepth->setMidLineWidth( 0 );
- spin_tocdepth->QFrame::setMargin( 0 );
- spin_tocdepth->setRange( -1, 5 );
- spin_tocdepth->setSteps( 1, 0 );
- spin_tocdepth->setPrefix( "" );
- spin_tocdepth->setSuffix( "" );
- spin_tocdepth->setSpecialValueText( "" );
- spin_tocdepth->setWrapping( false );
-
- combo_psdriver = new QComboBox( FALSE, this, "combo_psdriver" );
- combo_psdriver->setGeometry( 320, 514, 153, 58 );
- combo_psdriver->setMinimumSize( 0, 0 );
- combo_psdriver->setMaximumSize( 32767, 32767 );
- combo_psdriver->setFocusPolicy( QWidget::StrongFocus );
- combo_psdriver->setBackgroundMode( QWidget::PaletteBackground );
- combo_psdriver->setFontPropagation( QWidget::AllChildren );
- combo_psdriver->setPalettePropagation( QWidget::AllChildren );
- combo_psdriver->setSizeLimit( 10 );
- combo_psdriver->setAutoResize( true );
- combo_psdriver->setMaxCount( 2147483647 );
- combo_psdriver->setAutoCompletion( false );
-
- check_amsmath = new QCheckBox( this, "check_amsmath" );
- check_amsmath->setGeometry( 5, 577, 153, 58 );
- check_amsmath->setMinimumSize( 0, 0 );
- check_amsmath->setMaximumSize( 32767, 32767 );
- check_amsmath->setFocusPolicy( QWidget::TabFocus );
- check_amsmath->setBackgroundMode( QWidget::PaletteBackground );
- check_amsmath->setFontPropagation( QWidget::NoChildren );
- check_amsmath->setPalettePropagation( QWidget::NoChildren );
- check_amsmath->setText( _("Use AMS Math") );
- check_amsmath->setAutoRepeat( false );
- check_amsmath->setAutoResize( false );
- check_amsmath->setChecked( false );
-
- QLabel* qtarch_labelFirst;
- qtarch_labelFirst = new QLabel( qtarch_group_placement, "labelFirst" );
- qtarch_labelFirst->setGeometry( 5, 5, 150, 65 );
- qtarch_labelFirst->setMinimumSize( 0, 0 );
- qtarch_labelFirst->setMaximumSize( 32767, 32767 );
- qtarch_labelFirst->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelFirst->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelFirst->setFontPropagation( QWidget::NoChildren );
- qtarch_labelFirst->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelFirst->setFrameStyle( 0 );
- qtarch_labelFirst->setLineWidth( 1 );
- qtarch_labelFirst->setMidLineWidth( 0 );
- qtarch_labelFirst->QFrame::setMargin( 0 );
- qtarch_labelFirst->setText( _("First try :") );
- qtarch_labelFirst->setAlignment( 289 );
- qtarch_labelFirst->setMargin( -1 );
-
- QLabel* qtarch_labelSecond;
- qtarch_labelSecond = new QLabel( qtarch_group_placement, "labelSecond" );
- qtarch_labelSecond->setGeometry( 5, 75, 150, 66 );
- qtarch_labelSecond->setMinimumSize( 0, 0 );
- qtarch_labelSecond->setMaximumSize( 32767, 32767 );
- qtarch_labelSecond->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelSecond->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelSecond->setFontPropagation( QWidget::NoChildren );
- qtarch_labelSecond->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelSecond->setFrameStyle( 0 );
- qtarch_labelSecond->setLineWidth( 1 );
- qtarch_labelSecond->setMidLineWidth( 0 );
- qtarch_labelSecond->QFrame::setMargin( 0 );
- qtarch_labelSecond->setText( _("then :") );
- qtarch_labelSecond->setAlignment( 289 );
- qtarch_labelSecond->setMargin( -1 );
-
- QLabel* qtarch_labelThird;
- qtarch_labelThird = new QLabel( qtarch_group_placement, "labelThird" );
- qtarch_labelThird->setGeometry( 5, 146, 150, 65 );
- qtarch_labelThird->setMinimumSize( 0, 0 );
- qtarch_labelThird->setMaximumSize( 32767, 32767 );
- qtarch_labelThird->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelThird->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelThird->setFontPropagation( QWidget::NoChildren );
- qtarch_labelThird->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelThird->setFrameStyle( 0 );
- qtarch_labelThird->setLineWidth( 1 );
- qtarch_labelThird->setMidLineWidth( 0 );
- qtarch_labelThird->QFrame::setMargin( 0 );
- qtarch_labelThird->setText( _("then :") );
- qtarch_labelThird->setAlignment( 289 );
- qtarch_labelThird->setMargin( -1 );
-
- QLabel* qtarch_labelFourth;
- qtarch_labelFourth = new QLabel( qtarch_group_placement, "labelFourth" );
- qtarch_labelFourth->setGeometry( 5, 216, 150, 65 );
- qtarch_labelFourth->setMinimumSize( 0, 0 );
- qtarch_labelFourth->setMaximumSize( 32767, 32767 );
- qtarch_labelFourth->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelFourth->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelFourth->setFontPropagation( QWidget::NoChildren );
- qtarch_labelFourth->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelFourth->setFrameStyle( 0 );
- qtarch_labelFourth->setLineWidth( 1 );
- qtarch_labelFourth->setMidLineWidth( 0 );
- qtarch_labelFourth->QFrame::setMargin( 0 );
- qtarch_labelFourth->setText( _("then :") );
- qtarch_labelFourth->setAlignment( 289 );
- qtarch_labelFourth->setMargin( -1 );
-
- if (qtarch_group_placement->sizeHint().width()!=-1)
- qtarch_group_placement->setMinimumWidth(qtarch_group_placement->sizeHint().width());
- if (qtarch_group_placement->sizeHint().height()!=-1)
- qtarch_group_placement->setMinimumHeight(qtarch_group_placement->sizeHint().height());
- if (combo_first->sizeHint().width()!=-1)
- combo_first->setMinimumWidth(combo_first->sizeHint().width());
- if (combo_first->sizeHint().height()!=-1)
- combo_first->setMinimumHeight(combo_first->sizeHint().height());
- if (combo_first->sizeHint().height()!=-1)
- combo_first->setMaximumHeight(combo_first->sizeHint().height());
- if (combo_second->sizeHint().width()!=-1)
- combo_second->setMinimumWidth(combo_second->sizeHint().width());
- if (combo_second->sizeHint().height()!=-1)
- combo_second->setMinimumHeight(combo_second->sizeHint().height());
- if (combo_second->sizeHint().height()!=-1)
- combo_second->setMaximumHeight(combo_second->sizeHint().height());
- if (combo_third->sizeHint().width()!=-1)
- combo_third->setMinimumWidth(combo_third->sizeHint().width());
- if (combo_third->sizeHint().height()!=-1)
- combo_third->setMinimumHeight(combo_third->sizeHint().height());
- if (combo_third->sizeHint().height()!=-1)
- combo_third->setMaximumHeight(combo_third->sizeHint().height());
- if (combo_fourth->sizeHint().width()!=-1)
- combo_fourth->setMinimumWidth(combo_fourth->sizeHint().width());
- if (combo_fourth->sizeHint().height()!=-1)
- combo_fourth->setMinimumHeight(combo_fourth->sizeHint().height());
- if (combo_fourth->sizeHint().height()!=-1)
- combo_fourth->setMaximumHeight(combo_fourth->sizeHint().height());
- if (check_ignore->sizeHint().width()!=-1)
- check_ignore->setMinimumWidth(check_ignore->sizeHint().width());
- if (check_ignore->sizeHint().height()!=-1)
- check_ignore->setMinimumHeight(check_ignore->sizeHint().height());
- if (check_ignore->sizeHint().width()!=-1)
- check_ignore->setMaximumWidth(check_ignore->sizeHint().width());
- if (check_ignore->sizeHint().height()!=-1)
- check_ignore->setMaximumHeight(check_ignore->sizeHint().height());
- if (qtarch_labelsectiondepth->sizeHint().width()!=-1)
- qtarch_labelsectiondepth->setMinimumWidth(qtarch_labelsectiondepth->sizeHint().width());
- if (qtarch_labelsectiondepth->sizeHint().height()!=-1)
- qtarch_labelsectiondepth->setMinimumHeight(qtarch_labelsectiondepth->sizeHint().height());
- if (qtarch_labelsectiondepth->sizeHint().width()!=-1)
- qtarch_labelsectiondepth->setMaximumWidth(qtarch_labelsectiondepth->sizeHint().width());
- if (qtarch_labelsectiondepth->sizeHint().height()!=-1)
- qtarch_labelsectiondepth->setMaximumHeight(qtarch_labelsectiondepth->sizeHint().height());
- if (qtarch_labeltocdepth->sizeHint().width()!=-1)
- qtarch_labeltocdepth->setMinimumWidth(qtarch_labeltocdepth->sizeHint().width());
- if (qtarch_labeltocdepth->sizeHint().height()!=-1)
- qtarch_labeltocdepth->setMinimumHeight(qtarch_labeltocdepth->sizeHint().height());
- if (qtarch_labeltocdepth->sizeHint().width()!=-1)
- qtarch_labeltocdepth->setMaximumWidth(qtarch_labeltocdepth->sizeHint().width());
- if (qtarch_labeltocdepth->sizeHint().height()!=-1)
- qtarch_labeltocdepth->setMaximumHeight(qtarch_labeltocdepth->sizeHint().height());
- if (qtarch_labelPSDriver->sizeHint().width()!=-1)
- qtarch_labelPSDriver->setMinimumWidth(qtarch_labelPSDriver->sizeHint().width());
- if (qtarch_labelPSDriver->sizeHint().height()!=-1)
- qtarch_labelPSDriver->setMinimumHeight(qtarch_labelPSDriver->sizeHint().height());
- if (qtarch_labelPSDriver->sizeHint().width()!=-1)
- qtarch_labelPSDriver->setMaximumWidth(qtarch_labelPSDriver->sizeHint().width());
- if (qtarch_labelPSDriver->sizeHint().height()!=-1)
- qtarch_labelPSDriver->setMaximumHeight(qtarch_labelPSDriver->sizeHint().height());
- if (spin_sectiondepth->sizeHint().width()!=-1)
- spin_sectiondepth->setMinimumWidth(spin_sectiondepth->sizeHint().width());
- if (spin_sectiondepth->sizeHint().height()!=-1)
- spin_sectiondepth->setMinimumHeight(spin_sectiondepth->sizeHint().height());
- if (spin_sectiondepth->sizeHint().height()!=-1)
- spin_sectiondepth->setMaximumHeight(spin_sectiondepth->sizeHint().height());
- if (spin_tocdepth->sizeHint().width()!=-1)
- spin_tocdepth->setMinimumWidth(spin_tocdepth->sizeHint().width());
- if (spin_tocdepth->sizeHint().height()!=-1)
- spin_tocdepth->setMinimumHeight(spin_tocdepth->sizeHint().height());
- if (spin_tocdepth->sizeHint().height()!=-1)
- spin_tocdepth->setMaximumHeight(spin_tocdepth->sizeHint().height());
- if (combo_psdriver->sizeHint().width()!=-1)
- combo_psdriver->setMinimumWidth(combo_psdriver->sizeHint().width());
- if (combo_psdriver->sizeHint().height()!=-1)
- combo_psdriver->setMinimumHeight(combo_psdriver->sizeHint().height());
- if (combo_psdriver->sizeHint().height()!=-1)
- combo_psdriver->setMaximumHeight(combo_psdriver->sizeHint().height());
- if (check_amsmath->sizeHint().width()!=-1)
- check_amsmath->setMinimumWidth(check_amsmath->sizeHint().width());
- if (check_amsmath->sizeHint().height()!=-1)
- check_amsmath->setMinimumHeight(check_amsmath->sizeHint().height());
- if (check_amsmath->sizeHint().width()!=-1)
- check_amsmath->setMaximumWidth(check_amsmath->sizeHint().width());
- if (check_amsmath->sizeHint().height()!=-1)
- check_amsmath->setMaximumHeight(check_amsmath->sizeHint().height());
- if (qtarch_labelFirst->sizeHint().width()!=-1)
- qtarch_labelFirst->setMinimumWidth(qtarch_labelFirst->sizeHint().width());
- if (qtarch_labelFirst->sizeHint().height()!=-1)
- qtarch_labelFirst->setMinimumHeight(qtarch_labelFirst->sizeHint().height());
- if (qtarch_labelFirst->sizeHint().width()!=-1)
- qtarch_labelFirst->setMaximumWidth(qtarch_labelFirst->sizeHint().width());
- if (qtarch_labelFirst->sizeHint().height()!=-1)
- qtarch_labelFirst->setMaximumHeight(qtarch_labelFirst->sizeHint().height());
- if (qtarch_labelSecond->sizeHint().width()!=-1)
- qtarch_labelSecond->setMinimumWidth(qtarch_labelSecond->sizeHint().width());
- if (qtarch_labelSecond->sizeHint().height()!=-1)
- qtarch_labelSecond->setMinimumHeight(qtarch_labelSecond->sizeHint().height());
- if (qtarch_labelSecond->sizeHint().width()!=-1)
- qtarch_labelSecond->setMaximumWidth(qtarch_labelSecond->sizeHint().width());
- if (qtarch_labelSecond->sizeHint().height()!=-1)
- qtarch_labelSecond->setMaximumHeight(qtarch_labelSecond->sizeHint().height());
- if (qtarch_labelThird->sizeHint().width()!=-1)
- qtarch_labelThird->setMinimumWidth(qtarch_labelThird->sizeHint().width());
- if (qtarch_labelThird->sizeHint().height()!=-1)
- qtarch_labelThird->setMinimumHeight(qtarch_labelThird->sizeHint().height());
- if (qtarch_labelThird->sizeHint().width()!=-1)
- qtarch_labelThird->setMaximumWidth(qtarch_labelThird->sizeHint().width());
- if (qtarch_labelThird->sizeHint().height()!=-1)
- qtarch_labelThird->setMaximumHeight(qtarch_labelThird->sizeHint().height());
- if (qtarch_labelFourth->sizeHint().width()!=-1)
- qtarch_labelFourth->setMinimumWidth(qtarch_labelFourth->sizeHint().width());
- if (qtarch_labelFourth->sizeHint().height()!=-1)
- qtarch_labelFourth->setMinimumHeight(qtarch_labelFourth->sizeHint().height());
- if (qtarch_labelFourth->sizeHint().width()!=-1)
- qtarch_labelFourth->setMaximumWidth(qtarch_labelFourth->sizeHint().width());
- if (qtarch_labelFourth->sizeHint().height()!=-1)
- qtarch_labelFourth->setMaximumHeight(qtarch_labelFourth->sizeHint().height());
- QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1->addStrut( 0 );
- qtarch_layout_1->addWidget( qtarch_group_placement, 3, 36 );
- QBoxLayout* qtarch_layout_1_1 = new QBoxLayout( qtarch_group_placement, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1->addStrut( 0 );
- QGridLayout* qtarch_layout_1_1_1 = new QGridLayout( 4, 4, 5, NULL );
- qtarch_layout_1_1->addLayout( qtarch_layout_1_1_1, 3 );
- qtarch_layout_1_1_1->addColSpacing( 0, 5 );
- qtarch_layout_1_1_1->setColStretch( 0, 1 );
- qtarch_layout_1_1_1->addColSpacing( 1, 5 );
- qtarch_layout_1_1_1->setColStretch( 1, 1 );
- qtarch_layout_1_1_1->addColSpacing( 2, 5 );
- qtarch_layout_1_1_1->setColStretch( 2, 1 );
- qtarch_layout_1_1_1->addColSpacing( 3, 5 );
- qtarch_layout_1_1_1->setColStretch( 3, 1 );
- qtarch_layout_1_1_1->addRowSpacing( 0, 0 );
- qtarch_layout_1_1_1->setRowStretch( 0, 1 );
- qtarch_layout_1_1_1->addWidget( qtarch_labelFirst, 0, 0, 36 );
- qtarch_layout_1_1_1->addWidget( combo_first, 0, 2, 36 );
- qtarch_layout_1_1_1->addRowSpacing( 1, 0 );
- qtarch_layout_1_1_1->setRowStretch( 1, 1 );
- qtarch_layout_1_1_1->addWidget( qtarch_labelSecond, 1, 0, 36 );
- qtarch_layout_1_1_1->addWidget( combo_second, 1, 2, 36 );
- qtarch_layout_1_1_1->addRowSpacing( 2, 0 );
- qtarch_layout_1_1_1->setRowStretch( 2, 1 );
- qtarch_layout_1_1_1->addWidget( qtarch_labelThird, 2, 0, 36 );
- qtarch_layout_1_1_1->addWidget( combo_third, 2, 2, 36 );
- qtarch_layout_1_1_1->addRowSpacing( 3, 0 );
- qtarch_layout_1_1_1->setRowStretch( 3, 1 );
- qtarch_layout_1_1_1->addWidget( qtarch_labelFourth, 3, 0, 36 );
- qtarch_layout_1_1_1->addWidget( combo_fourth, 3, 2, 36 );
- QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1->addLayout( qtarch_layout_1_1_2, 1 );
- qtarch_layout_1_1_2->addStrut( 0 );
- qtarch_layout_1_1_2->addWidget( check_ignore, 1, 36 );
- QGridLayout* qtarch_layout_1_2 = new QGridLayout( 4, 4, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_2, 2 );
- qtarch_layout_1_2->addColSpacing( 0, 5 );
- qtarch_layout_1_2->setColStretch( 0, 1 );
- qtarch_layout_1_2->addColSpacing( 1, 5 );
- qtarch_layout_1_2->setColStretch( 1, 1 );
- qtarch_layout_1_2->addColSpacing( 2, 5 );
- qtarch_layout_1_2->setColStretch( 2, 1 );
- qtarch_layout_1_2->addColSpacing( 3, 5 );
- qtarch_layout_1_2->setColStretch( 3, 1 );
- qtarch_layout_1_2->addRowSpacing( 0, 0 );
- qtarch_layout_1_2->setRowStretch( 0, 1 );
- qtarch_layout_1_2->addWidget( qtarch_labelsectiondepth, 0, 0, 36 );
- qtarch_layout_1_2->addWidget( spin_sectiondepth, 0, 2, 36 );
- qtarch_layout_1_2->addRowSpacing( 1, 0 );
- qtarch_layout_1_2->setRowStretch( 1, 1 );
- qtarch_layout_1_2->addWidget( qtarch_labeltocdepth, 1, 0, 36 );
- qtarch_layout_1_2->addWidget( spin_tocdepth, 1, 2, 36 );
- qtarch_layout_1_2->addRowSpacing( 2, 0 );
- qtarch_layout_1_2->setRowStretch( 2, 1 );
- qtarch_layout_1_2->addWidget( qtarch_labelPSDriver, 2, 0, 36 );
- qtarch_layout_1_2->addWidget( combo_psdriver, 2, 2, 36 );
- qtarch_layout_1_2->addRowSpacing( 3, 0 );
- qtarch_layout_1_2->setRowStretch( 3, 1 );
- qtarch_layout_1_2->addWidget( check_amsmath, 3, 0, 36 );
- resize( 635,640 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-DocExtraDialogData::~DocExtraDialogData()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docextradlgdata.h
- Last generated: Sat Mar 31 16:48:27 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef DocExtraDialogData_included
-#define DocExtraDialogData_included
-
-#include <qwidget.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qspinbox.h>
-
-class DocExtraDialogData : public QWidget
-{
- Q_OBJECT
-
-public:
-
- DocExtraDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~DocExtraDialogData();
-
-public slots:
-
-
-protected slots:
-
-
-public:
- QComboBox* combo_first;
- QComboBox* combo_second;
- QComboBox* combo_third;
- QComboBox* combo_fourth;
- QCheckBox* check_ignore;
- QSpinBox* spin_sectiondepth;
- QSpinBox* spin_tocdepth;
- QComboBox* combo_psdriver;
- QCheckBox* check_amsmath;
-
-};
-
-#endif // DocExtraDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docgeometrydlgdata.C
- Last generated: Sat Mar 31 16:48:30 2001
-
- 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 "docgeometrydlgdata.h"
-
-#define Inherited QWidget
-
-#include <qlabel.h>
-#include <qgroupbox.h>
-#include <qbuttongroup.h>
-
-DocGeometryDialogData::DocGeometryDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, 0 )
-{
- QGroupBox* qtarch_headfootGroup;
- qtarch_headfootGroup = new QGroupBox( this, "headfootGroup" );
- qtarch_headfootGroup->setGeometry( 305, 5, 295, 325 );
- qtarch_headfootGroup->setMinimumSize( 75, 40 );
- qtarch_headfootGroup->setMaximumSize( 32767, 32767 );
- qtarch_headfootGroup->setFocusPolicy( QWidget::NoFocus );
- qtarch_headfootGroup->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_headfootGroup->setFontPropagation( QWidget::NoChildren );
- qtarch_headfootGroup->setPalettePropagation( QWidget::NoChildren );
- qtarch_headfootGroup->setFrameStyle( 49 );
- qtarch_headfootGroup->setLineWidth( 1 );
- qtarch_headfootGroup->setMidLineWidth( 0 );
- qtarch_headfootGroup->QFrame::setMargin( 0 );
- qtarch_headfootGroup->setTitle( _("Headers and Footers") );
- qtarch_headfootGroup->setAlignment( 1 );
-
- QGroupBox* qtarch_marginsGroup;
- qtarch_marginsGroup = new QGroupBox( this, "marginsGroup" );
- qtarch_marginsGroup->setGeometry( 5, 335, 466, 315 );
- qtarch_marginsGroup->setMinimumSize( 10, 17 );
- qtarch_marginsGroup->setMaximumSize( 32767, 32767 );
- qtarch_marginsGroup->setFocusPolicy( QWidget::NoFocus );
- qtarch_marginsGroup->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_marginsGroup->setFontPropagation( QWidget::NoChildren );
- qtarch_marginsGroup->setPalettePropagation( QWidget::NoChildren );
- qtarch_marginsGroup->setFrameStyle( 49 );
- qtarch_marginsGroup->setLineWidth( 1 );
- qtarch_marginsGroup->setMidLineWidth( 0 );
- qtarch_marginsGroup->QFrame::setMargin( 0 );
- qtarch_marginsGroup->setTitle( _("Margins") );
- qtarch_marginsGroup->setAlignment( 1 );
-
- QGroupBox* qtarch_paperGroup;
- qtarch_paperGroup = new QGroupBox( this, "paperGroup" );
- qtarch_paperGroup->setGeometry( 5, 5, 295, 325 );
- qtarch_paperGroup->setMinimumSize( 75, 35 );
- qtarch_paperGroup->setMaximumSize( 32767, 32767 );
- qtarch_paperGroup->setFocusPolicy( QWidget::NoFocus );
- qtarch_paperGroup->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_paperGroup->setFontPropagation( QWidget::NoChildren );
- qtarch_paperGroup->setPalettePropagation( QWidget::NoChildren );
- qtarch_paperGroup->setFrameStyle( 49 );
- qtarch_paperGroup->setLineWidth( 1 );
- qtarch_paperGroup->setMidLineWidth( 0 );
- qtarch_paperGroup->QFrame::setMargin( 0 );
- qtarch_paperGroup->setTitle( _("Paper") );
- qtarch_paperGroup->setAlignment( 1 );
-
- QButtonGroup* qtarch_orientation;
- qtarch_orientation = new QButtonGroup( this, "orientation" );
- qtarch_orientation->setGeometry( 476, 335, 124, 315 );
- qtarch_orientation->setMinimumSize( 10, 30 );
- qtarch_orientation->setMaximumSize( 32767, 32767 );
- qtarch_orientation->setFocusPolicy( QWidget::NoFocus );
- qtarch_orientation->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_orientation->setFontPropagation( QWidget::NoChildren );
- qtarch_orientation->setPalettePropagation( QWidget::NoChildren );
- qtarch_orientation->setFrameStyle( 49 );
- qtarch_orientation->setLineWidth( 1 );
- qtarch_orientation->setMidLineWidth( 0 );
- qtarch_orientation->QFrame::setMargin( 0 );
- qtarch_orientation->setTitle( _("Orientation") );
- qtarch_orientation->setAlignment( 1 );
- qtarch_orientation->setExclusive( true );
-
- QLabel* qtarch_labelPapersize;
- qtarch_labelPapersize = new QLabel( qtarch_paperGroup, "labelPapersize" );
- qtarch_labelPapersize->setGeometry( 5, 20, 1, 35 );
- qtarch_labelPapersize->setMinimumSize( 0, 0 );
- qtarch_labelPapersize->setMaximumSize( 32767, 32767 );
- qtarch_labelPapersize->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelPapersize->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelPapersize->setFontPropagation( QWidget::NoChildren );
- qtarch_labelPapersize->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelPapersize->setFrameStyle( 0 );
- qtarch_labelPapersize->setLineWidth( 1 );
- qtarch_labelPapersize->setMidLineWidth( 0 );
- qtarch_labelPapersize->QFrame::setMargin( 0 );
- qtarch_labelPapersize->setText( _("Paper size :") );
- qtarch_labelPapersize->setAlignment( 0 );
- qtarch_labelPapersize->setMargin( -1 );
-
- combo_papersize = new QComboBox( FALSE, qtarch_paperGroup, "combo_papersize" );
- combo_papersize->setGeometry( 103, 20, 94, 35 );
- combo_papersize->setMinimumSize( 0, 0 );
- combo_papersize->setMaximumSize( 32767, 32767 );
- connect( combo_papersize, SIGNAL(highlighted(const char*)), SLOT(papersizeChanged(const char*)) );
- combo_papersize->setFocusPolicy( QWidget::StrongFocus );
- combo_papersize->setBackgroundMode( QWidget::PaletteBackground );
- combo_papersize->setFontPropagation( QWidget::AllChildren );
- combo_papersize->setPalettePropagation( QWidget::AllChildren );
- combo_papersize->setSizeLimit( 30 );
- combo_papersize->setAutoResize( true );
- combo_papersize->setMaxCount( 2147483647 );
- combo_papersize->setAutoCompletion( false );
-
- length_width = new LengthEntry( qtarch_paperGroup, "length_width" );
- length_width->setGeometry( 5, 135, 285, 35 );
- length_width->setMinimumSize( 0, 0 );
- length_width->setMaximumSize( 32767, 32767 );
- length_width->setFocusPolicy( QWidget::NoFocus );
- length_width->setBackgroundMode( QWidget::PaletteBackground );
- length_width->setFontPropagation( QWidget::NoChildren );
- length_width->setPalettePropagation( QWidget::NoChildren );
-
- length_height = new LengthEntry( qtarch_paperGroup, "length_height" );
- length_height->setGeometry( 5, 250, 285, 35 );
- length_height->setMinimumSize( 0, 0 );
- length_height->setMaximumSize( 32767, 32767 );
- length_height->setFocusPolicy( QWidget::NoFocus );
- length_height->setBackgroundMode( QWidget::PaletteBackground );
- length_height->setFontPropagation( QWidget::NoChildren );
- length_height->setPalettePropagation( QWidget::NoChildren );
-
- length_headheight = new LengthEntry( qtarch_headfootGroup, "length_headheight" );
- length_headheight->setGeometry( 5, 80, 285, 28 );
- length_headheight->setMinimumSize( 0, 0 );
- length_headheight->setMaximumSize( 32767, 32767 );
- length_headheight->setFocusPolicy( QWidget::NoFocus );
- length_headheight->setBackgroundMode( QWidget::PaletteBackground );
- length_headheight->setFontPropagation( QWidget::NoChildren );
- length_headheight->setPalettePropagation( QWidget::NoChildren );
-
- length_headsep = new LengthEntry( qtarch_headfootGroup, "length_headsep" );
- length_headsep->setGeometry( 5, 173, 285, 27 );
- length_headsep->setMinimumSize( 0, 0 );
- length_headsep->setMaximumSize( 32767, 32767 );
- length_headsep->setFocusPolicy( QWidget::NoFocus );
- length_headsep->setBackgroundMode( QWidget::PaletteBackground );
- length_headsep->setFontPropagation( QWidget::NoChildren );
- length_headsep->setPalettePropagation( QWidget::NoChildren );
-
- length_footskip = new LengthEntry( qtarch_headfootGroup, "length_footskip" );
- length_footskip->setGeometry( 5, 265, 285, 28 );
- length_footskip->setMinimumSize( 0, 0 );
- length_footskip->setMaximumSize( 32767, 32767 );
- length_footskip->setFocusPolicy( QWidget::NoFocus );
- length_footskip->setBackgroundMode( QWidget::PaletteBackground );
- length_footskip->setFontPropagation( QWidget::NoChildren );
- length_footskip->setPalettePropagation( QWidget::NoChildren );
-
- QLabel* qtarch_labelMargin;
- qtarch_labelMargin = new QLabel( qtarch_marginsGroup, "labelMargin" );
- qtarch_labelMargin->setGeometry( 5, 20, 113, 54 );
- qtarch_labelMargin->setMinimumSize( 0, 0 );
- qtarch_labelMargin->setMaximumSize( 32767, 32767 );
- qtarch_labelMargin->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelMargin->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelMargin->setFontPropagation( QWidget::NoChildren );
- qtarch_labelMargin->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelMargin->setFrameStyle( 0 );
- qtarch_labelMargin->setLineWidth( 1 );
- qtarch_labelMargin->setMidLineWidth( 0 );
- qtarch_labelMargin->QFrame::setMargin( 0 );
- qtarch_labelMargin->setText( _("Margins :") );
- qtarch_labelMargin->setAlignment( 0 );
- qtarch_labelMargin->setMargin( -1 );
-
- QLabel* qtarch_labelWidth;
- qtarch_labelWidth = new QLabel( qtarch_paperGroup, "labelWidth" );
- qtarch_labelWidth->setGeometry( 5, 95, 1, 35 );
- qtarch_labelWidth->setMinimumSize( 0, 0 );
- qtarch_labelWidth->setMaximumSize( 32767, 32767 );
- qtarch_labelWidth->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelWidth->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelWidth->setFontPropagation( QWidget::NoChildren );
- qtarch_labelWidth->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelWidth->setFrameStyle( 0 );
- qtarch_labelWidth->setLineWidth( 1 );
- qtarch_labelWidth->setMidLineWidth( 0 );
- qtarch_labelWidth->QFrame::setMargin( 0 );
- qtarch_labelWidth->setText( _("Width :") );
- qtarch_labelWidth->setAlignment( 0 );
- qtarch_labelWidth->setMargin( -1 );
-
- QLabel* qtarch_labelHeight;
- qtarch_labelHeight = new QLabel( qtarch_paperGroup, "labelHeight" );
- qtarch_labelHeight->setGeometry( 5, 210, 1, 35 );
- qtarch_labelHeight->setMinimumSize( 0, 0 );
- qtarch_labelHeight->setMaximumSize( 32767, 32767 );
- qtarch_labelHeight->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelHeight->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelHeight->setFontPropagation( QWidget::NoChildren );
- qtarch_labelHeight->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelHeight->setFrameStyle( 0 );
- qtarch_labelHeight->setLineWidth( 1 );
- qtarch_labelHeight->setMidLineWidth( 0 );
- qtarch_labelHeight->QFrame::setMargin( 0 );
- qtarch_labelHeight->setText( _("Height :") );
- qtarch_labelHeight->setAlignment( 0 );
- qtarch_labelHeight->setMargin( -1 );
-
- QLabel* qtarch_labelTop;
- qtarch_labelTop = new QLabel( qtarch_marginsGroup, "labelTop" );
- qtarch_labelTop->setGeometry( 56, 133, 87, 41 );
- qtarch_labelTop->setMinimumSize( 0, 0 );
- qtarch_labelTop->setMaximumSize( 32767, 32767 );
- qtarch_labelTop->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelTop->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelTop->setFontPropagation( QWidget::NoChildren );
- qtarch_labelTop->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelTop->setFrameStyle( 0 );
- qtarch_labelTop->setLineWidth( 1 );
- qtarch_labelTop->setMidLineWidth( 0 );
- qtarch_labelTop->QFrame::setMargin( 0 );
- qtarch_labelTop->setText( _("Top :") );
- qtarch_labelTop->setAlignment( 0 );
- qtarch_labelTop->setMargin( -1 );
-
- QLabel* qtarch_labelBottom;
- qtarch_labelBottom = new QLabel( qtarch_marginsGroup, "labelBottom" );
- qtarch_labelBottom->setGeometry( 56, 179, 87, 40 );
- qtarch_labelBottom->setMinimumSize( 0, 0 );
- qtarch_labelBottom->setMaximumSize( 32767, 32767 );
- qtarch_labelBottom->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelBottom->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelBottom->setFontPropagation( QWidget::NoChildren );
- qtarch_labelBottom->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelBottom->setFrameStyle( 0 );
- qtarch_labelBottom->setLineWidth( 1 );
- qtarch_labelBottom->setMidLineWidth( 0 );
- qtarch_labelBottom->QFrame::setMargin( 0 );
- qtarch_labelBottom->setText( _("Bottom :") );
- qtarch_labelBottom->setAlignment( 0 );
- qtarch_labelBottom->setMargin( -1 );
-
- QLabel* qtarch_labelLeft;
- qtarch_labelLeft = new QLabel( qtarch_marginsGroup, "labelLeft" );
- qtarch_labelLeft->setGeometry( 56, 224, 87, 41 );
- qtarch_labelLeft->setMinimumSize( 0, 0 );
- qtarch_labelLeft->setMaximumSize( 32767, 32767 );
- qtarch_labelLeft->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelLeft->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelLeft->setFontPropagation( QWidget::NoChildren );
- qtarch_labelLeft->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelLeft->setFrameStyle( 0 );
- qtarch_labelLeft->setLineWidth( 1 );
- qtarch_labelLeft->setMidLineWidth( 0 );
- qtarch_labelLeft->QFrame::setMargin( 0 );
- qtarch_labelLeft->setText( _("Left :") );
- qtarch_labelLeft->setAlignment( 0 );
- qtarch_labelLeft->setMargin( -1 );
-
- QLabel* qtarch_labelRight;
- qtarch_labelRight = new QLabel( qtarch_marginsGroup, "labelRight" );
- qtarch_labelRight->setGeometry( 56, 270, 87, 40 );
- qtarch_labelRight->setMinimumSize( 0, 0 );
- qtarch_labelRight->setMaximumSize( 32767, 32767 );
- qtarch_labelRight->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelRight->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelRight->setFontPropagation( QWidget::NoChildren );
- qtarch_labelRight->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelRight->setFrameStyle( 0 );
- qtarch_labelRight->setLineWidth( 1 );
- qtarch_labelRight->setMidLineWidth( 0 );
- qtarch_labelRight->QFrame::setMargin( 0 );
- qtarch_labelRight->setText( _("Right :") );
- qtarch_labelRight->setAlignment( 0 );
- qtarch_labelRight->setMargin( -1 );
-
- QLabel* qtarch_labelheadheight;
- qtarch_labelheadheight = new QLabel( qtarch_headfootGroup, "labelheadheight" );
- qtarch_labelheadheight->setGeometry( 5, 48, 1, 27 );
- qtarch_labelheadheight->setMinimumSize( 0, 0 );
- qtarch_labelheadheight->setMaximumSize( 32767, 32767 );
- qtarch_labelheadheight->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelheadheight->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelheadheight->setFontPropagation( QWidget::NoChildren );
- qtarch_labelheadheight->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelheadheight->setFrameStyle( 0 );
- qtarch_labelheadheight->setLineWidth( 1 );
- qtarch_labelheadheight->setMidLineWidth( 0 );
- qtarch_labelheadheight->QFrame::setMargin( 0 );
- qtarch_labelheadheight->setText( _("Header height :") );
- qtarch_labelheadheight->setAlignment( 0 );
- qtarch_labelheadheight->setMargin( -1 );
-
- QLabel* qtarch_labelHeadsep;
- qtarch_labelHeadsep = new QLabel( qtarch_headfootGroup, "labelHeadsep" );
- qtarch_labelHeadsep->setGeometry( 5, 140, 1, 28 );
- qtarch_labelHeadsep->setMinimumSize( 0, 0 );
- qtarch_labelHeadsep->setMaximumSize( 32767, 32767 );
- qtarch_labelHeadsep->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelHeadsep->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelHeadsep->setFontPropagation( QWidget::NoChildren );
- qtarch_labelHeadsep->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelHeadsep->setFrameStyle( 0 );
- qtarch_labelHeadsep->setLineWidth( 1 );
- qtarch_labelHeadsep->setMidLineWidth( 0 );
- qtarch_labelHeadsep->QFrame::setMargin( 0 );
- qtarch_labelHeadsep->setText( _("Header separation :") );
- qtarch_labelHeadsep->setAlignment( 0 );
- qtarch_labelHeadsep->setMargin( -1 );
-
- QLabel* qtarch_labelFootskip;
- qtarch_labelFootskip = new QLabel( qtarch_headfootGroup, "labelFootskip" );
- qtarch_labelFootskip->setGeometry( 5, 233, 1, 27 );
- qtarch_labelFootskip->setMinimumSize( 0, 0 );
- qtarch_labelFootskip->setMaximumSize( 32767, 32767 );
- qtarch_labelFootskip->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelFootskip->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelFootskip->setFontPropagation( QWidget::NoChildren );
- qtarch_labelFootskip->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelFootskip->setFrameStyle( 0 );
- qtarch_labelFootskip->setLineWidth( 1 );
- qtarch_labelFootskip->setMidLineWidth( 0 );
- qtarch_labelFootskip->QFrame::setMargin( 0 );
- qtarch_labelFootskip->setText( _("Footer skip :") );
- qtarch_labelFootskip->setAlignment( 0 );
- qtarch_labelFootskip->setMargin( -1 );
-
- combo_margins = new QComboBox( FALSE, qtarch_marginsGroup, "combo_margins" );
- combo_margins->setGeometry( 236, 20, 112, 54 );
- combo_margins->setMinimumSize( 0, 0 );
- combo_margins->setMaximumSize( 32767, 32767 );
- connect( combo_margins, SIGNAL(highlighted(const char*)), SLOT(marginsChanged(const char*)) );
- combo_margins->setFocusPolicy( QWidget::StrongFocus );
- combo_margins->setBackgroundMode( QWidget::PaletteBackground );
- combo_margins->setFontPropagation( QWidget::AllChildren );
- combo_margins->setPalettePropagation( QWidget::AllChildren );
- combo_margins->setSizeLimit( 30 );
- combo_margins->setAutoResize( true );
- combo_margins->setMaxCount( 2147483647 );
- combo_margins->setAutoCompletion( false );
-
- length_top = new LengthEntry( qtarch_marginsGroup, "length_top" );
- length_top->setGeometry( 199, 133, 211, 41 );
- length_top->setMinimumSize( 0, 0 );
- length_top->setMaximumSize( 32767, 32767 );
- length_top->setFocusPolicy( QWidget::NoFocus );
- length_top->setBackgroundMode( QWidget::PaletteBackground );
- length_top->setFontPropagation( QWidget::NoChildren );
- length_top->setPalettePropagation( QWidget::NoChildren );
-
- length_bottom = new LengthEntry( qtarch_marginsGroup, "length_bottom" );
- length_bottom->setGeometry( 199, 179, 211, 40 );
- length_bottom->setMinimumSize( 0, 0 );
- length_bottom->setMaximumSize( 32767, 32767 );
- length_bottom->setFocusPolicy( QWidget::NoFocus );
- length_bottom->setBackgroundMode( QWidget::PaletteBackground );
- length_bottom->setFontPropagation( QWidget::NoChildren );
- length_bottom->setPalettePropagation( QWidget::NoChildren );
-
- length_left = new LengthEntry( qtarch_marginsGroup, "length_left" );
- length_left->setGeometry( 199, 224, 211, 41 );
- length_left->setMinimumSize( 0, 0 );
- length_left->setMaximumSize( 32767, 32767 );
- length_left->setFocusPolicy( QWidget::NoFocus );
- length_left->setBackgroundMode( QWidget::PaletteBackground );
- length_left->setFontPropagation( QWidget::NoChildren );
- length_left->setPalettePropagation( QWidget::NoChildren );
-
- length_right = new LengthEntry( qtarch_marginsGroup, "length_right" );
- length_right->setGeometry( 199, 270, 211, 40 );
- length_right->setMinimumSize( 0, 0 );
- length_right->setMaximumSize( 32767, 32767 );
- length_right->setFocusPolicy( QWidget::NoFocus );
- length_right->setBackgroundMode( QWidget::PaletteBackground );
- length_right->setFontPropagation( QWidget::NoChildren );
- length_right->setPalettePropagation( QWidget::NoChildren );
-
- radio_portrait = new QRadioButton( qtarch_orientation, "radio_portrait" );
- radio_portrait->setGeometry( 5, 77, 1, 57 );
- radio_portrait->setMinimumSize( 0, 0 );
- radio_portrait->setMaximumSize( 32767, 32767 );
- radio_portrait->setFocusPolicy( QWidget::TabFocus );
- radio_portrait->setBackgroundMode( QWidget::PaletteBackground );
- radio_portrait->setFontPropagation( QWidget::NoChildren );
- radio_portrait->setPalettePropagation( QWidget::NoChildren );
- radio_portrait->setText( _("Portrait") );
- radio_portrait->setAutoRepeat( false );
- radio_portrait->setAutoResize( false );
- radio_portrait->setChecked( true );
-
- radio_landscape = new QRadioButton( qtarch_orientation, "radio_landscape" );
- radio_landscape->setGeometry( 5, 196, 1, 57 );
- radio_landscape->setMinimumSize( 0, 0 );
- radio_landscape->setMaximumSize( 32767, 32767 );
- radio_landscape->setFocusPolicy( QWidget::TabFocus );
- radio_landscape->setBackgroundMode( QWidget::PaletteBackground );
- radio_landscape->setFontPropagation( QWidget::NoChildren );
- radio_landscape->setPalettePropagation( QWidget::NoChildren );
- radio_landscape->setText( _("Landscape") );
- radio_landscape->setAutoRepeat( false );
- radio_landscape->setAutoResize( false );
- radio_landscape->setChecked( false );
-
- if (qtarch_orientation->sizeHint().width()!=-1)
- qtarch_orientation->setMinimumWidth(qtarch_orientation->sizeHint().width());
- if (qtarch_orientation->sizeHint().height()!=-1)
- qtarch_orientation->setMinimumHeight(qtarch_orientation->sizeHint().height());
- qtarch_orientation->insert( radio_portrait );
- qtarch_orientation->insert( radio_landscape );
-
- if (qtarch_labelPapersize->sizeHint().width()!=-1)
- qtarch_labelPapersize->setMinimumWidth(qtarch_labelPapersize->sizeHint().width());
- if (qtarch_labelPapersize->sizeHint().height()!=-1)
- qtarch_labelPapersize->setMinimumHeight(qtarch_labelPapersize->sizeHint().height());
- if (qtarch_labelPapersize->sizeHint().width()!=-1)
- qtarch_labelPapersize->setMaximumWidth(qtarch_labelPapersize->sizeHint().width());
- if (qtarch_labelPapersize->sizeHint().height()!=-1)
- qtarch_labelPapersize->setMaximumHeight(qtarch_labelPapersize->sizeHint().height());
- if (combo_papersize->sizeHint().width()!=-1)
- combo_papersize->setMinimumWidth(combo_papersize->sizeHint().width());
- if (combo_papersize->sizeHint().height()!=-1)
- combo_papersize->setMinimumHeight(combo_papersize->sizeHint().height());
- if (combo_papersize->sizeHint().height()!=-1)
- combo_papersize->setMaximumHeight(combo_papersize->sizeHint().height());
- if (length_width->sizeHint().width()!=-1)
- length_width->setMinimumWidth(length_width->sizeHint().width());
- if (length_width->sizeHint().height()!=-1)
- length_width->setMinimumHeight(length_width->sizeHint().height());
- if (length_width->sizeHint().height()!=-1)
- length_width->setMaximumHeight(length_width->sizeHint().height());
- if (length_height->sizeHint().width()!=-1)
- length_height->setMinimumWidth(length_height->sizeHint().width());
- if (length_height->sizeHint().height()!=-1)
- length_height->setMinimumHeight(length_height->sizeHint().height());
- if (length_height->sizeHint().height()!=-1)
- length_height->setMaximumHeight(length_height->sizeHint().height());
- if (length_headheight->sizeHint().width()!=-1)
- length_headheight->setMinimumWidth(length_headheight->sizeHint().width());
- if (length_headheight->sizeHint().height()!=-1)
- length_headheight->setMinimumHeight(length_headheight->sizeHint().height());
- if (length_headheight->sizeHint().height()!=-1)
- length_headheight->setMaximumHeight(length_headheight->sizeHint().height());
- if (length_headsep->sizeHint().width()!=-1)
- length_headsep->setMinimumWidth(length_headsep->sizeHint().width());
- if (length_headsep->sizeHint().height()!=-1)
- length_headsep->setMinimumHeight(length_headsep->sizeHint().height());
- if (length_headsep->sizeHint().height()!=-1)
- length_headsep->setMaximumHeight(length_headsep->sizeHint().height());
- if (length_footskip->sizeHint().width()!=-1)
- length_footskip->setMinimumWidth(length_footskip->sizeHint().width());
- if (length_footskip->sizeHint().height()!=-1)
- length_footskip->setMinimumHeight(length_footskip->sizeHint().height());
- if (length_footskip->sizeHint().height()!=-1)
- length_footskip->setMaximumHeight(length_footskip->sizeHint().height());
- if (qtarch_labelMargin->sizeHint().width()!=-1)
- qtarch_labelMargin->setMinimumWidth(qtarch_labelMargin->sizeHint().width());
- if (qtarch_labelMargin->sizeHint().height()!=-1)
- qtarch_labelMargin->setMinimumHeight(qtarch_labelMargin->sizeHint().height());
- if (qtarch_labelMargin->sizeHint().width()!=-1)
- qtarch_labelMargin->setMaximumWidth(qtarch_labelMargin->sizeHint().width());
- if (qtarch_labelMargin->sizeHint().height()!=-1)
- qtarch_labelMargin->setMaximumHeight(qtarch_labelMargin->sizeHint().height());
- if (qtarch_labelWidth->sizeHint().width()!=-1)
- qtarch_labelWidth->setMinimumWidth(qtarch_labelWidth->sizeHint().width());
- if (qtarch_labelWidth->sizeHint().height()!=-1)
- qtarch_labelWidth->setMinimumHeight(qtarch_labelWidth->sizeHint().height());
- if (qtarch_labelWidth->sizeHint().width()!=-1)
- qtarch_labelWidth->setMaximumWidth(qtarch_labelWidth->sizeHint().width());
- if (qtarch_labelWidth->sizeHint().height()!=-1)
- qtarch_labelWidth->setMaximumHeight(qtarch_labelWidth->sizeHint().height());
- if (qtarch_labelHeight->sizeHint().width()!=-1)
- qtarch_labelHeight->setMinimumWidth(qtarch_labelHeight->sizeHint().width());
- if (qtarch_labelHeight->sizeHint().height()!=-1)
- qtarch_labelHeight->setMinimumHeight(qtarch_labelHeight->sizeHint().height());
- if (qtarch_labelHeight->sizeHint().width()!=-1)
- qtarch_labelHeight->setMaximumWidth(qtarch_labelHeight->sizeHint().width());
- if (qtarch_labelHeight->sizeHint().height()!=-1)
- qtarch_labelHeight->setMaximumHeight(qtarch_labelHeight->sizeHint().height());
- if (qtarch_labelTop->sizeHint().width()!=-1)
- qtarch_labelTop->setMinimumWidth(qtarch_labelTop->sizeHint().width());
- if (qtarch_labelTop->sizeHint().height()!=-1)
- qtarch_labelTop->setMinimumHeight(qtarch_labelTop->sizeHint().height());
- if (qtarch_labelTop->sizeHint().width()!=-1)
- qtarch_labelTop->setMaximumWidth(qtarch_labelTop->sizeHint().width());
- if (qtarch_labelTop->sizeHint().height()!=-1)
- qtarch_labelTop->setMaximumHeight(qtarch_labelTop->sizeHint().height());
- if (qtarch_labelBottom->sizeHint().width()!=-1)
- qtarch_labelBottom->setMinimumWidth(qtarch_labelBottom->sizeHint().width());
- if (qtarch_labelBottom->sizeHint().height()!=-1)
- qtarch_labelBottom->setMinimumHeight(qtarch_labelBottom->sizeHint().height());
- if (qtarch_labelBottom->sizeHint().width()!=-1)
- qtarch_labelBottom->setMaximumWidth(qtarch_labelBottom->sizeHint().width());
- if (qtarch_labelBottom->sizeHint().height()!=-1)
- qtarch_labelBottom->setMaximumHeight(qtarch_labelBottom->sizeHint().height());
- if (qtarch_labelLeft->sizeHint().width()!=-1)
- qtarch_labelLeft->setMinimumWidth(qtarch_labelLeft->sizeHint().width());
- if (qtarch_labelLeft->sizeHint().height()!=-1)
- qtarch_labelLeft->setMinimumHeight(qtarch_labelLeft->sizeHint().height());
- if (qtarch_labelLeft->sizeHint().width()!=-1)
- qtarch_labelLeft->setMaximumWidth(qtarch_labelLeft->sizeHint().width());
- if (qtarch_labelLeft->sizeHint().height()!=-1)
- qtarch_labelLeft->setMaximumHeight(qtarch_labelLeft->sizeHint().height());
- if (qtarch_labelRight->sizeHint().width()!=-1)
- qtarch_labelRight->setMinimumWidth(qtarch_labelRight->sizeHint().width());
- if (qtarch_labelRight->sizeHint().height()!=-1)
- qtarch_labelRight->setMinimumHeight(qtarch_labelRight->sizeHint().height());
- if (qtarch_labelRight->sizeHint().width()!=-1)
- qtarch_labelRight->setMaximumWidth(qtarch_labelRight->sizeHint().width());
- if (qtarch_labelRight->sizeHint().height()!=-1)
- qtarch_labelRight->setMaximumHeight(qtarch_labelRight->sizeHint().height());
- if (qtarch_labelheadheight->sizeHint().width()!=-1)
- qtarch_labelheadheight->setMinimumWidth(qtarch_labelheadheight->sizeHint().width());
- if (qtarch_labelheadheight->sizeHint().height()!=-1)
- qtarch_labelheadheight->setMinimumHeight(qtarch_labelheadheight->sizeHint().height());
- if (qtarch_labelheadheight->sizeHint().width()!=-1)
- qtarch_labelheadheight->setMaximumWidth(qtarch_labelheadheight->sizeHint().width());
- if (qtarch_labelheadheight->sizeHint().height()!=-1)
- qtarch_labelheadheight->setMaximumHeight(qtarch_labelheadheight->sizeHint().height());
- if (qtarch_labelHeadsep->sizeHint().width()!=-1)
- qtarch_labelHeadsep->setMinimumWidth(qtarch_labelHeadsep->sizeHint().width());
- if (qtarch_labelHeadsep->sizeHint().height()!=-1)
- qtarch_labelHeadsep->setMinimumHeight(qtarch_labelHeadsep->sizeHint().height());
- if (qtarch_labelHeadsep->sizeHint().width()!=-1)
- qtarch_labelHeadsep->setMaximumWidth(qtarch_labelHeadsep->sizeHint().width());
- if (qtarch_labelHeadsep->sizeHint().height()!=-1)
- qtarch_labelHeadsep->setMaximumHeight(qtarch_labelHeadsep->sizeHint().height());
- if (qtarch_labelFootskip->sizeHint().width()!=-1)
- qtarch_labelFootskip->setMinimumWidth(qtarch_labelFootskip->sizeHint().width());
- if (qtarch_labelFootskip->sizeHint().height()!=-1)
- qtarch_labelFootskip->setMinimumHeight(qtarch_labelFootskip->sizeHint().height());
- if (qtarch_labelFootskip->sizeHint().width()!=-1)
- qtarch_labelFootskip->setMaximumWidth(qtarch_labelFootskip->sizeHint().width());
- if (qtarch_labelFootskip->sizeHint().height()!=-1)
- qtarch_labelFootskip->setMaximumHeight(qtarch_labelFootskip->sizeHint().height());
- if (combo_margins->sizeHint().width()!=-1)
- combo_margins->setMinimumWidth(combo_margins->sizeHint().width());
- if (combo_margins->sizeHint().height()!=-1)
- combo_margins->setMinimumHeight(combo_margins->sizeHint().height());
- if (combo_margins->sizeHint().height()!=-1)
- combo_margins->setMaximumHeight(combo_margins->sizeHint().height());
- if (length_top->sizeHint().width()!=-1)
- length_top->setMinimumWidth(length_top->sizeHint().width());
- if (length_top->sizeHint().height()!=-1)
- length_top->setMinimumHeight(length_top->sizeHint().height());
- if (length_top->sizeHint().height()!=-1)
- length_top->setMaximumHeight(length_top->sizeHint().height());
- if (length_bottom->sizeHint().width()!=-1)
- length_bottom->setMinimumWidth(length_bottom->sizeHint().width());
- if (length_bottom->sizeHint().height()!=-1)
- length_bottom->setMinimumHeight(length_bottom->sizeHint().height());
- if (length_bottom->sizeHint().height()!=-1)
- length_bottom->setMaximumHeight(length_bottom->sizeHint().height());
- if (length_left->sizeHint().width()!=-1)
- length_left->setMinimumWidth(length_left->sizeHint().width());
- if (length_left->sizeHint().height()!=-1)
- length_left->setMinimumHeight(length_left->sizeHint().height());
- if (length_left->sizeHint().height()!=-1)
- length_left->setMaximumHeight(length_left->sizeHint().height());
- if (length_right->sizeHint().width()!=-1)
- length_right->setMinimumWidth(length_right->sizeHint().width());
- if (length_right->sizeHint().height()!=-1)
- length_right->setMinimumHeight(length_right->sizeHint().height());
- if (length_right->sizeHint().height()!=-1)
- length_right->setMaximumHeight(length_right->sizeHint().height());
- if (radio_portrait->sizeHint().width()!=-1)
- radio_portrait->setMinimumWidth(radio_portrait->sizeHint().width());
- if (radio_portrait->sizeHint().height()!=-1)
- radio_portrait->setMinimumHeight(radio_portrait->sizeHint().height());
- if (radio_portrait->sizeHint().width()!=-1)
- radio_portrait->setMaximumWidth(radio_portrait->sizeHint().width());
- if (radio_portrait->sizeHint().height()!=-1)
- radio_portrait->setMaximumHeight(radio_portrait->sizeHint().height());
- if (radio_landscape->sizeHint().width()!=-1)
- radio_landscape->setMinimumWidth(radio_landscape->sizeHint().width());
- if (radio_landscape->sizeHint().height()!=-1)
- radio_landscape->setMinimumHeight(radio_landscape->sizeHint().height());
- if (radio_landscape->sizeHint().width()!=-1)
- radio_landscape->setMaximumWidth(radio_landscape->sizeHint().width());
- if (radio_landscape->sizeHint().height()!=-1)
- radio_landscape->setMaximumHeight(radio_landscape->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->addWidget( qtarch_paperGroup, 1, 33 );
- QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( qtarch_paperGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1_1->addStrut( 0 );
- qtarch_layout_1_1_1->addSpacing( 15 );
- QBoxLayout* qtarch_layout_1_1_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1->addLayout( qtarch_layout_1_1_1_2, 1 );
- qtarch_layout_1_1_1_2->addStrut( 0 );
- qtarch_layout_1_1_1_2->addWidget( qtarch_labelPapersize, 0, 33 );
- qtarch_layout_1_1_1_2->addStretch( 1 );
- qtarch_layout_1_1_1_2->addWidget( combo_papersize, 1, 33 );
- qtarch_layout_1_1_1_2->addStretch( 1 );
- qtarch_layout_1_1_1->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1->addLayout( qtarch_layout_1_1_1_4, 1 );
- qtarch_layout_1_1_1_4->addStrut( 0 );
- qtarch_layout_1_1_1_4->addWidget( qtarch_labelWidth, 0, 33 );
- qtarch_layout_1_1_1_4->addStretch( 1 );
- qtarch_layout_1_1_1->addWidget( length_width, 1, 33 );
- qtarch_layout_1_1_1->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_1_7 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1->addLayout( qtarch_layout_1_1_1_7, 1 );
- qtarch_layout_1_1_1_7->addStrut( 0 );
- qtarch_layout_1_1_1_7->addWidget( qtarch_labelHeight, 0, 33 );
- qtarch_layout_1_1_1_7->addStretch( 1 );
- qtarch_layout_1_1_1->addWidget( length_height, 1, 33 );
- qtarch_layout_1_1_1->addStretch( 1 );
- qtarch_layout_1_1->addWidget( qtarch_headfootGroup, 1, 33 );
- QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( qtarch_headfootGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1_2->addStrut( 0 );
- qtarch_layout_1_1_2->addSpacing( 15 );
- qtarch_layout_1_1_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_2_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_3, 1 );
- qtarch_layout_1_1_2_3->addStrut( 0 );
- qtarch_layout_1_1_2_3->addWidget( qtarch_labelheadheight, 0, 33 );
- qtarch_layout_1_1_2_3->addStretch( 1 );
- qtarch_layout_1_1_2->addWidget( length_headheight, 1, 33 );
- qtarch_layout_1_1_2->addStretch( 1 );
- 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_labelHeadsep, 0, 33 );
- qtarch_layout_1_1_2_6->addStretch( 1 );
- qtarch_layout_1_1_2->addWidget( length_headsep, 1, 33 );
- qtarch_layout_1_1_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_2_9 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_9, 1 );
- qtarch_layout_1_1_2_9->addStrut( 0 );
- qtarch_layout_1_1_2_9->addWidget( qtarch_labelFootskip, 0, 33 );
- qtarch_layout_1_1_2_9->addStretch( 1 );
- qtarch_layout_1_1_2->addWidget( length_footskip, 1, 33 );
- qtarch_layout_1_1_2->addStretch( 1 );
- 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->addWidget( qtarch_marginsGroup, 4, 33 );
- QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( qtarch_marginsGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_2_1->addStrut( 0 );
- qtarch_layout_1_2_1->addSpacing( 15 );
- QBoxLayout* qtarch_layout_1_2_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_2_1->addLayout( qtarch_layout_1_2_1_2, 1 );
- qtarch_layout_1_2_1_2->addStrut( 0 );
- qtarch_layout_1_2_1_2->addWidget( qtarch_labelMargin, 1, 33 );
- qtarch_layout_1_2_1_2->addStretch( 1 );
- qtarch_layout_1_2_1_2->addWidget( combo_margins, 1, 33 );
- qtarch_layout_1_2_1_2->addStretch( 1 );
- qtarch_layout_1_2_1->addStretch( 1 );
- QGridLayout* qtarch_layout_1_2_1_4 = new QGridLayout( 4, 5, 5, NULL );
- qtarch_layout_1_2_1->addLayout( qtarch_layout_1_2_1_4, 3 );
- qtarch_layout_1_2_1_4->addColSpacing( 0, 5 );
- qtarch_layout_1_2_1_4->setColStretch( 0, 1 );
- qtarch_layout_1_2_1_4->addColSpacing( 1, 5 );
- qtarch_layout_1_2_1_4->setColStretch( 1, 2 );
- qtarch_layout_1_2_1_4->addColSpacing( 2, 5 );
- qtarch_layout_1_2_1_4->setColStretch( 2, 1 );
- qtarch_layout_1_2_1_4->addColSpacing( 3, 5 );
- qtarch_layout_1_2_1_4->setColStretch( 3, 5 );
- qtarch_layout_1_2_1_4->addColSpacing( 4, 5 );
- qtarch_layout_1_2_1_4->setColStretch( 4, 1 );
- qtarch_layout_1_2_1_4->addRowSpacing( 0, 0 );
- qtarch_layout_1_2_1_4->setRowStretch( 0, 1 );
- qtarch_layout_1_2_1_4->addWidget( qtarch_labelTop, 0, 1, 33 );
- qtarch_layout_1_2_1_4->addWidget( length_top, 0, 3, 33 );
- qtarch_layout_1_2_1_4->addRowSpacing( 1, 0 );
- qtarch_layout_1_2_1_4->setRowStretch( 1, 1 );
- qtarch_layout_1_2_1_4->addWidget( qtarch_labelBottom, 1, 1, 33 );
- qtarch_layout_1_2_1_4->addWidget( length_bottom, 1, 3, 33 );
- qtarch_layout_1_2_1_4->addRowSpacing( 2, 0 );
- qtarch_layout_1_2_1_4->setRowStretch( 2, 1 );
- qtarch_layout_1_2_1_4->addWidget( qtarch_labelLeft, 2, 1, 33 );
- qtarch_layout_1_2_1_4->addWidget( length_left, 2, 3, 33 );
- qtarch_layout_1_2_1_4->addRowSpacing( 3, 0 );
- qtarch_layout_1_2_1_4->setRowStretch( 3, 1 );
- qtarch_layout_1_2_1_4->addWidget( qtarch_labelRight, 3, 1, 33 );
- qtarch_layout_1_2_1_4->addWidget( length_right, 3, 3, 33 );
- qtarch_layout_1_2->addWidget( qtarch_orientation, 1, 33 );
- QBoxLayout* qtarch_layout_1_2_2 = new QBoxLayout( qtarch_orientation, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_2_2->addStrut( 0 );
- qtarch_layout_1_2_2->addSpacing( 15 );
- qtarch_layout_1_2_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_2_2_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_2_2->addLayout( qtarch_layout_1_2_2_3, 1 );
- qtarch_layout_1_2_2_3->addStrut( 0 );
- qtarch_layout_1_2_2_3->addWidget( radio_portrait, 0, 33 );
- qtarch_layout_1_2_2_3->addStretch( 1 );
- qtarch_layout_1_2_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_2_2_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_2_2->addLayout( qtarch_layout_1_2_2_5, 1 );
- qtarch_layout_1_2_2_5->addStrut( 0 );
- qtarch_layout_1_2_2_5->addWidget( radio_landscape, 0, 33 );
- qtarch_layout_1_2_2_5->addStretch( 1 );
- qtarch_layout_1_2_2->addStretch( 1 );
- resize( 605,655 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-DocGeometryDialogData::~DocGeometryDialogData()
-{
-}
-void DocGeometryDialogData::papersizeChanged(const char*)
-{
-}
-void DocGeometryDialogData::marginsChanged(const char*)
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docgeometrydlgdata.h
- Last generated: Sat Mar 31 16:48:30 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef DocGeometryDialogData_included
-#define DocGeometryDialogData_included
-
-#include <qwidget.h>
-#include <qradiobutton.h>
-#include "lengthentry.h"
-#include <qcombobox.h>
-
-class DocGeometryDialogData : public QWidget
-{
- Q_OBJECT
-
-public:
-
- DocGeometryDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~DocGeometryDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void papersizeChanged(const char*);
- virtual void marginsChanged(const char*);
-
-public:
- QComboBox* combo_papersize;
- LengthEntry* length_width;
- LengthEntry* length_height;
- LengthEntry* length_headheight;
- LengthEntry* length_headsep;
- LengthEntry* length_footskip;
- QComboBox* combo_margins;
- LengthEntry* length_top;
- LengthEntry* length_bottom;
- LengthEntry* length_left;
- LengthEntry* length_right;
- QRadioButton* radio_portrait;
- QRadioButton* radio_landscape;
-
-};
-
-#endif // DocGeometryDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: doclanguagedlgdata.C
- Last generated: Sat Mar 31 16:48:33 2001
-
- 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 "doclanguagedlgdata.h"
-
-#define Inherited QWidget
-
-#include <qlabel.h>
-
-DocLanguageDialogData::DocLanguageDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, 0 )
-{
- QLabel* qtarch_labelLanguage;
- qtarch_labelLanguage = new QLabel( this, "labelLanguage" );
- qtarch_labelLanguage->setGeometry( 5, 5, 130, 147 );
- qtarch_labelLanguage->setMinimumSize( 0, 0 );
- qtarch_labelLanguage->setMaximumSize( 32767, 32767 );
- qtarch_labelLanguage->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelLanguage->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelLanguage->setFontPropagation( QWidget::NoChildren );
- qtarch_labelLanguage->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelLanguage->setFrameStyle( 0 );
- qtarch_labelLanguage->setLineWidth( 1 );
- qtarch_labelLanguage->setMidLineWidth( 0 );
- qtarch_labelLanguage->QFrame::setMargin( 0 );
- qtarch_labelLanguage->setText( _("Language :") );
- qtarch_labelLanguage->setAlignment( 290 );
- qtarch_labelLanguage->setMargin( -1 );
-
- combo_language = new QComboBox( FALSE, this, "combo_language" );
- combo_language->setGeometry( 275, 5, 130, 147 );
- combo_language->setMinimumSize( 0, 0 );
- combo_language->setMaximumSize( 32767, 32767 );
- combo_language->setFocusPolicy( QWidget::StrongFocus );
- combo_language->setBackgroundMode( QWidget::PaletteBackground );
- combo_language->setFontPropagation( QWidget::AllChildren );
- combo_language->setPalettePropagation( QWidget::AllChildren );
- combo_language->setSizeLimit( 30 );
- combo_language->setAutoResize( true );
- combo_language->setMaxCount( 2147483647 );
- combo_language->setAutoCompletion( false );
-
- QLabel* qtarch_labelEncoding;
- qtarch_labelEncoding = new QLabel( this, "labelEncoding" );
- qtarch_labelEncoding->setGeometry( 5, 157, 130, 146 );
- qtarch_labelEncoding->setMinimumSize( 0, 0 );
- qtarch_labelEncoding->setMaximumSize( 32767, 32767 );
- qtarch_labelEncoding->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelEncoding->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelEncoding->setFontPropagation( QWidget::NoChildren );
- qtarch_labelEncoding->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelEncoding->setFrameStyle( 0 );
- qtarch_labelEncoding->setLineWidth( 1 );
- qtarch_labelEncoding->setMidLineWidth( 0 );
- qtarch_labelEncoding->QFrame::setMargin( 0 );
- qtarch_labelEncoding->setText( _("Encoding :") );
- qtarch_labelEncoding->setAlignment( 290 );
- qtarch_labelEncoding->setMargin( -1 );
-
- combo_encoding = new QComboBox( FALSE, this, "combo_encoding" );
- combo_encoding->setGeometry( 275, 157, 130, 146 );
- combo_encoding->setMinimumSize( 0, 0 );
- combo_encoding->setMaximumSize( 32767, 32767 );
- combo_encoding->setFocusPolicy( QWidget::StrongFocus );
- combo_encoding->setBackgroundMode( QWidget::PaletteBackground );
- combo_encoding->setFontPropagation( QWidget::AllChildren );
- combo_encoding->setPalettePropagation( QWidget::AllChildren );
- combo_encoding->setSizeLimit( 30 );
- combo_encoding->setAutoResize( true );
- combo_encoding->setMaxCount( 2147483647 );
- combo_encoding->setAutoCompletion( false );
-
- QLabel* qtarch_labelQuotes;
- qtarch_labelQuotes = new QLabel( this, "labelQuotes" );
- qtarch_labelQuotes->setGeometry( 5, 308, 130, 147 );
- qtarch_labelQuotes->setMinimumSize( 0, 0 );
- qtarch_labelQuotes->setMaximumSize( 32767, 32767 );
- qtarch_labelQuotes->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelQuotes->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelQuotes->setFontPropagation( QWidget::NoChildren );
- qtarch_labelQuotes->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelQuotes->setFrameStyle( 0 );
- qtarch_labelQuotes->setLineWidth( 1 );
- qtarch_labelQuotes->setMidLineWidth( 0 );
- qtarch_labelQuotes->QFrame::setMargin( 0 );
- qtarch_labelQuotes->setText( _("Quote style :") );
- qtarch_labelQuotes->setAlignment( 290 );
- qtarch_labelQuotes->setMargin( -1 );
-
- combo_quotes = new QComboBox( FALSE, this, "combo_quotes" );
- combo_quotes->setGeometry( 275, 308, 130, 147 );
- combo_quotes->setMinimumSize( 0, 0 );
- combo_quotes->setMaximumSize( 32767, 32767 );
- combo_quotes->setFocusPolicy( QWidget::StrongFocus );
- combo_quotes->setBackgroundMode( QWidget::PaletteBackground );
- combo_quotes->setFontPropagation( QWidget::AllChildren );
- combo_quotes->setPalettePropagation( QWidget::AllChildren );
- combo_quotes->setSizeLimit( 30 );
- combo_quotes->setAutoResize( true );
- combo_quotes->setMaxCount( 2147483647 );
- combo_quotes->setAutoCompletion( false );
-
- if (qtarch_labelLanguage->sizeHint().width()!=-1)
- qtarch_labelLanguage->setMinimumWidth(qtarch_labelLanguage->sizeHint().width());
- if (qtarch_labelLanguage->sizeHint().height()!=-1)
- qtarch_labelLanguage->setMinimumHeight(qtarch_labelLanguage->sizeHint().height());
- if (qtarch_labelLanguage->sizeHint().width()!=-1)
- qtarch_labelLanguage->setMaximumWidth(qtarch_labelLanguage->sizeHint().width());
- if (qtarch_labelLanguage->sizeHint().height()!=-1)
- qtarch_labelLanguage->setMaximumHeight(qtarch_labelLanguage->sizeHint().height());
- if (combo_language->sizeHint().width()!=-1)
- combo_language->setMinimumWidth(combo_language->sizeHint().width());
- if (combo_language->sizeHint().height()!=-1)
- combo_language->setMinimumHeight(combo_language->sizeHint().height());
- if (combo_language->sizeHint().height()!=-1)
- combo_language->setMaximumHeight(combo_language->sizeHint().height());
- if (qtarch_labelEncoding->sizeHint().width()!=-1)
- qtarch_labelEncoding->setMinimumWidth(qtarch_labelEncoding->sizeHint().width());
- if (qtarch_labelEncoding->sizeHint().height()!=-1)
- qtarch_labelEncoding->setMinimumHeight(qtarch_labelEncoding->sizeHint().height());
- if (qtarch_labelEncoding->sizeHint().width()!=-1)
- qtarch_labelEncoding->setMaximumWidth(qtarch_labelEncoding->sizeHint().width());
- if (qtarch_labelEncoding->sizeHint().height()!=-1)
- qtarch_labelEncoding->setMaximumHeight(qtarch_labelEncoding->sizeHint().height());
- if (combo_encoding->sizeHint().width()!=-1)
- combo_encoding->setMinimumWidth(combo_encoding->sizeHint().width());
- if (combo_encoding->sizeHint().height()!=-1)
- combo_encoding->setMinimumHeight(combo_encoding->sizeHint().height());
- if (combo_encoding->sizeHint().height()!=-1)
- combo_encoding->setMaximumHeight(combo_encoding->sizeHint().height());
- if (qtarch_labelQuotes->sizeHint().width()!=-1)
- qtarch_labelQuotes->setMinimumWidth(qtarch_labelQuotes->sizeHint().width());
- if (qtarch_labelQuotes->sizeHint().height()!=-1)
- qtarch_labelQuotes->setMinimumHeight(qtarch_labelQuotes->sizeHint().height());
- if (qtarch_labelQuotes->sizeHint().width()!=-1)
- qtarch_labelQuotes->setMaximumWidth(qtarch_labelQuotes->sizeHint().width());
- if (qtarch_labelQuotes->sizeHint().height()!=-1)
- qtarch_labelQuotes->setMaximumHeight(qtarch_labelQuotes->sizeHint().height());
- if (combo_quotes->sizeHint().width()!=-1)
- combo_quotes->setMinimumWidth(combo_quotes->sizeHint().width());
- if (combo_quotes->sizeHint().height()!=-1)
- combo_quotes->setMinimumHeight(combo_quotes->sizeHint().height());
- if (combo_quotes->sizeHint().height()!=-1)
- combo_quotes->setMaximumHeight(combo_quotes->sizeHint().height());
- QGridLayout* qtarch_layout_1 = new QGridLayout( this, 3, 4, 5, 5, NULL );
- qtarch_layout_1->addColSpacing( 0, 5 );
- qtarch_layout_1->setColStretch( 0, 1 );
- qtarch_layout_1->addColSpacing( 1, 5 );
- qtarch_layout_1->setColStretch( 1, 1 );
- qtarch_layout_1->addColSpacing( 2, 5 );
- qtarch_layout_1->setColStretch( 2, 1 );
- qtarch_layout_1->addColSpacing( 3, 5 );
- qtarch_layout_1->setColStretch( 3, 1 );
- qtarch_layout_1->addRowSpacing( 0, 0 );
- qtarch_layout_1->setRowStretch( 0, 1 );
- qtarch_layout_1->addWidget( qtarch_labelLanguage, 0, 0, 33 );
- qtarch_layout_1->addWidget( combo_language, 0, 2, 33 );
- qtarch_layout_1->addRowSpacing( 1, 0 );
- qtarch_layout_1->setRowStretch( 1, 1 );
- qtarch_layout_1->addWidget( qtarch_labelEncoding, 1, 0, 33 );
- qtarch_layout_1->addWidget( combo_encoding, 1, 2, 33 );
- qtarch_layout_1->addRowSpacing( 2, 0 );
- qtarch_layout_1->setRowStretch( 2, 1 );
- qtarch_layout_1->addWidget( qtarch_labelQuotes, 2, 0, 33 );
- qtarch_layout_1->addWidget( combo_quotes, 2, 2, 33 );
- resize( 545,460 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-DocLanguageDialogData::~DocLanguageDialogData()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: doclanguagedlgdata.h
- Last generated: Sat Mar 31 16:48:33 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef DocLanguageDialogData_included
-#define DocLanguageDialogData_included
-
-#include <qwidget.h>
-#include <qcombobox.h>
-
-class DocLanguageDialogData : public QWidget
-{
- Q_OBJECT
-
-public:
-
- DocLanguageDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~DocLanguageDialogData();
-
-public slots:
-
-
-protected slots:
-
-
-public:
- QComboBox* combo_language;
- QComboBox* combo_encoding;
- QComboBox* combo_quotes;
-
-};
-
-#endif // DocLanguageDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docsettingsdlgdata.C
- Last generated: Sat Mar 31 16:48:38 2001
-
- 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 "docsettingsdlgdata.h"
-
-#define Inherited QWidget
-
-#include <qlabel.h>
-#include <qgroupbox.h>
-
-DocSettingsDialogData::DocSettingsDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, 0 )
-{
- QGroupBox* qtarch_paraspacingbox;
- qtarch_paraspacingbox = new QGroupBox( this, "paraspacingbox" );
- qtarch_paraspacingbox->setGeometry( 5, 180, 540, 220 );
- qtarch_paraspacingbox->setMinimumSize( 35, 69 );
- qtarch_paraspacingbox->setMaximumSize( 32767, 32767 );
- qtarch_paraspacingbox->setFocusPolicy( QWidget::NoFocus );
- qtarch_paraspacingbox->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_paraspacingbox->setFontPropagation( QWidget::NoChildren );
- qtarch_paraspacingbox->setPalettePropagation( QWidget::NoChildren );
- qtarch_paraspacingbox->setFrameStyle( 49 );
- qtarch_paraspacingbox->setLineWidth( 1 );
- qtarch_paraspacingbox->setMidLineWidth( 0 );
- qtarch_paraspacingbox->QFrame::setMargin( 17 );
- qtarch_paraspacingbox->setTitle( _("Paragraph spacing") );
- qtarch_paraspacingbox->setAlignment( 1 );
-
- QLabel* qtarch_labelFontSize;
- qtarch_labelFontSize = new QLabel( this, "labelFontSize" );
- qtarch_labelFontSize->setGeometry( 114, 95, 104, 25 );
- qtarch_labelFontSize->setMinimumSize( 0, 0 );
- qtarch_labelFontSize->setMaximumSize( 32767, 32767 );
- qtarch_labelFontSize->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelFontSize->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelFontSize->setFontPropagation( QWidget::NoChildren );
- qtarch_labelFontSize->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelFontSize->setFrameStyle( 0 );
- qtarch_labelFontSize->setLineWidth( 1 );
- qtarch_labelFontSize->setMidLineWidth( 0 );
- qtarch_labelFontSize->QFrame::setMargin( 0 );
- qtarch_labelFontSize->setText( _("Font size :") );
- qtarch_labelFontSize->setAlignment( 289 );
- qtarch_labelFontSize->setMargin( -1 );
-
- QLabel* qtarch_labelFont;
- qtarch_labelFont = new QLabel( this, "labelFont" );
- qtarch_labelFont->setGeometry( 114, 65, 104, 25 );
- qtarch_labelFont->setMinimumSize( 0, 0 );
- qtarch_labelFont->setMaximumSize( 32767, 32767 );
- qtarch_labelFont->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelFont->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelFont->setFontPropagation( QWidget::NoChildren );
- qtarch_labelFont->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelFont->setFrameStyle( 0 );
- qtarch_labelFont->setLineWidth( 1 );
- qtarch_labelFont->setMidLineWidth( 0 );
- qtarch_labelFont->QFrame::setMargin( 0 );
- qtarch_labelFont->setText( _("Font family :") );
- qtarch_labelFont->setAlignment( 289 );
- qtarch_labelFont->setMargin( -1 );
-
- QLabel* qtarch_labelPagestyle;
- qtarch_labelPagestyle = new QLabel( this, "labelPagestyle" );
- qtarch_labelPagestyle->setGeometry( 114, 35, 104, 25 );
- qtarch_labelPagestyle->setMinimumSize( 0, 0 );
- qtarch_labelPagestyle->setMaximumSize( 32767, 32767 );
- qtarch_labelPagestyle->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelPagestyle->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelPagestyle->setFontPropagation( QWidget::NoChildren );
- qtarch_labelPagestyle->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelPagestyle->setFrameStyle( 0 );
- qtarch_labelPagestyle->setLineWidth( 1 );
- qtarch_labelPagestyle->setMidLineWidth( 0 );
- qtarch_labelPagestyle->QFrame::setMargin( 0 );
- qtarch_labelPagestyle->setText( _("Page style :") );
- qtarch_labelPagestyle->setAlignment( 289 );
- qtarch_labelPagestyle->setMargin( -1 );
-
- QLabel* qtarch_labelClass;
- qtarch_labelClass = new QLabel( this, "labelClass" );
- qtarch_labelClass->setGeometry( 114, 5, 104, 25 );
- qtarch_labelClass->setMinimumSize( 0, 0 );
- qtarch_labelClass->setMaximumSize( 32767, 32767 );
- qtarch_labelClass->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelClass->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelClass->setFontPropagation( QWidget::NoChildren );
- qtarch_labelClass->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelClass->setFrameStyle( 0 );
- qtarch_labelClass->setLineWidth( 1 );
- qtarch_labelClass->setMidLineWidth( 0 );
- qtarch_labelClass->QFrame::setMargin( 0 );
- qtarch_labelClass->setText( _("Document class :") );
- qtarch_labelClass->setAlignment( 289 );
- qtarch_labelClass->setMargin( -1 );
-
- combo_docclass = new QComboBox( FALSE, this, "combo_docclass" );
- combo_docclass->setGeometry( 332, 5, 104, 25 );
- combo_docclass->setMinimumSize( 0, 0 );
- combo_docclass->setMaximumSize( 32767, 32767 );
- connect( combo_docclass, SIGNAL(highlighted(const char*)), SLOT(classChanged(const char*)) );
- combo_docclass->setFocusPolicy( QWidget::StrongFocus );
- combo_docclass->setBackgroundMode( QWidget::PaletteBackground );
- combo_docclass->setFontPropagation( QWidget::AllChildren );
- combo_docclass->setPalettePropagation( QWidget::AllChildren );
- combo_docclass->setSizeLimit( 30 );
- combo_docclass->setAutoResize( false );
- combo_docclass->setMaxCount( 2147483647 );
- combo_docclass->setAutoCompletion( false );
-
- combo_pagestyle = new QComboBox( FALSE, this, "combo_pagestyle" );
- combo_pagestyle->setGeometry( 332, 35, 104, 25 );
- combo_pagestyle->setMinimumSize( 0, 0 );
- combo_pagestyle->setMaximumSize( 32767, 32767 );
- combo_pagestyle->setFocusPolicy( QWidget::StrongFocus );
- combo_pagestyle->setBackgroundMode( QWidget::PaletteBackground );
- combo_pagestyle->setFontPropagation( QWidget::AllChildren );
- combo_pagestyle->setPalettePropagation( QWidget::AllChildren );
- combo_pagestyle->setSizeLimit( 30 );
- combo_pagestyle->setAutoResize( false );
- combo_pagestyle->setMaxCount( 2147483647 );
- combo_pagestyle->setAutoCompletion( false );
-
- combo_font = new QComboBox( FALSE, this, "combo_font" );
- combo_font->setGeometry( 332, 65, 104, 25 );
- combo_font->setMinimumSize( 0, 0 );
- combo_font->setMaximumSize( 32767, 32767 );
- combo_font->setFocusPolicy( QWidget::StrongFocus );
- combo_font->setBackgroundMode( QWidget::PaletteBackground );
- combo_font->setFontPropagation( QWidget::AllChildren );
- combo_font->setPalettePropagation( QWidget::AllChildren );
- combo_font->setSizeLimit( 30 );
- combo_font->setAutoResize( false );
- combo_font->setMaxCount( 2147483647 );
- combo_font->setAutoCompletion( false );
-
- combo_fontsize = new QComboBox( FALSE, this, "combo_fontsize" );
- combo_fontsize->setGeometry( 332, 95, 104, 25 );
- combo_fontsize->setMinimumSize( 0, 0 );
- combo_fontsize->setMaximumSize( 32767, 32767 );
- combo_fontsize->setFocusPolicy( QWidget::StrongFocus );
- combo_fontsize->setBackgroundMode( QWidget::PaletteBackground );
- combo_fontsize->setFontPropagation( QWidget::AllChildren );
- combo_fontsize->setPalettePropagation( QWidget::AllChildren );
- combo_fontsize->setSizeLimit( 30 );
- combo_fontsize->setAutoResize( false );
- combo_fontsize->setMaxCount( 2147483647 );
- combo_fontsize->setAutoCompletion( false );
-
- check_sides = new QCheckBox( this, "check_sides" );
- check_sides->setGeometry( 112, 125, 107, 50 );
- check_sides->setMinimumSize( 0, 0 );
- check_sides->setMaximumSize( 32767, 32767 );
- check_sides->setFocusPolicy( QWidget::TabFocus );
- check_sides->setBackgroundMode( QWidget::PaletteBackground );
- check_sides->setFontPropagation( QWidget::NoChildren );
- check_sides->setPalettePropagation( QWidget::NoChildren );
- check_sides->setText( _("Two-sided") );
- check_sides->setAutoRepeat( false );
- check_sides->setAutoResize( false );
- check_sides->setChecked( false );
-
- check_columns = new QCheckBox( this, "check_columns" );
- check_columns->setGeometry( 331, 125, 107, 50 );
- check_columns->setMinimumSize( 0, 0 );
- check_columns->setMaximumSize( 32767, 32767 );
- check_columns->setFocusPolicy( QWidget::TabFocus );
- check_columns->setBackgroundMode( QWidget::PaletteBackground );
- check_columns->setFontPropagation( QWidget::NoChildren );
- check_columns->setPalettePropagation( QWidget::NoChildren );
- check_columns->setText( _("Two column pages") );
- check_columns->setAutoRepeat( false );
- check_columns->setAutoResize( false );
- check_columns->setChecked( false );
-
- QLabel* qtarch_labelSpacing;
- qtarch_labelSpacing = new QLabel( this, "labelSpacing" );
- qtarch_labelSpacing->setGeometry( 5, 405, 177, 50 );
- qtarch_labelSpacing->setMinimumSize( 0, 0 );
- qtarch_labelSpacing->setMaximumSize( 32767, 32767 );
- qtarch_labelSpacing->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelSpacing->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelSpacing->setFontPropagation( QWidget::NoChildren );
- qtarch_labelSpacing->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelSpacing->setFrameStyle( 0 );
- qtarch_labelSpacing->setLineWidth( 1 );
- qtarch_labelSpacing->setMidLineWidth( 0 );
- qtarch_labelSpacing->QFrame::setMargin( 0 );
- qtarch_labelSpacing->setText( _("Inter-line spacing :") );
- qtarch_labelSpacing->setAlignment( 289 );
- qtarch_labelSpacing->setMargin( -1 );
-
- QLabel* qtarch_labelExtraoptions;
- qtarch_labelExtraoptions = new QLabel( this, "labelExtraoptions" );
- qtarch_labelExtraoptions->setGeometry( 5, 460, 268, 50 );
- qtarch_labelExtraoptions->setMinimumSize( 0, 0 );
- qtarch_labelExtraoptions->setMaximumSize( 32767, 32767 );
- qtarch_labelExtraoptions->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelExtraoptions->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelExtraoptions->setFontPropagation( QWidget::NoChildren );
- qtarch_labelExtraoptions->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelExtraoptions->setFrameStyle( 0 );
- qtarch_labelExtraoptions->setLineWidth( 1 );
- qtarch_labelExtraoptions->setMidLineWidth( 0 );
- qtarch_labelExtraoptions->QFrame::setMargin( 0 );
- qtarch_labelExtraoptions->setText( _("Extra options :") );
- qtarch_labelExtraoptions->setAlignment( 289 );
- qtarch_labelExtraoptions->setMargin( -1 );
-
- QLabel* qtarch_labelSkip;
- qtarch_labelSkip = new QLabel( qtarch_paraspacingbox, "labelSkip" );
- qtarch_labelSkip->setGeometry( 5, 67, 128, 30 );
- qtarch_labelSkip->setMinimumSize( 0, 0 );
- qtarch_labelSkip->setMaximumSize( 32767, 32767 );
- qtarch_labelSkip->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelSkip->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelSkip->setFontPropagation( QWidget::NoChildren );
- qtarch_labelSkip->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelSkip->setFrameStyle( 0 );
- qtarch_labelSkip->setLineWidth( 1 );
- qtarch_labelSkip->setMidLineWidth( 0 );
- qtarch_labelSkip->QFrame::setMargin( 0 );
- qtarch_labelSkip->setText( _("Default paragraph spacing :") );
- qtarch_labelSkip->setAlignment( 289 );
- qtarch_labelSkip->setMargin( -1 );
-
- QLabel* qtarch_labelparasize;
- qtarch_labelparasize = new QLabel( qtarch_paraspacingbox, "labelparasize" );
- qtarch_labelparasize->setGeometry( 5, 114, 173, 30 );
- qtarch_labelparasize->setMinimumSize( 0, 0 );
- qtarch_labelparasize->setMaximumSize( 32767, 32767 );
- qtarch_labelparasize->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelparasize->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelparasize->setFontPropagation( QWidget::NoChildren );
- qtarch_labelparasize->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelparasize->setFrameStyle( 0 );
- qtarch_labelparasize->setLineWidth( 1 );
- qtarch_labelparasize->setMidLineWidth( 0 );
- qtarch_labelparasize->QFrame::setMargin( 0 );
- qtarch_labelparasize->setText( _("Size :") );
- qtarch_labelparasize->setAlignment( 289 );
- qtarch_labelparasize->setMargin( -1 );
-
- QLabel* qtarch_paralabelShrink;
- qtarch_paralabelShrink = new QLabel( qtarch_paraspacingbox, "paralabelShrink" );
- qtarch_paralabelShrink->setGeometry( 5, 185, 173, 30 );
- qtarch_paralabelShrink->setMinimumSize( 0, 0 );
- qtarch_paralabelShrink->setMaximumSize( 32767, 32767 );
- qtarch_paralabelShrink->setFocusPolicy( QWidget::NoFocus );
- qtarch_paralabelShrink->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_paralabelShrink->setFontPropagation( QWidget::NoChildren );
- qtarch_paralabelShrink->setPalettePropagation( QWidget::NoChildren );
- qtarch_paralabelShrink->setFrameStyle( 0 );
- qtarch_paralabelShrink->setLineWidth( 1 );
- qtarch_paralabelShrink->setMidLineWidth( 0 );
- qtarch_paralabelShrink->QFrame::setMargin( 0 );
- qtarch_paralabelShrink->setText( _("Shrink :") );
- qtarch_paralabelShrink->setAlignment( 289 );
- qtarch_paralabelShrink->setMargin( -1 );
-
- QLabel* qtarch_paralabelStretch;
- qtarch_paralabelStretch = new QLabel( qtarch_paraspacingbox, "paralabelStretch" );
- qtarch_paralabelStretch->setGeometry( 5, 149, 173, 31 );
- qtarch_paralabelStretch->setMinimumSize( 0, 0 );
- qtarch_paralabelStretch->setMaximumSize( 32767, 32767 );
- qtarch_paralabelStretch->setFocusPolicy( QWidget::NoFocus );
- qtarch_paralabelStretch->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_paralabelStretch->setFontPropagation( QWidget::NoChildren );
- qtarch_paralabelStretch->setPalettePropagation( QWidget::NoChildren );
- qtarch_paralabelStretch->setFrameStyle( 0 );
- qtarch_paralabelStretch->setLineWidth( 1 );
- qtarch_paralabelStretch->setMidLineWidth( 0 );
- qtarch_paralabelStretch->QFrame::setMargin( 0 );
- qtarch_paralabelStretch->setText( _("Stretch :") );
- qtarch_paralabelStretch->setAlignment( 289 );
- qtarch_paralabelStretch->setMargin( -1 );
-
- combo_paraspacing = new QComboBox( FALSE, qtarch_paraspacingbox, "combo_paraspacing" );
- combo_paraspacing->setGeometry( 279, 67, 128, 30 );
- combo_paraspacing->setMinimumSize( 0, 0 );
- combo_paraspacing->setMaximumSize( 32767, 32767 );
- connect( combo_paraspacing, SIGNAL(highlighted(const char*)), SLOT(paraspacingChanged(const char*)) );
- combo_paraspacing->setFocusPolicy( QWidget::StrongFocus );
- combo_paraspacing->setBackgroundMode( QWidget::PaletteBackground );
- combo_paraspacing->setFontPropagation( QWidget::AllChildren );
- combo_paraspacing->setPalettePropagation( QWidget::AllChildren );
- combo_paraspacing->setSizeLimit( 30 );
- combo_paraspacing->setAutoResize( false );
- combo_paraspacing->setMaxCount( 2147483647 );
- combo_paraspacing->setAutoCompletion( false );
-
- length_paraspacing = new LengthEntry( qtarch_paraspacingbox, "length_paraspacing" );
- length_paraspacing->setGeometry( 183, 114, 174, 30 );
- length_paraspacing->setMinimumSize( 0, 0 );
- length_paraspacing->setMaximumSize( 32767, 32767 );
- length_paraspacing->setFocusPolicy( QWidget::NoFocus );
- length_paraspacing->setBackgroundMode( QWidget::PaletteBackground );
- length_paraspacing->setFontPropagation( QWidget::NoChildren );
- length_paraspacing->setPalettePropagation( QWidget::NoChildren );
-
- length_paraspacingstretch = new LengthEntry( qtarch_paraspacingbox, "length_paraspacingstretch" );
- length_paraspacingstretch->setGeometry( 183, 149, 174, 31 );
- length_paraspacingstretch->setMinimumSize( 0, 0 );
- length_paraspacingstretch->setMaximumSize( 32767, 32767 );
- length_paraspacingstretch->setFocusPolicy( QWidget::NoFocus );
- length_paraspacingstretch->setBackgroundMode( QWidget::PaletteBackground );
- length_paraspacingstretch->setFontPropagation( QWidget::NoChildren );
- length_paraspacingstretch->setPalettePropagation( QWidget::NoChildren );
-
- length_paraspacingshrink = new LengthEntry( qtarch_paraspacingbox, "length_paraspacingshrink" );
- length_paraspacingshrink->setGeometry( 183, 185, 174, 30 );
- length_paraspacingshrink->setMinimumSize( 0, 0 );
- length_paraspacingshrink->setMaximumSize( 32767, 32767 );
- length_paraspacingshrink->setFocusPolicy( QWidget::NoFocus );
- length_paraspacingshrink->setBackgroundMode( QWidget::PaletteBackground );
- length_paraspacingshrink->setFontPropagation( QWidget::NoChildren );
- length_paraspacingshrink->setPalettePropagation( QWidget::NoChildren );
-
- combo_linespacing = new QComboBox( FALSE, this, "combo_linespacing" );
- combo_linespacing->setGeometry( 187, 405, 176, 50 );
- combo_linespacing->setMinimumSize( 0, 0 );
- combo_linespacing->setMaximumSize( 32767, 32767 );
- combo_linespacing->setFocusPolicy( QWidget::StrongFocus );
- combo_linespacing->setBackgroundMode( QWidget::PaletteBackground );
- combo_linespacing->setFontPropagation( QWidget::AllChildren );
- combo_linespacing->setPalettePropagation( QWidget::AllChildren );
- combo_linespacing->setSizeLimit( 30 );
- combo_linespacing->setAutoResize( false );
- combo_linespacing->setMaxCount( 2147483647 );
- combo_linespacing->setAutoCompletion( false );
-
- line_linespacing = new KRestrictedLine( this, "line_linespacing" );
- line_linespacing->setGeometry( 368, 405, 177, 50 );
- line_linespacing->setMinimumSize( 0, 0 );
- line_linespacing->setMaximumSize( 32767, 32767 );
- line_linespacing->setFocusPolicy( QWidget::StrongFocus );
- line_linespacing->setBackgroundMode( QWidget::PaletteBase );
- line_linespacing->setFontPropagation( QWidget::NoChildren );
- line_linespacing->setPalettePropagation( QWidget::NoChildren );
- line_linespacing->setText( "" );
- line_linespacing->setMaxLength( 32767 );
- line_linespacing->setFrame( QLineEdit::Normal );
- line_linespacing->setFrame( true );
- line_linespacing->setValidChars( "0123456789.," );
-
- line_extraoptions = new QLineEdit( this, "line_extraoptions" );
- line_extraoptions->setGeometry( 278, 460, 267, 50 );
- line_extraoptions->setMinimumSize( 0, 0 );
- line_extraoptions->setMaximumSize( 32767, 32767 );
- line_extraoptions->setFocusPolicy( QWidget::StrongFocus );
- line_extraoptions->setBackgroundMode( QWidget::PaletteBase );
- line_extraoptions->setFontPropagation( QWidget::NoChildren );
- line_extraoptions->setPalettePropagation( QWidget::NoChildren );
- line_extraoptions->setText( "" );
- line_extraoptions->setMaxLength( 32767 );
- line_extraoptions->setFrame( QLineEdit::Normal );
- line_extraoptions->setFrame( true );
-
- check_addspace = new QCheckBox( this, "check_addspace" );
- check_addspace->setGeometry( 10, 200, 398, 30 );
- check_addspace->setMinimumSize( 0, 0 );
- check_addspace->setMaximumSize( 32767, 32767 );
- connect( check_addspace, SIGNAL(toggled(bool)), SLOT(addspaceChanged(bool)) );
- check_addspace->setFocusPolicy( QWidget::TabFocus );
- check_addspace->setBackgroundMode( QWidget::PaletteBackground );
- check_addspace->setFontPropagation( QWidget::NoChildren );
- check_addspace->setPalettePropagation( QWidget::NoChildren );
- check_addspace->setText( _("Add space") );
- check_addspace->setAutoRepeat( false );
- check_addspace->setAutoResize( false );
- check_addspace->setChecked( false );
-
- if (qtarch_paraspacingbox->sizeHint().width()!=-1)
- qtarch_paraspacingbox->setMinimumWidth(qtarch_paraspacingbox->sizeHint().width());
- if (qtarch_paraspacingbox->sizeHint().height()!=-1)
- qtarch_paraspacingbox->setMinimumHeight(qtarch_paraspacingbox->sizeHint().height());
- if (qtarch_labelFontSize->sizeHint().width()!=-1)
- qtarch_labelFontSize->setMinimumWidth(qtarch_labelFontSize->sizeHint().width());
- if (qtarch_labelFontSize->sizeHint().height()!=-1)
- qtarch_labelFontSize->setMinimumHeight(qtarch_labelFontSize->sizeHint().height());
- if (qtarch_labelFontSize->sizeHint().width()!=-1)
- qtarch_labelFontSize->setMaximumWidth(qtarch_labelFontSize->sizeHint().width());
- if (qtarch_labelFontSize->sizeHint().height()!=-1)
- qtarch_labelFontSize->setMaximumHeight(qtarch_labelFontSize->sizeHint().height());
- if (qtarch_labelFont->sizeHint().width()!=-1)
- qtarch_labelFont->setMinimumWidth(qtarch_labelFont->sizeHint().width());
- if (qtarch_labelFont->sizeHint().height()!=-1)
- qtarch_labelFont->setMinimumHeight(qtarch_labelFont->sizeHint().height());
- if (qtarch_labelFont->sizeHint().width()!=-1)
- qtarch_labelFont->setMaximumWidth(qtarch_labelFont->sizeHint().width());
- if (qtarch_labelFont->sizeHint().height()!=-1)
- qtarch_labelFont->setMaximumHeight(qtarch_labelFont->sizeHint().height());
- if (qtarch_labelPagestyle->sizeHint().width()!=-1)
- qtarch_labelPagestyle->setMinimumWidth(qtarch_labelPagestyle->sizeHint().width());
- if (qtarch_labelPagestyle->sizeHint().height()!=-1)
- qtarch_labelPagestyle->setMinimumHeight(qtarch_labelPagestyle->sizeHint().height());
- if (qtarch_labelPagestyle->sizeHint().width()!=-1)
- qtarch_labelPagestyle->setMaximumWidth(qtarch_labelPagestyle->sizeHint().width());
- if (qtarch_labelPagestyle->sizeHint().height()!=-1)
- qtarch_labelPagestyle->setMaximumHeight(qtarch_labelPagestyle->sizeHint().height());
- if (qtarch_labelClass->sizeHint().width()!=-1)
- qtarch_labelClass->setMinimumWidth(qtarch_labelClass->sizeHint().width());
- if (qtarch_labelClass->sizeHint().height()!=-1)
- qtarch_labelClass->setMinimumHeight(qtarch_labelClass->sizeHint().height());
- if (qtarch_labelClass->sizeHint().width()!=-1)
- qtarch_labelClass->setMaximumWidth(qtarch_labelClass->sizeHint().width());
- if (qtarch_labelClass->sizeHint().height()!=-1)
- qtarch_labelClass->setMaximumHeight(qtarch_labelClass->sizeHint().height());
- if (combo_docclass->sizeHint().width()!=-1)
- combo_docclass->setMinimumWidth(combo_docclass->sizeHint().width());
- if (combo_docclass->sizeHint().height()!=-1)
- combo_docclass->setMinimumHeight(combo_docclass->sizeHint().height());
- if (combo_docclass->sizeHint().height()!=-1)
- combo_docclass->setMaximumHeight(combo_docclass->sizeHint().height());
- if (combo_pagestyle->sizeHint().width()!=-1)
- combo_pagestyle->setMinimumWidth(combo_pagestyle->sizeHint().width());
- if (combo_pagestyle->sizeHint().height()!=-1)
- combo_pagestyle->setMinimumHeight(combo_pagestyle->sizeHint().height());
- if (combo_pagestyle->sizeHint().height()!=-1)
- combo_pagestyle->setMaximumHeight(combo_pagestyle->sizeHint().height());
- if (combo_font->sizeHint().width()!=-1)
- combo_font->setMinimumWidth(combo_font->sizeHint().width());
- if (combo_font->sizeHint().height()!=-1)
- combo_font->setMinimumHeight(combo_font->sizeHint().height());
- if (combo_font->sizeHint().height()!=-1)
- combo_font->setMaximumHeight(combo_font->sizeHint().height());
- if (combo_fontsize->sizeHint().width()!=-1)
- combo_fontsize->setMinimumWidth(combo_fontsize->sizeHint().width());
- if (combo_fontsize->sizeHint().height()!=-1)
- combo_fontsize->setMinimumHeight(combo_fontsize->sizeHint().height());
- if (combo_fontsize->sizeHint().height()!=-1)
- combo_fontsize->setMaximumHeight(combo_fontsize->sizeHint().height());
- if (check_sides->sizeHint().width()!=-1)
- check_sides->setMinimumWidth(check_sides->sizeHint().width());
- if (check_sides->sizeHint().height()!=-1)
- check_sides->setMinimumHeight(check_sides->sizeHint().height());
- if (check_sides->sizeHint().width()!=-1)
- check_sides->setMaximumWidth(check_sides->sizeHint().width());
- if (check_sides->sizeHint().height()!=-1)
- check_sides->setMaximumHeight(check_sides->sizeHint().height());
- if (check_columns->sizeHint().width()!=-1)
- check_columns->setMinimumWidth(check_columns->sizeHint().width());
- if (check_columns->sizeHint().height()!=-1)
- check_columns->setMinimumHeight(check_columns->sizeHint().height());
- if (check_columns->sizeHint().width()!=-1)
- check_columns->setMaximumWidth(check_columns->sizeHint().width());
- if (check_columns->sizeHint().height()!=-1)
- check_columns->setMaximumHeight(check_columns->sizeHint().height());
- if (qtarch_labelSpacing->sizeHint().width()!=-1)
- qtarch_labelSpacing->setMinimumWidth(qtarch_labelSpacing->sizeHint().width());
- if (qtarch_labelSpacing->sizeHint().height()!=-1)
- qtarch_labelSpacing->setMinimumHeight(qtarch_labelSpacing->sizeHint().height());
- if (qtarch_labelSpacing->sizeHint().width()!=-1)
- qtarch_labelSpacing->setMaximumWidth(qtarch_labelSpacing->sizeHint().width());
- if (qtarch_labelSpacing->sizeHint().height()!=-1)
- qtarch_labelSpacing->setMaximumHeight(qtarch_labelSpacing->sizeHint().height());
- if (qtarch_labelExtraoptions->sizeHint().width()!=-1)
- qtarch_labelExtraoptions->setMinimumWidth(qtarch_labelExtraoptions->sizeHint().width());
- if (qtarch_labelExtraoptions->sizeHint().height()!=-1)
- qtarch_labelExtraoptions->setMinimumHeight(qtarch_labelExtraoptions->sizeHint().height());
- if (qtarch_labelExtraoptions->sizeHint().width()!=-1)
- qtarch_labelExtraoptions->setMaximumWidth(qtarch_labelExtraoptions->sizeHint().width());
- if (qtarch_labelExtraoptions->sizeHint().height()!=-1)
- qtarch_labelExtraoptions->setMaximumHeight(qtarch_labelExtraoptions->sizeHint().height());
- if (qtarch_labelSkip->sizeHint().width()!=-1)
- qtarch_labelSkip->setMinimumWidth(qtarch_labelSkip->sizeHint().width());
- if (qtarch_labelSkip->sizeHint().height()!=-1)
- qtarch_labelSkip->setMinimumHeight(qtarch_labelSkip->sizeHint().height());
- if (qtarch_labelSkip->sizeHint().width()!=-1)
- qtarch_labelSkip->setMaximumWidth(qtarch_labelSkip->sizeHint().width());
- if (qtarch_labelSkip->sizeHint().height()!=-1)
- qtarch_labelSkip->setMaximumHeight(qtarch_labelSkip->sizeHint().height());
- if (qtarch_labelparasize->sizeHint().width()!=-1)
- qtarch_labelparasize->setMinimumWidth(qtarch_labelparasize->sizeHint().width());
- if (qtarch_labelparasize->sizeHint().height()!=-1)
- qtarch_labelparasize->setMinimumHeight(qtarch_labelparasize->sizeHint().height());
- if (qtarch_labelparasize->sizeHint().width()!=-1)
- qtarch_labelparasize->setMaximumWidth(qtarch_labelparasize->sizeHint().width());
- if (qtarch_labelparasize->sizeHint().height()!=-1)
- qtarch_labelparasize->setMaximumHeight(qtarch_labelparasize->sizeHint().height());
- if (qtarch_paralabelShrink->sizeHint().width()!=-1)
- qtarch_paralabelShrink->setMinimumWidth(qtarch_paralabelShrink->sizeHint().width());
- if (qtarch_paralabelShrink->sizeHint().height()!=-1)
- qtarch_paralabelShrink->setMinimumHeight(qtarch_paralabelShrink->sizeHint().height());
- if (qtarch_paralabelShrink->sizeHint().width()!=-1)
- qtarch_paralabelShrink->setMaximumWidth(qtarch_paralabelShrink->sizeHint().width());
- if (qtarch_paralabelShrink->sizeHint().height()!=-1)
- qtarch_paralabelShrink->setMaximumHeight(qtarch_paralabelShrink->sizeHint().height());
- if (qtarch_paralabelStretch->sizeHint().width()!=-1)
- qtarch_paralabelStretch->setMinimumWidth(qtarch_paralabelStretch->sizeHint().width());
- if (qtarch_paralabelStretch->sizeHint().height()!=-1)
- qtarch_paralabelStretch->setMinimumHeight(qtarch_paralabelStretch->sizeHint().height());
- if (qtarch_paralabelStretch->sizeHint().width()!=-1)
- qtarch_paralabelStretch->setMaximumWidth(qtarch_paralabelStretch->sizeHint().width());
- if (qtarch_paralabelStretch->sizeHint().height()!=-1)
- qtarch_paralabelStretch->setMaximumHeight(qtarch_paralabelStretch->sizeHint().height());
- if (combo_paraspacing->sizeHint().width()!=-1)
- combo_paraspacing->setMinimumWidth(combo_paraspacing->sizeHint().width());
- if (combo_paraspacing->sizeHint().height()!=-1)
- combo_paraspacing->setMinimumHeight(combo_paraspacing->sizeHint().height());
- if (combo_paraspacing->sizeHint().height()!=-1)
- combo_paraspacing->setMaximumHeight(combo_paraspacing->sizeHint().height());
- if (length_paraspacing->sizeHint().width()!=-1)
- length_paraspacing->setMinimumWidth(length_paraspacing->sizeHint().width());
- if (length_paraspacing->sizeHint().height()!=-1)
- length_paraspacing->setMinimumHeight(length_paraspacing->sizeHint().height());
- if (length_paraspacing->sizeHint().height()!=-1)
- length_paraspacing->setMaximumHeight(length_paraspacing->sizeHint().height());
- if (length_paraspacingstretch->sizeHint().width()!=-1)
- length_paraspacingstretch->setMinimumWidth(length_paraspacingstretch->sizeHint().width());
- if (length_paraspacingstretch->sizeHint().height()!=-1)
- length_paraspacingstretch->setMinimumHeight(length_paraspacingstretch->sizeHint().height());
- if (length_paraspacingstretch->sizeHint().height()!=-1)
- length_paraspacingstretch->setMaximumHeight(length_paraspacingstretch->sizeHint().height());
- if (length_paraspacingshrink->sizeHint().width()!=-1)
- length_paraspacingshrink->setMinimumWidth(length_paraspacingshrink->sizeHint().width());
- if (length_paraspacingshrink->sizeHint().height()!=-1)
- length_paraspacingshrink->setMinimumHeight(length_paraspacingshrink->sizeHint().height());
- if (length_paraspacingshrink->sizeHint().height()!=-1)
- length_paraspacingshrink->setMaximumHeight(length_paraspacingshrink->sizeHint().height());
- if (combo_linespacing->sizeHint().width()!=-1)
- combo_linespacing->setMinimumWidth(combo_linespacing->sizeHint().width());
- if (combo_linespacing->sizeHint().height()!=-1)
- combo_linespacing->setMinimumHeight(combo_linespacing->sizeHint().height());
- if (combo_linespacing->sizeHint().height()!=-1)
- combo_linespacing->setMaximumHeight(combo_linespacing->sizeHint().height());
- if (line_linespacing->sizeHint().width()!=-1)
- line_linespacing->setMinimumWidth(line_linespacing->sizeHint().width());
- if (line_linespacing->sizeHint().height()!=-1)
- line_linespacing->setMinimumHeight(line_linespacing->sizeHint().height());
- if (line_linespacing->sizeHint().height()!=-1)
- line_linespacing->setMaximumHeight(line_linespacing->sizeHint().height());
- if (line_extraoptions->sizeHint().width()!=-1)
- line_extraoptions->setMinimumWidth(line_extraoptions->sizeHint().width());
- if (line_extraoptions->sizeHint().height()!=-1)
- line_extraoptions->setMinimumHeight(line_extraoptions->sizeHint().height());
- if (line_extraoptions->sizeHint().height()!=-1)
- line_extraoptions->setMaximumHeight(line_extraoptions->sizeHint().height());
- if (check_addspace->sizeHint().width()!=-1)
- check_addspace->setMinimumWidth(check_addspace->sizeHint().width());
- if (check_addspace->sizeHint().height()!=-1)
- check_addspace->setMinimumHeight(check_addspace->sizeHint().height());
- if (check_addspace->sizeHint().width()!=-1)
- check_addspace->setMaximumWidth(check_addspace->sizeHint().width());
- if (check_addspace->sizeHint().height()!=-1)
- check_addspace->setMaximumHeight(check_addspace->sizeHint().height());
- QBoxLayout* qtarch_layout_1 = new QBoxLayout( this, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1->addStrut( 0 );
- QGridLayout* qtarch_layout_1_1 = new QGridLayout( 4, 5, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_1, 2 );
- qtarch_layout_1_1->addColSpacing( 0, 5 );
- qtarch_layout_1_1->setColStretch( 0, 1 );
- qtarch_layout_1_1->addColSpacing( 1, 5 );
- qtarch_layout_1_1->setColStretch( 1, 1 );
- qtarch_layout_1_1->addColSpacing( 2, 5 );
- qtarch_layout_1_1->setColStretch( 2, 1 );
- qtarch_layout_1_1->addColSpacing( 3, 5 );
- qtarch_layout_1_1->setColStretch( 3, 1 );
- qtarch_layout_1_1->addColSpacing( 4, 5 );
- qtarch_layout_1_1->setColStretch( 4, 1 );
- qtarch_layout_1_1->addRowSpacing( 0, 0 );
- qtarch_layout_1_1->setRowStretch( 0, 1 );
- qtarch_layout_1_1->addWidget( qtarch_labelClass, 0, 1, 33 );
- qtarch_layout_1_1->addWidget( combo_docclass, 0, 3, 33 );
- qtarch_layout_1_1->addRowSpacing( 1, 0 );
- qtarch_layout_1_1->setRowStretch( 1, 1 );
- qtarch_layout_1_1->addWidget( qtarch_labelPagestyle, 1, 1, 33 );
- qtarch_layout_1_1->addWidget( combo_pagestyle, 1, 3, 33 );
- qtarch_layout_1_1->addRowSpacing( 2, 0 );
- qtarch_layout_1_1->setRowStretch( 2, 1 );
- qtarch_layout_1_1->addWidget( qtarch_labelFont, 2, 1, 33 );
- qtarch_layout_1_1->addWidget( combo_font, 2, 3, 33 );
- qtarch_layout_1_1->addRowSpacing( 3, 0 );
- qtarch_layout_1_1->setRowStretch( 3, 1 );
- qtarch_layout_1_1->addWidget( qtarch_labelFontSize, 3, 1, 33 );
- qtarch_layout_1_1->addWidget( combo_fontsize, 3, 3, 33 );
- 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( check_sides, 1, 33 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( check_columns, 1, 33 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1->addWidget( qtarch_paraspacingbox, 3, 33 );
- QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( qtarch_paraspacingbox, QBoxLayout::TopToBottom, 5, 17, NULL );
- qtarch_layout_1_3->addStrut( 0 );
- qtarch_layout_1_3->addSpacing( 15 );
- QBoxLayout* qtarch_layout_1_3_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_3->addLayout( qtarch_layout_1_3_2, 1 );
- qtarch_layout_1_3_2->addStrut( 0 );
- qtarch_layout_1_3_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_3_3 = new QBoxLayout( QBoxLayout::LeftToRight, 17, NULL );
- qtarch_layout_1_3->addLayout( qtarch_layout_1_3_3, 1 );
- qtarch_layout_1_3_3->addStrut( 0 );
- qtarch_layout_1_3_3->addWidget( qtarch_labelSkip, 1, 36 );
- qtarch_layout_1_3_3->addStretch( 1 );
- qtarch_layout_1_3_3->addWidget( combo_paraspacing, 1, 36 );
- qtarch_layout_1_3_3->addStretch( 1 );
- QGridLayout* qtarch_layout_1_3_4 = new QGridLayout( 3, 3, 5, NULL );
- qtarch_layout_1_3->addLayout( qtarch_layout_1_3_4, 3 );
- qtarch_layout_1_3_4->addColSpacing( 0, 5 );
- qtarch_layout_1_3_4->setColStretch( 0, 1 );
- qtarch_layout_1_3_4->addColSpacing( 1, 5 );
- qtarch_layout_1_3_4->setColStretch( 1, 1 );
- qtarch_layout_1_3_4->addColSpacing( 2, 5 );
- qtarch_layout_1_3_4->setColStretch( 2, 1 );
- qtarch_layout_1_3_4->addRowSpacing( 0, 0 );
- qtarch_layout_1_3_4->setRowStretch( 0, 1 );
- qtarch_layout_1_3_4->addWidget( qtarch_labelparasize, 0, 0, 33 );
- qtarch_layout_1_3_4->addWidget( length_paraspacing, 0, 1, 33 );
- qtarch_layout_1_3_4->addRowSpacing( 1, 0 );
- qtarch_layout_1_3_4->setRowStretch( 1, 1 );
- qtarch_layout_1_3_4->addWidget( qtarch_paralabelStretch, 1, 0, 33 );
- qtarch_layout_1_3_4->addWidget( length_paraspacingstretch, 1, 1, 33 );
- qtarch_layout_1_3_4->addRowSpacing( 2, 0 );
- qtarch_layout_1_3_4->setRowStretch( 2, 1 );
- qtarch_layout_1_3_4->addWidget( qtarch_paralabelShrink, 2, 0, 33 );
- qtarch_layout_1_3_4->addWidget( length_paraspacingshrink, 2, 1, 33 );
- QBoxLayout* qtarch_layout_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_4, 1 );
- qtarch_layout_1_4->addStrut( 0 );
- qtarch_layout_1_4->addWidget( qtarch_labelSpacing, 1, 36 );
- qtarch_layout_1_4->addWidget( combo_linespacing, 1, 36 );
- qtarch_layout_1_4->addWidget( line_linespacing, 1, 36 );
- QBoxLayout* qtarch_layout_1_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_5, 1 );
- qtarch_layout_1_5->addStrut( 0 );
- qtarch_layout_1_5->addWidget( qtarch_labelExtraoptions, 1, 36 );
- qtarch_layout_1_5->addWidget( line_extraoptions, 1, 33 );
- setGeometry( 0,0, 550,515 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-DocSettingsDialogData::~DocSettingsDialogData()
-{
-}
-void DocSettingsDialogData::classChanged(const char*)
-{
-}
-void DocSettingsDialogData::paraspacingChanged(const char*)
-{
-}
-void DocSettingsDialogData::addspaceChanged(bool)
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: docsettingsdlgdata.h
- Last generated: Sat Mar 31 16:48:38 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef DocSettingsDialogData_included
-#define DocSettingsDialogData_included
-
-#include <qwidget.h>
-#include "lengthentry.h"
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qlineedit.h>
-#include <krestrictedline.h>
-
-class DocSettingsDialogData : public QWidget
-{
- Q_OBJECT
-
-public:
-
- DocSettingsDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~DocSettingsDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void paraspacingChanged(const char*);
- virtual void classChanged(const char*);
- virtual void addspaceChanged(bool);
-
-public:
- QComboBox* combo_docclass;
- QComboBox* combo_pagestyle;
- QComboBox* combo_font;
- QComboBox* combo_fontsize;
- QCheckBox* check_sides;
- QCheckBox* check_columns;
- QComboBox* combo_paraspacing;
- LengthEntry* length_paraspacing;
- LengthEntry* length_paraspacingstretch;
- LengthEntry* length_paraspacingshrink;
- QComboBox* combo_linespacing;
- KRestrictedLine* line_linespacing;
- QLineEdit* line_extraoptions;
- QCheckBox* check_addspace;
-
-};
-
-#endif // DocSettingsDialogData_included
+++ /dev/null
-/*
- * 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, const char * name)
- : QTableView(parent,name)
-{
- setBackgroundMode(NoBackground);
- 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());
-}
+++ /dev/null
-// -*- C++ -*-
-/*
- * 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, boost::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
+++ /dev/null
-/*
- * helpers.C
- * (C) 2001 LyX Team
- *
- * John Levon, moz@compsoc.man.ac.uk
- */
-
-/**
- * \file helpers.C
- * \brief various useful functions for manipulating dialog widgets
- */
-
-#include <config.h>
-
-#include "helpers.h"
-
-#include "gettext.h"
-#include "debug.h"
-
-using std::endl;
-
-namespace kde_helpers {
-
-bool setComboFromStr(QComboBox *box, const string & str)
-{
- for (int i = 0; i < box->count(); i++) {
- if (str == box->text(i)) {
- box->setCurrentItem(i);
- return true;
- }
- }
-
- return false;
-}
-
-} // namespace kde_helpers
+++ /dev/null
-/*
- * helpers.h
- *
- * (C) 2001 LyX Team
- *
- * John Levon, moz@compsoc.man.ac.uk
- */
-
-#ifndef HELPERS_H
-#define HELPERS_H
-
-#include <config.h>
-
-#include <qcombobox.h>
-#include <krestrictedline.h>
-
-#include "vspace.h"
-
-namespace kde_helpers {
-
-/**
- * \fn setSizeHint
- * \brief sets the minimum size of a widget
- * \param widget the widget
- *
- * Sets a widget's minimum size to its sizeHint()
- */
-inline void setSizeHint(QWidget *widget)
-{
- widget->setMinimumSize(widget->sizeHint());
-}
-
-/**
- * \fn setComboFromStr
- * \brief sets a combo box item given a string matching one of the entries.
- * \param box the box to change
- * \param str the string to match
- *
- * Set a combobox current item matching the given string. false is returned if
- * the item could not be found.
- */
-bool setComboFromStr(QComboBox *box, const string & str);
-
-} // namespace kde_helpers
-
-#endif /* HELPERS_H */
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: indexdlgdata.C
- Last generated: Sat Mar 31 16:48:44 2001
-
- 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 "indexdlgdata.h"
-
-#define Inherited QDialog
-
-
-IndexDialogData::IndexDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, TRUE, 53248 )
-{
- label_index = new QLabel( this, "label_index" );
- label_index->setGeometry( 5, 15, 60, 25 );
- label_index->setMinimumSize( 60, 25 );
- label_index->setMaximumSize( 60, 25 );
- label_index->setFocusPolicy( QWidget::NoFocus );
- label_index->setBackgroundMode( QWidget::PaletteBackground );
- label_index->setFontPropagation( QWidget::NoChildren );
- label_index->setPalettePropagation( QWidget::NoChildren );
- label_index->setFrameStyle( 0 );
- label_index->setLineWidth( 1 );
- label_index->setMidLineWidth( 0 );
- label_index->QFrame::setMargin( 0 );
- label_index->setText( _("Keyword:") );
- label_index->setAlignment( 289 );
- label_index->setMargin( -1 );
-
- line_index = new QLineEdit( this, "line_index" );
- line_index->setGeometry( 70, 15, 175, 25 );
- line_index->setMinimumSize( 125, 25 );
- line_index->setMaximumSize( 32767, 25 );
- line_index->setFocusPolicy( QWidget::StrongFocus );
- line_index->setBackgroundMode( QWidget::PaletteBase );
- line_index->setFontPropagation( QWidget::NoChildren );
- line_index->setPalettePropagation( QWidget::NoChildren );
- line_index->setText( "" );
- line_index->setMaxLength( 32767 );
- line_index->setFrame( QLineEdit::Normal );
- line_index->setFrame( true );
-
- button_ok = new QPushButton( this, "button_ok" );
- button_ok->setGeometry( 24, 65, 80, 25 );
- button_ok->setMinimumSize( 80, 25 );
- button_ok->setMaximumSize( 80, 25 );
- connect( button_ok, SIGNAL(clicked()), SLOT(clickedOK()) );
- button_ok->setFocusPolicy( QWidget::TabFocus );
- button_ok->setBackgroundMode( QWidget::PaletteBackground );
- button_ok->setFontPropagation( QWidget::NoChildren );
- button_ok->setPalettePropagation( QWidget::NoChildren );
- button_ok->setText( _("&OK") );
- button_ok->setAutoRepeat( false );
- button_ok->setAutoResize( false );
- button_ok->setToggleButton( false );
- button_ok->setDefault( false );
- button_ok->setAutoDefault( true );
- button_ok->setIsMenuButton( false );
-
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 146, 65, 80, 25 );
- button_cancel->setMinimumSize( 80, 25 );
- button_cancel->setMaximumSize( 80, 25 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(clickedCancel()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Cancel") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( false );
- button_cancel->setAutoDefault( false );
- button_cancel->setIsMenuButton( false );
-
- if (label_index->sizeHint().width()!=-1)
- label_index->setMinimumWidth(label_index->sizeHint().width());
- if (label_index->sizeHint().height()!=-1)
- label_index->setMinimumHeight(label_index->sizeHint().height());
- if (label_index->sizeHint().width()!=-1)
- label_index->setMaximumWidth(label_index->sizeHint().width());
- if (label_index->sizeHint().height()!=-1)
- label_index->setMaximumHeight(label_index->sizeHint().height());
- if (line_index->sizeHint().width()!=-1)
- line_index->setMinimumWidth(line_index->sizeHint().width());
- if (line_index->sizeHint().height()!=-1)
- line_index->setMinimumHeight(line_index->sizeHint().height());
- if (line_index->sizeHint().height()!=-1)
- line_index->setMaximumHeight(line_index->sizeHint().height());
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMinimumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMinimumHeight(button_ok->sizeHint().height());
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMaximumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMaximumHeight(button_ok->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_cancel->sizeHint().height());
- QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 1, 5, 5, NULL );
- qtarch_layout_1->addColSpacing( 0, 5 );
- qtarch_layout_1->setColStretch( 0, 1 );
- qtarch_layout_1->addRowSpacing( 0, 0 );
- qtarch_layout_1->setRowStretch( 0, 0 );
- QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_1_1, 0, 0 );
- qtarch_layout_1_1_1->addStrut( 0 );
- qtarch_layout_1_1_1->addWidget( label_index, 0, 36 );
- qtarch_layout_1_1_1->addWidget( line_index, 1, 36 );
- qtarch_layout_1->addRowSpacing( 1, 0 );
- qtarch_layout_1->setRowStretch( 1, 0 );
- QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_2_1, 1, 0 );
- qtarch_layout_1_2_1->addStrut( 0 );
- qtarch_layout_1_2_1->addStretch( 1 );
- qtarch_layout_1_2_1->addWidget( button_ok, 1, 36 );
- qtarch_layout_1_2_1->addStretch( 2 );
- qtarch_layout_1_2_1->addWidget( button_cancel, 1, 36 );
- qtarch_layout_1_2_1->addStretch( 1 );
- resize( 250,105 );
- setMinimumSize( 200, 65 );
- setMaximumSize( 32767, 65 );
-}
-
-
-IndexDialogData::~IndexDialogData()
-{
-}
-void IndexDialogData::clickedOK()
-{
-}
-void IndexDialogData::clickedCancel()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: indexdlgdata.h
- Last generated: Sat Mar 31 16:48:44 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef IndexDialogData_included
-#define IndexDialogData_included
-
-#include <qdialog.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qlineedit.h>
-
-class IndexDialogData : public QDialog
-{
- Q_OBJECT
-
-public:
-
- IndexDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~IndexDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void clickedCancel();
- virtual void clickedOK();
-
-public:
- QLabel* label_index;
- QLineEdit* line_index;
- QPushButton* button_ok;
- QPushButton* button_cancel;
-
-};
-
-#endif // IndexDialogData_included
+++ /dev/null
-/*
- * lengthentry.C
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
- */
-
-#include <config.h>
-
-#include "lengthentry.h"
-
-#include <qlayout.h>
-#include <krestrictedline.h>
-#include <qcombobox.h>
-
-#include "support/lstrings.h"
-#include <gettext.h>
-
-#include "debug.h"
-
-/**
- * Allows editing of LyXLengths
- */
-
-using std::endl;
-
-LengthEntry::LengthEntry(QWidget * parent, const char * name)
- : QWidget(parent,name), value(0), box(0), topLayout(0)
-{
- value = new KRestrictedLine(this, "value");
- value->setMinimumSize(value->sizeHint());
- value->setMaximumHeight(value->sizeHint().height());
- value->setValidChars("0123456789.,");
-
- box = new QComboBox(this, "box");
- box->insertItem(_("Centimetres"));
- box->insertItem(_("Inches"));
- box->insertItem(_("Points"));
- box->insertItem(_("Millimetres"));
- box->insertItem(_("Picas"));
- box->insertItem(_("ex units"));
- box->insertItem(_("em units"));
- box->insertItem(_("Scaled points"));
- box->insertItem(_("Big/PS points"));
- box->insertItem(_("Didot points"));
- box->insertItem(_("Cicero points"));
- box->setMinimumSize(box->sizeHint());
- box->setMaximumHeight(box->sizeHint().height());
-
- topLayout = new QVBoxLayout(this, 10);
- QHBoxLayout *tmp = new QHBoxLayout();
- topLayout->addLayout(tmp);
-
- tmp->addStretch(1);
- tmp->addWidget(value, 1);
- tmp->addStretch(1);
- tmp->addSpacing(5);
- tmp->addWidget(box, 2);
- tmp->addStretch(1);
-}
-
-LengthEntry::~LengthEntry()
-{
-}
-
-const string LengthEntry::getLengthStr() const
-{
- if (value->text() == "")
- return string("");
-
- double val = getValue();
-
- return tostr(val) + getStrUnits();
-}
-
-double LengthEntry::getValue() const
-{
- return strToDbl(value->text());
-}
-
-const string LengthEntry::getStrUnits() const
-{
- switch (box->currentItem()) {
- case 0: return string("cm");
- case 1: return string("in");
- case 2: return string("pt");
- case 3: return string("mm");
- case 4: return string("pc");
- case 5: return string("ex");
- case 6: return string("em");
- case 7: return string("sp");
- case 8: return string("bp");
- case 9: return string("dd");
- case 10: return string("cc");
- default:
- lyxerr[Debug::GUI] <<
- "LengthEntry: Unknown combo choice " << box->currentItem() << endl;
- }
- return string("");
-}
-
-LyXLength::UNIT LengthEntry::getUnits() const
-{
- switch (box->currentItem()) {
- case 0: return LyXLength::CM;
- case 1: return LyXLength::IN;
- case 2: return LyXLength::PT;
- case 3: return LyXLength::MM;
- case 4: return LyXLength::PC;
- case 5: return LyXLength::EX;
- case 6: return LyXLength::EM;
- case 7: return LyXLength::SP;
- case 8: return LyXLength::BP;
- case 9: return LyXLength::DD;
- case 10: return LyXLength::CC;
- default:
- lyxerr[Debug::GUI] <<
- "LengthEntry: Unknown combo choice " << box->currentItem() << endl;
- }
- return LyXLength::UNIT_NONE;
-}
-
-bool LengthEntry::setFromLengthStr(const string & str)
-{
- string units;
- string val;
-
- lyxerr[Debug::GUI] << "setFromLengthStr: " << str << endl;
-
- string::size_type i = str.find_first_not_of("0123456789.,");
-
- setValue(strToDbl(str.substr(0, i)));
-
- if (i == string::npos)
- return true;
-
- return setUnits(str.substr(i));
-}
-
-void LengthEntry::setValue(double val)
-{
- value->setText(tostr(val).c_str());
-}
-
-void LengthEntry::setValue(const string & str)
-{
- value->setText(str.c_str());
-}
-
-bool LengthEntry::setUnits(const string & str)
-{
- if (str == "cm") { setUnits(LyXLength::CM);
- } else if (str == "in") { setUnits(LyXLength::IN);
- } else if (str == "pt") { setUnits(LyXLength::PT);
- } else if (str == "mm") { setUnits(LyXLength::MM);
- } else if (str == "pc") { setUnits(LyXLength::PC);
- } else if (str == "ex") { setUnits(LyXLength::EX);
- } else if (str == "em") { setUnits(LyXLength::EM);
- } else if (str == "sp") { setUnits(LyXLength::SP);
- } else if (str == "bp") { setUnits(LyXLength::BP);
- } else if (str == "dd") { setUnits(LyXLength::DD);
- } else if (str == "cc") { setUnits(LyXLength::CC);
- } else {
- lyxerr[Debug::GUI] <<
- "LengthEntry: Unknown unit " << str << endl;
- box->setCurrentItem(0);
- return false;
- }
- return true;
-}
-
-bool LengthEntry::setUnits(LyXLength::UNIT unit)
-{
- switch (unit) {
- case LyXLength::CM: box->setCurrentItem(0); break;
- case LyXLength::IN: box->setCurrentItem(1); break;
- case LyXLength::PT: box->setCurrentItem(2); break;
- case LyXLength::MM: box->setCurrentItem(3); break;
- case LyXLength::PC: box->setCurrentItem(4); break;
- case LyXLength::EX: box->setCurrentItem(5); break;
- case LyXLength::EM: box->setCurrentItem(6); break;
- case LyXLength::SP: box->setCurrentItem(7); break;
- case LyXLength::BP: box->setCurrentItem(8); break;
- case LyXLength::DD: box->setCurrentItem(9); break;
- case LyXLength::CC: box->setCurrentItem(10); break;
- case LyXLength::MU: box->setCurrentItem(0); break;
- case LyXLength::UNIT_NONE: box->setCurrentItem(0); break;
- default:
- lyxerr[Debug::GUI] << "Unknown unit " << long(unit) << endl;
- return false;
- }
- return true;
-}
-
-void LengthEntry::setEnabled(bool enable)
-{
- box->setEnabled(enable);
- value->setEnabled(enable);
-}
+++ /dev/null
-// -*- C++ -*-
-/*
- * lengthentry.h
- * (C) 2001 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 LENGTHENTRY_H
-#define LENGTHENTRY_H
-
-#include <qwidget.h>
-
-#include "vspace.h"
-
-class QVBoxLayout;
-class KRestrictedLine;
-class QComboBox;
-
-#include "boost/utility.hpp"
-
-/**
- * This widget provides a value edit and a combo box
- * for LyXLengths.
- */
-class LengthEntry : public QWidget, boost::noncopyable {
- Q_OBJECT
-public:
- LengthEntry(QWidget * parent = 0, const char * name = 0);
-
- ~LengthEntry();
-
- /// get length string represented
- const string getLengthStr() const;
-
- /// get the value
- double getValue() const;
-
- /// get the units as a string
- const string getStrUnits() const;
-
- /// get the units as a UNIT
- LyXLength::UNIT getUnits() const;
-
- /// set from a length string
- bool setFromLengthStr(const string & str);
-
- /// set the value
- void setValue(double value);
-
- /// set the value by a string
- void setValue(const string & str);
-
- /// set the units from string e.g. "mm"
- bool setUnits(const string & str);
-
- /// set the units from a UNIT
- bool setUnits(LyXLength::UNIT unit);
-
- /// enable/disable
- virtual void setEnabled(bool enable);
-
-private:
- KRestrictedLine *value;
- QComboBox *box;
- QVBoxLayout *topLayout;
-};
-
-#endif
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: logdlgdata.C
- Last generated: Sat Mar 31 16:48:46 2001
-
- 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 "logdlgdata.h"
-
-#define Inherited QDialog
-
-
-LogDialogData::LogDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, FALSE, 0 )
-{
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 241, 269, 77, 26 );
- button_cancel->setMinimumSize( 0, 0 );
- button_cancel->setMaximumSize( 32767, 32767 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(closePressed()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Close") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( true );
- button_cancel->setAutoDefault( false );
- button_cancel->setIsMenuButton( false );
-
- button_update = new QPushButton( this, "button_update" );
- button_update->setGeometry( 82, 269, 77, 26 );
- button_update->setMinimumSize( 0, 0 );
- button_update->setMaximumSize( 32767, 32767 );
- connect( button_update, SIGNAL(clicked()), SLOT(updatePressed()) );
- button_update->setFocusPolicy( QWidget::TabFocus );
- button_update->setBackgroundMode( QWidget::PaletteBackground );
- button_update->setFontPropagation( QWidget::NoChildren );
- button_update->setPalettePropagation( QWidget::NoChildren );
- button_update->setText( _("&Update") );
- button_update->setAutoRepeat( false );
- button_update->setAutoResize( false );
- button_update->setToggleButton( false );
- button_update->setDefault( false );
- button_update->setAutoDefault( false );
- button_update->setIsMenuButton( false );
-
- line_viewer = new QMultiLineEdit( this, "line_viewer" );
- line_viewer->setGeometry( 5, 5, 390, 259 );
- line_viewer->setMinimumSize( 0, 0 );
- line_viewer->setMaximumSize( 32767, 32767 );
- line_viewer->setFocusPolicy( QWidget::StrongFocus );
- line_viewer->setBackgroundMode( QWidget::PaletteBase );
- line_viewer->setFontPropagation( QWidget::SameFont );
- line_viewer->setPalettePropagation( QWidget::SameFont );
- line_viewer->setFrameStyle( 51 );
- line_viewer->setLineWidth( 2 );
- line_viewer->setMidLineWidth( 0 );
- line_viewer->QFrame::setMargin( 0 );
- line_viewer->insertLine( "" );
- line_viewer->setReadOnly( true );
- line_viewer->setOverwriteMode( false );
- line_viewer->setAutoUpdate( true );
-
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_cancel->sizeHint().height());
- if (button_update->sizeHint().width()!=-1)
- button_update->setMinimumWidth(button_update->sizeHint().width());
- if (button_update->sizeHint().height()!=-1)
- button_update->setMinimumHeight(button_update->sizeHint().height());
- if (button_update->sizeHint().width()!=-1)
- button_update->setMaximumWidth(button_update->sizeHint().width());
- if (button_update->sizeHint().height()!=-1)
- button_update->setMaximumHeight(button_update->sizeHint().height());
- if (line_viewer->sizeHint().width()!=-1)
- line_viewer->setMinimumWidth(line_viewer->sizeHint().width());
- if (line_viewer->sizeHint().height()!=-1)
- line_viewer->setMinimumHeight(line_viewer->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( line_viewer, 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( button_update, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( button_cancel, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- resize( 400,300 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-LogDialogData::~LogDialogData()
-{
-}
-void LogDialogData::closePressed()
-{
-}
-void LogDialogData::updatePressed()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: logdlgdata.h
- Last generated: Sat Mar 31 16:48:46 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef LogDialogData_included
-#define LogDialogData_included
-
-#include <qdialog.h>
-#include <qpushbutton.h>
-#include <qmultilinedit.h>
-
-class LogDialogData : public QDialog
-{
- Q_OBJECT
-
-public:
-
- LogDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~LogDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void updatePressed();
- virtual void closePressed();
-
-public:
- QPushButton* button_cancel;
- QPushButton* button_update;
- QMultiLineEdit* line_viewer;
-
-};
-
-#endif // LogDialogData_included
+++ /dev/null
-Makefile.in
-Makefile
-*.deps
-*.lo
-.libs
-libkdedlgmoc.la
-*moc.C
+++ /dev/null
-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/ \
- ${FRONTEND_INCLUDES} ${BOOST_INCLUDES}
-
-libkdedlgmoc_la_SOURCES = citationdlgdata_moc.C \
- copyrightdlgdata_moc.C \
- docdlgdata_moc.C \
- docsettingsdlgdata_moc.C \
- docgeometrydlgdata_moc.C \
- doclanguagedlgdata_moc.C \
- docextradlgdata_moc.C \
- docbulletsdlgdata_moc.C \
- indexdlgdata_moc.C \
- logdlgdata_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 \
- lengthentry_moc.C
-
-DISTCLEANFILES = $(libkdedlgmoc_la_SOURCES) *.orig *.rej *~ *.bak core
-
-LIBS=
-ETAGS_ARGS = --lang=c++
- $(BUILTSOURCES)
-
-citationdlgdata_moc.C: ../citationdlgdata.h
- $(MOC) $< -o $@
-copyrightdlgdata_moc.C: ../copyrightdlgdata.h
- $(MOC) $< -o $@
-docdlgdata_moc.C: ../docdlgdata.h
- $(MOC) $< -o $@
-docsettingsdlgdata_moc.C: ../docsettingsdlgdata.h
- $(MOC) $< -o $@
-docgeometrydlgdata_moc.C: ../docgeometrydlgdata.h
- $(MOC) $< -o $@
-doclanguagedlgdata_moc.C: ../doclanguagedlgdata.h
- $(MOC) $< -o $@
-docextradlgdata_moc.C: ../docextradlgdata.h
- $(MOC) $< -o $@
-docbulletsdlgdata_moc.C: ../docbulletsdlgdata.h
- $(MOC) $< -o $@
-emptytable_moc.C: ../emptytable.h
- $(MOC) $< -o $@
-indexdlgdata_moc.C: ../indexdlgdata.h
- $(MOC) $< -o $@
-logdlgdata_moc.C: ../logdlgdata.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 $@
-lengthentry_moc.C: ../lengthentry.h
- $(MOC) $< -o $@
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: paraabovedlgdata.C
- Last generated: Sat Mar 31 16:48:55 2001
-
- 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 )
-{
- check_pagebreakabove = new QCheckBox( this, "check_pagebreakabove" );
- check_pagebreakabove->setGeometry( 5, 5, 228, 67 );
- check_pagebreakabove->setMinimumSize( 0, 0 );
- check_pagebreakabove->setMaximumSize( 32767, 32767 );
- check_pagebreakabove->setFocusPolicy( QWidget::TabFocus );
- check_pagebreakabove->setBackgroundMode( QWidget::PaletteBackground );
- check_pagebreakabove->setFontPropagation( QWidget::NoChildren );
- check_pagebreakabove->setPalettePropagation( QWidget::NoChildren );
- check_pagebreakabove->setText( _("Page break") );
- check_pagebreakabove->setAutoRepeat( false );
- check_pagebreakabove->setAutoResize( false );
- check_pagebreakabove->setChecked( false );
-
- check_keepabove = new QCheckBox( this, "check_keepabove" );
- check_keepabove->setGeometry( 5, 77, 228, 66 );
- check_keepabove->setMinimumSize( 0, 0 );
- check_keepabove->setMaximumSize( 32767, 32767 );
- check_keepabove->setFocusPolicy( QWidget::TabFocus );
- check_keepabove->setBackgroundMode( QWidget::PaletteBackground );
- check_keepabove->setFontPropagation( QWidget::NoChildren );
- check_keepabove->setPalettePropagation( QWidget::NoChildren );
- check_keepabove->setText( _("Keep space when at top of page") );
- check_keepabove->setAutoRepeat( false );
- check_keepabove->setAutoResize( false );
- check_keepabove->setChecked( false );
-
- QLabel* qtarch_abovelabel;
- qtarch_abovelabel = new QLabel( this, "abovelabel" );
- qtarch_abovelabel->setGeometry( 5, 148, 113, 67 );
- 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 );
-
- combo_spaceabove = new QComboBox( FALSE, this, "combo_spaceabove" );
- combo_spaceabove->setGeometry( 235, 148, 113, 67 );
- combo_spaceabove->setMinimumSize( 0, 0 );
- combo_spaceabove->setMaximumSize( 32767, 32767 );
- connect( combo_spaceabove, SIGNAL(highlighted(int)), SLOT(spaceaboveHighlighted(int)) );
- combo_spaceabove->setFocusPolicy( QWidget::StrongFocus );
- combo_spaceabove->setBackgroundMode( QWidget::PaletteBackground );
- combo_spaceabove->setFontPropagation( QWidget::AllChildren );
- combo_spaceabove->setPalettePropagation( QWidget::AllChildren );
- combo_spaceabove->setSizeLimit( 10 );
- combo_spaceabove->setAutoResize( false );
- combo_spaceabove->setMaxCount( 2147483647 );
- combo_spaceabove->setAutoCompletion( false );
-
- QLabel* qtarch_ValueLabel;
- qtarch_ValueLabel = new QLabel( this, "ValueLabel" );
- qtarch_ValueLabel->setGeometry( 61, 220, 96, 67 );
- 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( _("Size") );
- qtarch_ValueLabel->setAlignment( 289 );
- qtarch_ValueLabel->setMargin( -1 );
-
- QLabel* qtarch_Label_14;
- qtarch_Label_14 = new QLabel( this, "Label_14" );
- qtarch_Label_14->setGeometry( 61, 292, 96, 66 );
- 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( _("Stretch") );
- qtarch_Label_14->setAlignment( 289 );
- qtarch_Label_14->setMargin( -1 );
-
- QLabel* qtarch_aboveminuslabel;
- qtarch_aboveminuslabel = new QLabel( this, "aboveminuslabel" );
- qtarch_aboveminuslabel->setGeometry( 61, 363, 96, 67 );
- 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( _("Shrink") );
- qtarch_aboveminuslabel->setAlignment( 289 );
- qtarch_aboveminuslabel->setMargin( -1 );
-
- length_spaceabove = new LengthEntry( this, "length_spaceabove" );
- length_spaceabove->setGeometry( 217, 220, 187, 67 );
- length_spaceabove->setMinimumSize( 0, 0 );
- length_spaceabove->setMaximumSize( 32767, 32767 );
- length_spaceabove->setFocusPolicy( QWidget::NoFocus );
- length_spaceabove->setBackgroundMode( QWidget::PaletteBackground );
- length_spaceabove->setFontPropagation( QWidget::NoChildren );
- length_spaceabove->setPalettePropagation( QWidget::NoChildren );
-
- length_spaceaboveplus = new LengthEntry( this, "length_spaceaboveplus" );
- length_spaceaboveplus->setGeometry( 217, 292, 187, 66 );
- length_spaceaboveplus->setMinimumSize( 0, 0 );
- length_spaceaboveplus->setMaximumSize( 32767, 32767 );
- length_spaceaboveplus->setFocusPolicy( QWidget::NoFocus );
- length_spaceaboveplus->setBackgroundMode( QWidget::PaletteBackground );
- length_spaceaboveplus->setFontPropagation( QWidget::NoChildren );
- length_spaceaboveplus->setPalettePropagation( QWidget::NoChildren );
-
- length_spaceaboveminus = new LengthEntry( this, "length_spaceaboveminus" );
- length_spaceaboveminus->setGeometry( 217, 363, 187, 67 );
- length_spaceaboveminus->setMinimumSize( 0, 0 );
- length_spaceaboveminus->setMaximumSize( 32767, 32767 );
- length_spaceaboveminus->setFocusPolicy( QWidget::NoFocus );
- length_spaceaboveminus->setBackgroundMode( QWidget::PaletteBackground );
- length_spaceaboveminus->setFontPropagation( QWidget::NoChildren );
- length_spaceaboveminus->setPalettePropagation( QWidget::NoChildren );
-
- if (check_pagebreakabove->sizeHint().width()!=-1)
- check_pagebreakabove->setMinimumWidth(check_pagebreakabove->sizeHint().width());
- if (check_pagebreakabove->sizeHint().height()!=-1)
- check_pagebreakabove->setMinimumHeight(check_pagebreakabove->sizeHint().height());
- if (check_pagebreakabove->sizeHint().width()!=-1)
- check_pagebreakabove->setMaximumWidth(check_pagebreakabove->sizeHint().width());
- if (check_pagebreakabove->sizeHint().height()!=-1)
- check_pagebreakabove->setMaximumHeight(check_pagebreakabove->sizeHint().height());
- if (check_keepabove->sizeHint().width()!=-1)
- check_keepabove->setMinimumWidth(check_keepabove->sizeHint().width());
- if (check_keepabove->sizeHint().height()!=-1)
- check_keepabove->setMinimumHeight(check_keepabove->sizeHint().height());
- if (check_keepabove->sizeHint().width()!=-1)
- check_keepabove->setMaximumWidth(check_keepabove->sizeHint().width());
- if (check_keepabove->sizeHint().height()!=-1)
- check_keepabove->setMaximumHeight(check_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 (combo_spaceabove->sizeHint().width()!=-1)
- combo_spaceabove->setMinimumWidth(combo_spaceabove->sizeHint().width());
- if (combo_spaceabove->sizeHint().height()!=-1)
- combo_spaceabove->setMinimumHeight(combo_spaceabove->sizeHint().height());
- if (combo_spaceabove->sizeHint().height()!=-1)
- combo_spaceabove->setMaximumHeight(combo_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 (length_spaceabove->sizeHint().width()!=-1)
- length_spaceabove->setMinimumWidth(length_spaceabove->sizeHint().width());
- if (length_spaceabove->sizeHint().height()!=-1)
- length_spaceabove->setMinimumHeight(length_spaceabove->sizeHint().height());
- if (length_spaceaboveplus->sizeHint().width()!=-1)
- length_spaceaboveplus->setMinimumWidth(length_spaceaboveplus->sizeHint().width());
- if (length_spaceaboveplus->sizeHint().height()!=-1)
- length_spaceaboveplus->setMinimumHeight(length_spaceaboveplus->sizeHint().height());
- if (length_spaceaboveminus->sizeHint().width()!=-1)
- length_spaceaboveminus->setMinimumWidth(length_spaceaboveminus->sizeHint().width());
- if (length_spaceaboveminus->sizeHint().height()!=-1)
- length_spaceaboveminus->setMinimumHeight(length_spaceaboveminus->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->addWidget( check_pagebreakabove, 1, 33 );
- qtarch_layout_1_1->addStretch( 1 );
- 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->addWidget( check_keepabove, 1, 33 );
- qtarch_layout_1_2->addStretch( 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, 33 );
- qtarch_layout_1_3->addStretch( 1 );
- qtarch_layout_1_3->addWidget( combo_spaceabove, 1, 33 );
- qtarch_layout_1_3->addStretch( 1 );
- QGridLayout* qtarch_layout_1_4 = new QGridLayout( 3, 5, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_4, 3 );
- qtarch_layout_1_4->addColSpacing( 0, 5 );
- qtarch_layout_1_4->setColStretch( 0, 1 );
- qtarch_layout_1_4->addColSpacing( 1, 5 );
- qtarch_layout_1_4->setColStretch( 1, 2 );
- qtarch_layout_1_4->addColSpacing( 2, 5 );
- qtarch_layout_1_4->setColStretch( 2, 1 );
- qtarch_layout_1_4->addColSpacing( 3, 5 );
- qtarch_layout_1_4->setColStretch( 3, 4 );
- qtarch_layout_1_4->addColSpacing( 4, 5 );
- qtarch_layout_1_4->setColStretch( 4, 1 );
- qtarch_layout_1_4->addRowSpacing( 0, 0 );
- qtarch_layout_1_4->setRowStretch( 0, 1 );
- qtarch_layout_1_4->addWidget( qtarch_ValueLabel, 0, 1, 33 );
- qtarch_layout_1_4->addWidget( length_spaceabove, 0, 3, 33 );
- qtarch_layout_1_4->addRowSpacing( 1, 0 );
- qtarch_layout_1_4->setRowStretch( 1, 1 );
- qtarch_layout_1_4->addWidget( qtarch_Label_14, 1, 1, 33 );
- qtarch_layout_1_4->addWidget( length_spaceaboveplus, 1, 3, 33 );
- qtarch_layout_1_4->addRowSpacing( 2, 0 );
- qtarch_layout_1_4->setRowStretch( 2, 1 );
- qtarch_layout_1_4->addWidget( qtarch_aboveminuslabel, 2, 1, 33 );
- qtarch_layout_1_4->addWidget( length_spaceaboveminus, 2, 3, 33 );
- resize( 465,435 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-ParaAboveDialogData::~ParaAboveDialogData()
-{
-}
-void ParaAboveDialogData::spaceaboveHighlighted(int)
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: paraabovedlgdata.h
- Last generated: Sat Mar 31 16:48:55 2001
-
- 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 "lengthentry.h"
-#include <qcheckbox.h>
-#include <qcombobox.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);
-
-public:
- QCheckBox* check_pagebreakabove;
- QCheckBox* check_keepabove;
- QComboBox* combo_spaceabove;
- LengthEntry* length_spaceabove;
- LengthEntry* length_spaceaboveplus;
- LengthEntry* length_spaceaboveminus;
-
-};
-
-#endif // ParaAboveDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: parabelowdlgdata.C
- Last generated: Sat Mar 31 16:48:58 2001
-
- 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 )
-{
- check_pagebreakbelow = new QCheckBox( this, "check_pagebreakbelow" );
- check_pagebreakbelow->setGeometry( 5, 5, 228, 67 );
- check_pagebreakbelow->setMinimumSize( 0, 0 );
- check_pagebreakbelow->setMaximumSize( 32767, 32767 );
- check_pagebreakbelow->setFocusPolicy( QWidget::TabFocus );
- check_pagebreakbelow->setBackgroundMode( QWidget::PaletteBackground );
- check_pagebreakbelow->setFontPropagation( QWidget::NoChildren );
- check_pagebreakbelow->setPalettePropagation( QWidget::NoChildren );
- check_pagebreakbelow->setText( _("Page break") );
- check_pagebreakbelow->setAutoRepeat( false );
- check_pagebreakbelow->setAutoResize( false );
- check_pagebreakbelow->setChecked( false );
-
- check_keepbelow = new QCheckBox( this, "check_keepbelow" );
- check_keepbelow->setGeometry( 5, 77, 228, 66 );
- check_keepbelow->setMinimumSize( 0, 0 );
- check_keepbelow->setMaximumSize( 32767, 32767 );
- check_keepbelow->setFocusPolicy( QWidget::TabFocus );
- check_keepbelow->setBackgroundMode( QWidget::PaletteBackground );
- check_keepbelow->setFontPropagation( QWidget::NoChildren );
- check_keepbelow->setPalettePropagation( QWidget::NoChildren );
- check_keepbelow->setText( _("Keep space when at top of page") );
- check_keepbelow->setAutoRepeat( false );
- check_keepbelow->setAutoResize( false );
- check_keepbelow->setChecked( false );
-
- QLabel* qtarch_belowlabel;
- qtarch_belowlabel = new QLabel( this, "belowlabel" );
- qtarch_belowlabel->setGeometry( 5, 148, 113, 67 );
- 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 );
-
- combo_spacebelow = new QComboBox( FALSE, this, "combo_spacebelow" );
- combo_spacebelow->setGeometry( 235, 148, 113, 67 );
- combo_spacebelow->setMinimumSize( 0, 0 );
- combo_spacebelow->setMaximumSize( 32767, 32767 );
- connect( combo_spacebelow, SIGNAL(highlighted(int)), SLOT(spacebelowHighlighted(int)) );
- combo_spacebelow->setFocusPolicy( QWidget::StrongFocus );
- combo_spacebelow->setBackgroundMode( QWidget::PaletteBackground );
- combo_spacebelow->setFontPropagation( QWidget::AllChildren );
- combo_spacebelow->setPalettePropagation( QWidget::AllChildren );
- combo_spacebelow->setSizeLimit( 10 );
- combo_spacebelow->setAutoResize( false );
- combo_spacebelow->setMaxCount( 2147483647 );
- combo_spacebelow->setAutoCompletion( false );
-
- QLabel* qtarch_ValueLabel;
- qtarch_ValueLabel = new QLabel( this, "ValueLabel" );
- qtarch_ValueLabel->setGeometry( 61, 220, 96, 67 );
- 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( _("Size") );
- qtarch_ValueLabel->setAlignment( 289 );
- qtarch_ValueLabel->setMargin( -1 );
-
- QLabel* qtarch_Label_14;
- qtarch_Label_14 = new QLabel( this, "Label_14" );
- qtarch_Label_14->setGeometry( 61, 292, 96, 66 );
- 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( _("Stretch") );
- qtarch_Label_14->setAlignment( 289 );
- qtarch_Label_14->setMargin( -1 );
-
- QLabel* qtarch_belowminuslabel;
- qtarch_belowminuslabel = new QLabel( this, "belowminuslabel" );
- qtarch_belowminuslabel->setGeometry( 61, 363, 96, 67 );
- 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( _("Shrink") );
- qtarch_belowminuslabel->setAlignment( 289 );
- qtarch_belowminuslabel->setMargin( -1 );
-
- length_spacebelow = new LengthEntry( this, "length_spacebelow" );
- length_spacebelow->setGeometry( 217, 220, 187, 67 );
- length_spacebelow->setMinimumSize( 0, 0 );
- length_spacebelow->setMaximumSize( 32767, 32767 );
- length_spacebelow->setFocusPolicy( QWidget::NoFocus );
- length_spacebelow->setBackgroundMode( QWidget::PaletteBackground );
- length_spacebelow->setFontPropagation( QWidget::NoChildren );
- length_spacebelow->setPalettePropagation( QWidget::NoChildren );
-
- length_spacebelowplus = new LengthEntry( this, "length_spacebelowplus" );
- length_spacebelowplus->setGeometry( 217, 292, 187, 66 );
- length_spacebelowplus->setMinimumSize( 0, 0 );
- length_spacebelowplus->setMaximumSize( 32767, 32767 );
- length_spacebelowplus->setFocusPolicy( QWidget::NoFocus );
- length_spacebelowplus->setBackgroundMode( QWidget::PaletteBackground );
- length_spacebelowplus->setFontPropagation( QWidget::NoChildren );
- length_spacebelowplus->setPalettePropagation( QWidget::NoChildren );
-
- length_spacebelowminus = new LengthEntry( this, "length_spacebelowminus" );
- length_spacebelowminus->setGeometry( 217, 363, 187, 67 );
- length_spacebelowminus->setMinimumSize( 0, 0 );
- length_spacebelowminus->setMaximumSize( 32767, 32767 );
- length_spacebelowminus->setFocusPolicy( QWidget::NoFocus );
- length_spacebelowminus->setBackgroundMode( QWidget::PaletteBackground );
- length_spacebelowminus->setFontPropagation( QWidget::NoChildren );
- length_spacebelowminus->setPalettePropagation( QWidget::NoChildren );
-
- if (check_pagebreakbelow->sizeHint().width()!=-1)
- check_pagebreakbelow->setMinimumWidth(check_pagebreakbelow->sizeHint().width());
- if (check_pagebreakbelow->sizeHint().height()!=-1)
- check_pagebreakbelow->setMinimumHeight(check_pagebreakbelow->sizeHint().height());
- if (check_pagebreakbelow->sizeHint().width()!=-1)
- check_pagebreakbelow->setMaximumWidth(check_pagebreakbelow->sizeHint().width());
- if (check_pagebreakbelow->sizeHint().height()!=-1)
- check_pagebreakbelow->setMaximumHeight(check_pagebreakbelow->sizeHint().height());
- if (check_keepbelow->sizeHint().width()!=-1)
- check_keepbelow->setMinimumWidth(check_keepbelow->sizeHint().width());
- if (check_keepbelow->sizeHint().height()!=-1)
- check_keepbelow->setMinimumHeight(check_keepbelow->sizeHint().height());
- if (check_keepbelow->sizeHint().width()!=-1)
- check_keepbelow->setMaximumWidth(check_keepbelow->sizeHint().width());
- if (check_keepbelow->sizeHint().height()!=-1)
- check_keepbelow->setMaximumHeight(check_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 (combo_spacebelow->sizeHint().width()!=-1)
- combo_spacebelow->setMinimumWidth(combo_spacebelow->sizeHint().width());
- if (combo_spacebelow->sizeHint().height()!=-1)
- combo_spacebelow->setMinimumHeight(combo_spacebelow->sizeHint().height());
- if (combo_spacebelow->sizeHint().height()!=-1)
- combo_spacebelow->setMaximumHeight(combo_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 (length_spacebelow->sizeHint().width()!=-1)
- length_spacebelow->setMinimumWidth(length_spacebelow->sizeHint().width());
- if (length_spacebelow->sizeHint().height()!=-1)
- length_spacebelow->setMinimumHeight(length_spacebelow->sizeHint().height());
- if (length_spacebelowplus->sizeHint().width()!=-1)
- length_spacebelowplus->setMinimumWidth(length_spacebelowplus->sizeHint().width());
- if (length_spacebelowplus->sizeHint().height()!=-1)
- length_spacebelowplus->setMinimumHeight(length_spacebelowplus->sizeHint().height());
- if (length_spacebelowminus->sizeHint().width()!=-1)
- length_spacebelowminus->setMinimumWidth(length_spacebelowminus->sizeHint().width());
- if (length_spacebelowminus->sizeHint().height()!=-1)
- length_spacebelowminus->setMinimumHeight(length_spacebelowminus->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->addWidget( check_pagebreakbelow, 1, 33 );
- qtarch_layout_1_1->addStretch( 1 );
- 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->addWidget( check_keepbelow, 1, 33 );
- qtarch_layout_1_2->addStretch( 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, 33 );
- qtarch_layout_1_3->addStretch( 1 );
- qtarch_layout_1_3->addWidget( combo_spacebelow, 1, 33 );
- qtarch_layout_1_3->addStretch( 1 );
- QGridLayout* qtarch_layout_1_4 = new QGridLayout( 3, 5, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_4, 3 );
- qtarch_layout_1_4->addColSpacing( 0, 5 );
- qtarch_layout_1_4->setColStretch( 0, 1 );
- qtarch_layout_1_4->addColSpacing( 1, 5 );
- qtarch_layout_1_4->setColStretch( 1, 2 );
- qtarch_layout_1_4->addColSpacing( 2, 5 );
- qtarch_layout_1_4->setColStretch( 2, 1 );
- qtarch_layout_1_4->addColSpacing( 3, 5 );
- qtarch_layout_1_4->setColStretch( 3, 4 );
- qtarch_layout_1_4->addColSpacing( 4, 5 );
- qtarch_layout_1_4->setColStretch( 4, 1 );
- qtarch_layout_1_4->addRowSpacing( 0, 0 );
- qtarch_layout_1_4->setRowStretch( 0, 1 );
- qtarch_layout_1_4->addWidget( qtarch_ValueLabel, 0, 1, 33 );
- qtarch_layout_1_4->addWidget( length_spacebelow, 0, 3, 33 );
- qtarch_layout_1_4->addRowSpacing( 1, 0 );
- qtarch_layout_1_4->setRowStretch( 1, 1 );
- qtarch_layout_1_4->addWidget( qtarch_Label_14, 1, 1, 33 );
- qtarch_layout_1_4->addWidget( length_spacebelowplus, 1, 3, 33 );
- qtarch_layout_1_4->addRowSpacing( 2, 0 );
- qtarch_layout_1_4->setRowStretch( 2, 1 );
- qtarch_layout_1_4->addWidget( qtarch_belowminuslabel, 2, 1, 33 );
- qtarch_layout_1_4->addWidget( length_spacebelowminus, 2, 3, 33 );
- resize( 465,435 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-ParaBelowDialogData::~ParaBelowDialogData()
-{
-}
-void ParaBelowDialogData::spacebelowHighlighted(int)
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: parabelowdlgdata.h
- Last generated: Sat Mar 31 16:48:58 2001
-
- 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 "lengthentry.h"
-#include <qcheckbox.h>
-#include <qcombobox.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);
-
-public:
- QCheckBox* check_pagebreakbelow;
- QCheckBox* check_keepbelow;
- QComboBox* combo_spacebelow;
- LengthEntry* length_spacebelow;
- LengthEntry* length_spacebelowplus;
- LengthEntry* length_spacebelowminus;
-
-};
-
-#endif // ParaBelowDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: paradlgdata.C
- Last generated: Sat Mar 31 16:48:52 2001
-
- 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 QDialog
-
-
-ParaDialogData::ParaDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, TRUE, 0 )
-{
- button_ok = new QPushButton( this, "button_ok" );
- button_ok->setGeometry( 73, 555, 69, 55 );
- button_ok->setMinimumSize( 0, 0 );
- button_ok->setMaximumSize( 32767, 32767 );
- connect( button_ok, SIGNAL(clicked()), SLOT(ok_adaptor()) );
- button_ok->setFocusPolicy( QWidget::TabFocus );
- button_ok->setBackgroundMode( QWidget::PaletteBackground );
- button_ok->setFontPropagation( QWidget::NoChildren );
- button_ok->setPalettePropagation( QWidget::NoChildren );
- button_ok->setText( _("&OK") );
- button_ok->setAutoRepeat( false );
- button_ok->setAutoResize( false );
- button_ok->setToggleButton( false );
- button_ok->setDefault( true );
- button_ok->setAutoDefault( false );
- button_ok->setIsMenuButton( false );
-
- button_apply = new QPushButton( this, "button_apply" );
- button_apply->setGeometry( 215, 555, 68, 55 );
- button_apply->setMinimumSize( 0, 0 );
- button_apply->setMaximumSize( 32767, 32767 );
- connect( button_apply, SIGNAL(clicked()), SLOT(apply_adaptor()) );
- button_apply->setFocusPolicy( QWidget::TabFocus );
- button_apply->setBackgroundMode( QWidget::PaletteBackground );
- button_apply->setFontPropagation( QWidget::NoChildren );
- button_apply->setPalettePropagation( QWidget::NoChildren );
- button_apply->setText( _("&Apply") );
- button_apply->setAutoRepeat( false );
- button_apply->setAutoResize( false );
- button_apply->setToggleButton( false );
- button_apply->setDefault( false );
- button_apply->setAutoDefault( false );
- button_apply->setIsMenuButton( false );
-
- button_restore = new QPushButton( this, "button_restore" );
- button_restore->setGeometry( 357, 555, 68, 55 );
- button_restore->setMinimumSize( 0, 0 );
- button_restore->setMaximumSize( 32767, 32767 );
- connect( button_restore, SIGNAL(clicked()), SLOT(restore_adaptor()) );
- button_restore->setFocusPolicy( QWidget::TabFocus );
- button_restore->setBackgroundMode( QWidget::PaletteBackground );
- button_restore->setFontPropagation( QWidget::NoChildren );
- button_restore->setPalettePropagation( QWidget::NoChildren );
- button_restore->setText( _("&Restore") );
- button_restore->setAutoRepeat( false );
- button_restore->setAutoResize( false );
- button_restore->setToggleButton( false );
- button_restore->setDefault( false );
- button_restore->setAutoDefault( false );
- button_restore->setIsMenuButton( false );
-
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 498, 555, 69, 55 );
- button_cancel->setMinimumSize( 0, 0 );
- button_cancel->setMaximumSize( 32767, 32767 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(cancel_adaptor()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Cancel") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( false );
- button_cancel->setAutoDefault( false );
- button_cancel->setIsMenuButton( false );
-
- tabstack = new TabStack( this, "tabstack" );
- 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 );
-
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMinimumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMinimumHeight(button_ok->sizeHint().height());
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMaximumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMaximumHeight(button_ok->sizeHint().height());
- if (button_apply->sizeHint().width()!=-1)
- button_apply->setMinimumWidth(button_apply->sizeHint().width());
- if (button_apply->sizeHint().height()!=-1)
- button_apply->setMinimumHeight(button_apply->sizeHint().height());
- if (button_apply->sizeHint().width()!=-1)
- button_apply->setMaximumWidth(button_apply->sizeHint().width());
- if (button_apply->sizeHint().height()!=-1)
- button_apply->setMaximumHeight(button_apply->sizeHint().height());
- if (button_restore->sizeHint().width()!=-1)
- button_restore->setMinimumWidth(button_restore->sizeHint().width());
- if (button_restore->sizeHint().height()!=-1)
- button_restore->setMinimumHeight(button_restore->sizeHint().height());
- if (button_restore->sizeHint().width()!=-1)
- button_restore->setMaximumWidth(button_restore->sizeHint().width());
- if (button_restore->sizeHint().height()!=-1)
- button_restore->setMaximumHeight(button_restore->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_cancel->sizeHint().height());
- if (tabstack->sizeHint().width()!=-1)
- tabstack->setMinimumWidth(tabstack->sizeHint().width());
- if (tabstack->sizeHint().height()!=-1)
- tabstack->setMinimumHeight(tabstack->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( button_ok, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( button_apply, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( button_restore, 1, 36 );
- qtarch_layout_1_2->addStretch( 1 );
- qtarch_layout_1_2->addWidget( button_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()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: paradlgdata.h
- Last generated: Sat Mar 31 16:48:52 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef ParaDialogData_included
-#define ParaDialogData_included
-
-#include <qdialog.h>
-#include "tabstack.h"
-#include <qpushbutton.h>
-
-class ParaDialogData : public QDialog
-{
- 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* button_ok;
- QPushButton* button_apply;
- QPushButton* button_restore;
- QPushButton* button_cancel;
- TabStack* tabstack;
-
-};
-
-#endif // ParaDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: paraextradlgdata.C
- Last generated: Sat Mar 31 16:49:02 2001
-
- 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 "paraextradlgdata.h"
-
-#define Inherited QWidget
-
-#include <qlabel.h>
-
-ParaExtraDialogData::ParaExtraDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, 0 )
-{
- combo_type = new QComboBox( FALSE, this, "combo_type" );
- combo_type->setGeometry( 5, 65, 265, 54 );
- combo_type->setMinimumSize( 0, 0 );
- combo_type->setMaximumSize( 32767, 32767 );
- connect( combo_type, SIGNAL(highlighted(int)), SLOT(typeHighlighted(int)) );
- combo_type->setFocusPolicy( QWidget::StrongFocus );
- combo_type->setBackgroundMode( QWidget::PaletteBackground );
- combo_type->setFontPropagation( QWidget::AllChildren );
- combo_type->setPalettePropagation( QWidget::AllChildren );
- combo_type->setSizeLimit( 10 );
- combo_type->setAutoResize( false );
- combo_type->setMaxCount( 2147483647 );
- combo_type->setAutoCompletion( false );
-
- QLabel* qtarch_speciallabel;
- qtarch_speciallabel = new QLabel( this, "speciallabel" );
- qtarch_speciallabel->setGeometry( 5, 5, 265, 55 );
- qtarch_speciallabel->setMinimumSize( 0, 0 );
- qtarch_speciallabel->setMaximumSize( 32767, 32767 );
- qtarch_speciallabel->setFocusPolicy( QWidget::NoFocus );
- qtarch_speciallabel->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_speciallabel->setFontPropagation( QWidget::NoChildren );
- qtarch_speciallabel->setPalettePropagation( QWidget::NoChildren );
- qtarch_speciallabel->setFrameStyle( 0 );
- qtarch_speciallabel->setLineWidth( 1 );
- qtarch_speciallabel->setMidLineWidth( 0 );
- qtarch_speciallabel->QFrame::setMargin( 0 );
- qtarch_speciallabel->setText( _("Type") );
- qtarch_speciallabel->setAlignment( 289 );
- qtarch_speciallabel->setMargin( -1 );
-
- QLabel* qtarch_specialwidthlabel;
- qtarch_specialwidthlabel = new QLabel( this, "specialwidthlabel" );
- qtarch_specialwidthlabel->setGeometry( 275, 5, 265, 55 );
- qtarch_specialwidthlabel->setMinimumSize( 0, 0 );
- qtarch_specialwidthlabel->setMaximumSize( 32767, 32767 );
- qtarch_specialwidthlabel->setFocusPolicy( QWidget::NoFocus );
- qtarch_specialwidthlabel->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_specialwidthlabel->setFontPropagation( QWidget::NoChildren );
- qtarch_specialwidthlabel->setPalettePropagation( QWidget::NoChildren );
- qtarch_specialwidthlabel->setFrameStyle( 0 );
- qtarch_specialwidthlabel->setLineWidth( 1 );
- qtarch_specialwidthlabel->setMidLineWidth( 0 );
- qtarch_specialwidthlabel->QFrame::setMargin( 0 );
- qtarch_specialwidthlabel->setText( _("Width") );
- qtarch_specialwidthlabel->setAlignment( 289 );
- qtarch_specialwidthlabel->setMargin( -1 );
-
- line_widthvalue = new KRestrictedLine( this, "line_widthvalue" );
- line_widthvalue->setGeometry( 275, 65, 87, 54 );
- line_widthvalue->setMinimumSize( 0, 0 );
- line_widthvalue->setMaximumSize( 32767, 32767 );
- line_widthvalue->setFocusPolicy( QWidget::StrongFocus );
- line_widthvalue->setBackgroundMode( QWidget::PaletteBase );
- line_widthvalue->setFontPropagation( QWidget::NoChildren );
- line_widthvalue->setPalettePropagation( QWidget::NoChildren );
- line_widthvalue->setText( "" );
- line_widthvalue->setMaxLength( 32767 );
- line_widthvalue->setFrame( QLineEdit::Normal );
- line_widthvalue->setFrame( true );
- line_widthvalue->setValidChars( "0123456789.-," );
-
- combo_widthvalueunits = new QComboBox( FALSE, this, "combo_widthvalueunits" );
- combo_widthvalueunits->setGeometry( 367, 65, 173, 54 );
- combo_widthvalueunits->setMinimumSize( 0, 0 );
- combo_widthvalueunits->setMaximumSize( 32767, 32767 );
- combo_widthvalueunits->setFocusPolicy( QWidget::StrongFocus );
- combo_widthvalueunits->setBackgroundMode( QWidget::PaletteBackground );
- combo_widthvalueunits->setFontPropagation( QWidget::AllChildren );
- combo_widthvalueunits->setPalettePropagation( QWidget::AllChildren );
- combo_widthvalueunits->setSizeLimit( 10 );
- combo_widthvalueunits->setAutoResize( false );
- combo_widthvalueunits->setMaxCount( 2147483647 );
- combo_widthvalueunits->setAutoCompletion( false );
-
- specialalignment = new QButtonGroup( this, "specialalignment" );
- specialalignment->setGeometry( 5, 124, 265, 331 );
- specialalignment->setMinimumSize( 0, 0 );
- specialalignment->setMaximumSize( 32767, 32767 );
- specialalignment->setFocusPolicy( QWidget::NoFocus );
- specialalignment->setBackgroundMode( QWidget::PaletteBackground );
- specialalignment->setFontPropagation( QWidget::NoChildren );
- specialalignment->setPalettePropagation( QWidget::NoChildren );
- specialalignment->setFrameStyle( 49 );
- specialalignment->setLineWidth( 1 );
- specialalignment->setMidLineWidth( 0 );
- specialalignment->QFrame::setMargin( 0 );
- specialalignment->setTitle( _("Alignment") );
- specialalignment->setAlignment( 1 );
- specialalignment->setExclusive( true );
-
- radio_top = new QRadioButton( specialalignment, "radio_top" );
- radio_top->setGeometry( 5, 49, 255, 45 );
- radio_top->setMinimumSize( 0, 0 );
- radio_top->setMaximumSize( 32767, 32767 );
- radio_top->setFocusPolicy( QWidget::TabFocus );
- radio_top->setBackgroundMode( QWidget::PaletteBackground );
- radio_top->setFontPropagation( QWidget::NoChildren );
- radio_top->setPalettePropagation( QWidget::NoChildren );
- radio_top->setText( _("&Top") );
- radio_top->setAutoRepeat( false );
- radio_top->setAutoResize( false );
- radio_top->setChecked( false );
-
- radio_middle = new QRadioButton( specialalignment, "radio_middle" );
- radio_middle->setGeometry( 5, 143, 255, 45 );
- radio_middle->setMinimumSize( 0, 0 );
- radio_middle->setMaximumSize( 32767, 32767 );
- radio_middle->setFocusPolicy( QWidget::TabFocus );
- radio_middle->setBackgroundMode( QWidget::PaletteBackground );
- radio_middle->setFontPropagation( QWidget::NoChildren );
- radio_middle->setPalettePropagation( QWidget::NoChildren );
- radio_middle->setText( _("&Middle") );
- radio_middle->setAutoRepeat( false );
- radio_middle->setAutoResize( false );
- radio_middle->setChecked( false );
-
- radio_bottom = new QRadioButton( specialalignment, "radio_bottom" );
- radio_bottom->setGeometry( 5, 237, 255, 45 );
- radio_bottom->setMinimumSize( 0, 0 );
- radio_bottom->setMaximumSize( 32767, 32767 );
- radio_bottom->setFocusPolicy( QWidget::TabFocus );
- radio_bottom->setBackgroundMode( QWidget::PaletteBackground );
- radio_bottom->setFontPropagation( QWidget::NoChildren );
- radio_bottom->setPalettePropagation( QWidget::NoChildren );
- radio_bottom->setText( _("&Bottom") );
- radio_bottom->setAutoRepeat( false );
- radio_bottom->setAutoResize( false );
- radio_bottom->setChecked( false );
-
- check_hfillbetween = new QCheckBox( this, "check_hfillbetween" );
- check_hfillbetween->setGeometry( 275, 189, 265, 65 );
- check_hfillbetween->setMinimumSize( 0, 0 );
- check_hfillbetween->setMaximumSize( 32767, 32767 );
- check_hfillbetween->setFocusPolicy( QWidget::TabFocus );
- check_hfillbetween->setBackgroundMode( QWidget::PaletteBackground );
- check_hfillbetween->setFontPropagation( QWidget::NoChildren );
- check_hfillbetween->setPalettePropagation( QWidget::NoChildren );
- check_hfillbetween->setText( _("&HFill between minipage paragraphs") );
- check_hfillbetween->setAutoRepeat( false );
- check_hfillbetween->setAutoResize( false );
- check_hfillbetween->setChecked( false );
-
- check_startnewminipage = new QCheckBox( this, "check_startnewminipage" );
- check_startnewminipage->setGeometry( 275, 325, 265, 65 );
- check_startnewminipage->setMinimumSize( 0, 0 );
- check_startnewminipage->setMaximumSize( 32767, 32767 );
- check_startnewminipage->setFocusPolicy( QWidget::TabFocus );
- check_startnewminipage->setBackgroundMode( QWidget::PaletteBackground );
- check_startnewminipage->setFontPropagation( QWidget::NoChildren );
- check_startnewminipage->setPalettePropagation( QWidget::NoChildren );
- check_startnewminipage->setText( _("&Start new minipage") );
- check_startnewminipage->setAutoRepeat( false );
- check_startnewminipage->setAutoResize( false );
- check_startnewminipage->setChecked( false );
-
- if (combo_type->sizeHint().width()!=-1)
- combo_type->setMinimumWidth(combo_type->sizeHint().width());
- if (combo_type->sizeHint().height()!=-1)
- combo_type->setMinimumHeight(combo_type->sizeHint().height());
- if (combo_type->sizeHint().height()!=-1)
- combo_type->setMaximumHeight(combo_type->sizeHint().height());
- if (qtarch_speciallabel->sizeHint().width()!=-1)
- qtarch_speciallabel->setMinimumWidth(qtarch_speciallabel->sizeHint().width());
- if (qtarch_speciallabel->sizeHint().height()!=-1)
- qtarch_speciallabel->setMinimumHeight(qtarch_speciallabel->sizeHint().height());
- if (qtarch_speciallabel->sizeHint().width()!=-1)
- qtarch_speciallabel->setMaximumWidth(qtarch_speciallabel->sizeHint().width());
- if (qtarch_speciallabel->sizeHint().height()!=-1)
- qtarch_speciallabel->setMaximumHeight(qtarch_speciallabel->sizeHint().height());
- if (qtarch_specialwidthlabel->sizeHint().width()!=-1)
- qtarch_specialwidthlabel->setMinimumWidth(qtarch_specialwidthlabel->sizeHint().width());
- if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
- qtarch_specialwidthlabel->setMinimumHeight(qtarch_specialwidthlabel->sizeHint().height());
- if (qtarch_specialwidthlabel->sizeHint().width()!=-1)
- qtarch_specialwidthlabel->setMaximumWidth(qtarch_specialwidthlabel->sizeHint().width());
- if (qtarch_specialwidthlabel->sizeHint().height()!=-1)
- qtarch_specialwidthlabel->setMaximumHeight(qtarch_specialwidthlabel->sizeHint().height());
- if (line_widthvalue->sizeHint().width()!=-1)
- line_widthvalue->setMinimumWidth(line_widthvalue->sizeHint().width());
- if (line_widthvalue->sizeHint().height()!=-1)
- line_widthvalue->setMinimumHeight(line_widthvalue->sizeHint().height());
- if (line_widthvalue->sizeHint().height()!=-1)
- line_widthvalue->setMaximumHeight(line_widthvalue->sizeHint().height());
- if (combo_widthvalueunits->sizeHint().width()!=-1)
- combo_widthvalueunits->setMinimumWidth(combo_widthvalueunits->sizeHint().width());
- if (combo_widthvalueunits->sizeHint().height()!=-1)
- combo_widthvalueunits->setMinimumHeight(combo_widthvalueunits->sizeHint().height());
- if (combo_widthvalueunits->sizeHint().height()!=-1)
- combo_widthvalueunits->setMaximumHeight(combo_widthvalueunits->sizeHint().height());
- specialalignment->insert( radio_top );
- specialalignment->insert( radio_middle );
- specialalignment->insert( radio_bottom );
-
- if (radio_top->sizeHint().width()!=-1)
- radio_top->setMinimumWidth(radio_top->sizeHint().width());
- if (radio_top->sizeHint().height()!=-1)
- radio_top->setMinimumHeight(radio_top->sizeHint().height());
- if (radio_top->sizeHint().width()!=-1)
- radio_top->setMaximumWidth(radio_top->sizeHint().width());
- if (radio_top->sizeHint().height()!=-1)
- radio_top->setMaximumHeight(radio_top->sizeHint().height());
- if (radio_middle->sizeHint().width()!=-1)
- radio_middle->setMinimumWidth(radio_middle->sizeHint().width());
- if (radio_middle->sizeHint().height()!=-1)
- radio_middle->setMinimumHeight(radio_middle->sizeHint().height());
- if (radio_middle->sizeHint().width()!=-1)
- radio_middle->setMaximumWidth(radio_middle->sizeHint().width());
- if (radio_middle->sizeHint().height()!=-1)
- radio_middle->setMaximumHeight(radio_middle->sizeHint().height());
- if (radio_bottom->sizeHint().width()!=-1)
- radio_bottom->setMinimumWidth(radio_bottom->sizeHint().width());
- if (radio_bottom->sizeHint().height()!=-1)
- radio_bottom->setMinimumHeight(radio_bottom->sizeHint().height());
- if (radio_bottom->sizeHint().width()!=-1)
- radio_bottom->setMaximumWidth(radio_bottom->sizeHint().width());
- if (radio_bottom->sizeHint().height()!=-1)
- radio_bottom->setMaximumHeight(radio_bottom->sizeHint().height());
- if (check_hfillbetween->sizeHint().width()!=-1)
- check_hfillbetween->setMinimumWidth(check_hfillbetween->sizeHint().width());
- if (check_hfillbetween->sizeHint().height()!=-1)
- check_hfillbetween->setMinimumHeight(check_hfillbetween->sizeHint().height());
- if (check_hfillbetween->sizeHint().width()!=-1)
- check_hfillbetween->setMaximumWidth(check_hfillbetween->sizeHint().width());
- if (check_hfillbetween->sizeHint().height()!=-1)
- check_hfillbetween->setMaximumHeight(check_hfillbetween->sizeHint().height());
- if (check_startnewminipage->sizeHint().width()!=-1)
- check_startnewminipage->setMinimumWidth(check_startnewminipage->sizeHint().width());
- if (check_startnewminipage->sizeHint().height()!=-1)
- check_startnewminipage->setMinimumHeight(check_startnewminipage->sizeHint().height());
- if (check_startnewminipage->sizeHint().width()!=-1)
- check_startnewminipage->setMaximumWidth(check_startnewminipage->sizeHint().width());
- if (check_startnewminipage->sizeHint().height()!=-1)
- check_startnewminipage->setMaximumHeight(check_startnewminipage->sizeHint().height());
- QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 2, 5, 5, NULL );
- qtarch_layout_1->addColSpacing( 0, 5 );
- qtarch_layout_1->setColStretch( 0, 1 );
- qtarch_layout_1->addColSpacing( 1, 5 );
- qtarch_layout_1->setColStretch( 1, 1 );
- qtarch_layout_1->addRowSpacing( 0, 5 );
- qtarch_layout_1->setRowStretch( 0, 1 );
- QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_1_1, 0, 0 );
- qtarch_layout_1_1_1->addStrut( 5 );
- qtarch_layout_1_1_1->addWidget( qtarch_speciallabel, 1, 1 );
- qtarch_layout_1_1_1->addWidget( combo_type, 1, 36 );
- QBoxLayout* qtarch_layout_1_1_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_1_2, 0, 1 );
- qtarch_layout_1_1_2->addStrut( 5 );
- qtarch_layout_1_1_2->addWidget( qtarch_specialwidthlabel, 1, 1 );
- QBoxLayout* qtarch_layout_1_1_2_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_2->addLayout( qtarch_layout_1_1_2_2, 1 );
- qtarch_layout_1_1_2_2->addStrut( 0 );
- qtarch_layout_1_1_2_2->addWidget( line_widthvalue, 1, 36 );
- qtarch_layout_1_1_2_2->addWidget( combo_widthvalueunits, 2, 36 );
- qtarch_layout_1->addRowSpacing( 1, 5 );
- qtarch_layout_1->setRowStretch( 1, 3 );
- qtarch_layout_1->addWidget( specialalignment, 1, 0, 33 );
- QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( specialalignment, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_2_1->addStrut( 0 );
- qtarch_layout_1_2_1->addStretch( 1 );
- qtarch_layout_1_2_1->addWidget( radio_top, 1, 1 );
- qtarch_layout_1_2_1->addStretch( 1 );
- qtarch_layout_1_2_1->addWidget( radio_middle, 1, 1 );
- qtarch_layout_1_2_1->addStretch( 1 );
- qtarch_layout_1_2_1->addWidget( radio_bottom, 1, 1 );
- qtarch_layout_1_2_1->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_2_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_2_2, 1, 1 );
- qtarch_layout_1_2_2->addStrut( 0 );
- qtarch_layout_1_2_2->addStretch( 1 );
- qtarch_layout_1_2_2->addWidget( check_hfillbetween, 1, 1 );
- qtarch_layout_1_2_2->addStretch( 1 );
- qtarch_layout_1_2_2->addWidget( check_startnewminipage, 1, 1 );
- qtarch_layout_1_2_2->addStretch( 1 );
- resize( 545,460 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-ParaExtraDialogData::~ParaExtraDialogData()
-{
-}
-void ParaExtraDialogData::typeHighlighted(int)
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: paraextradlgdata.h
- Last generated: Sat Mar 31 16:49:02 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef ParaExtraDialogData_included
-#define ParaExtraDialogData_included
-
-#include <qwidget.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qbuttongroup.h>
-#include <krestrictedline.h>
-
-class ParaExtraDialogData : public QWidget
-{
- Q_OBJECT
-
-public:
-
- ParaExtraDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~ParaExtraDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void typeHighlighted(int);
-
-protected:
- QComboBox* combo_type;
- KRestrictedLine* line_widthvalue;
- QComboBox* combo_widthvalueunits;
- QButtonGroup* specialalignment;
- QRadioButton* radio_top;
- QRadioButton* radio_middle;
- QRadioButton* radio_bottom;
- QCheckBox* check_hfillbetween;
- QCheckBox* check_startnewminipage;
-
-};
-
-#endif // ParaExtraDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: parageneraldlgdata.C
- Last generated: Sat Mar 31 16:49:06 2001
-
- 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 )
-{
- combo_justification = new QComboBox( FALSE, this, "combo_justification" );
- combo_justification->setGeometry( 130, 5, 120, 59 );
- combo_justification->setMinimumSize( 0, 0 );
- combo_justification->setMaximumSize( 32767, 32767 );
- combo_justification->setFocusPolicy( QWidget::StrongFocus );
- combo_justification->setBackgroundMode( QWidget::PaletteBackground );
- combo_justification->setFontPropagation( QWidget::AllChildren );
- combo_justification->setPalettePropagation( QWidget::AllChildren );
- combo_justification->setSizeLimit( 4 );
- combo_justification->setAutoResize( false );
- combo_justification->setMaxCount( 4 );
- combo_justification->setAutoCompletion( false );
-
- tabstack = new TabStack( this, "tabstack" );
- tabstack->setGeometry( 5, 69, 605, 294 );
- tabstack->setMinimumSize( 0, 0 );
- tabstack->setMaximumSize( 32767, 32767 );
- tabstack->setFocusPolicy( QWidget::NoFocus );
- tabstack->setBackgroundMode( QWidget::PaletteBackground );
- tabstack->setFontPropagation( QWidget::NoChildren );
- tabstack->setPalettePropagation( QWidget::NoChildren );
-
- check_lineabove = new QCheckBox( this, "check_lineabove" );
- check_lineabove->setGeometry( 5, 368, 298, 39 );
- check_lineabove->setMinimumSize( 0, 0 );
- check_lineabove->setMaximumSize( 32767, 32767 );
- check_lineabove->setFocusPolicy( QWidget::TabFocus );
- check_lineabove->setBackgroundMode( QWidget::PaletteBackground );
- check_lineabove->setFontPropagation( QWidget::NoChildren );
- check_lineabove->setPalettePropagation( QWidget::NoChildren );
- check_lineabove->setText( _("Draw line above paragraph") );
- check_lineabove->setAutoRepeat( false );
- check_lineabove->setAutoResize( false );
- check_lineabove->setChecked( false );
-
- check_linebelow = new QCheckBox( this, "check_linebelow" );
- check_linebelow->setGeometry( 5, 412, 298, 39 );
- check_linebelow->setMinimumSize( 0, 0 );
- check_linebelow->setMaximumSize( 32767, 32767 );
- check_linebelow->setFocusPolicy( QWidget::TabFocus );
- check_linebelow->setBackgroundMode( QWidget::PaletteBackground );
- check_linebelow->setFontPropagation( QWidget::NoChildren );
- check_linebelow->setPalettePropagation( QWidget::NoChildren );
- check_linebelow->setText( _("Draw line below paragraph") );
- check_linebelow->setAutoRepeat( false );
- check_linebelow->setAutoResize( false );
- check_linebelow->setChecked( false );
-
- check_noindent = new QCheckBox( this, "check_noindent" );
- check_noindent->setGeometry( 5, 456, 298, 39 );
- check_noindent->setMinimumSize( 0, 0 );
- check_noindent->setMaximumSize( 32767, 32767 );
- check_noindent->setFocusPolicy( QWidget::TabFocus );
- check_noindent->setBackgroundMode( QWidget::PaletteBackground );
- check_noindent->setFontPropagation( QWidget::NoChildren );
- check_noindent->setPalettePropagation( QWidget::NoChildren );
- check_noindent->setText( _("Don't indent paragraph") );
- check_noindent->setAutoRepeat( false );
- check_noindent->setAutoResize( false );
- check_noindent->setChecked( false );
-
- QLabel* qtarch_labelwidthlabel;
- qtarch_labelwidthlabel = new QLabel( this, "labelwidthlabel" );
- qtarch_labelwidthlabel->setGeometry( 308, 368, 149, 127 );
- 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 );
-
- line_labelwidth = new QLineEdit( this, "line_labelwidth" );
- line_labelwidth->setGeometry( 462, 368, 148, 127 );
- line_labelwidth->setMinimumSize( 0, 0 );
- line_labelwidth->setMaximumSize( 32767, 32767 );
- line_labelwidth->setFocusPolicy( QWidget::StrongFocus );
- line_labelwidth->setBackgroundMode( QWidget::PaletteBase );
- line_labelwidth->setFontPropagation( QWidget::NoChildren );
- line_labelwidth->setPalettePropagation( QWidget::NoChildren );
- line_labelwidth->setText( "" );
- line_labelwidth->setMaxLength( 32767 );
- line_labelwidth->setFrame( QLineEdit::Normal );
- line_labelwidth->setFrame( true );
-
- QLabel* qtarch_labelJustification;
- qtarch_labelJustification = new QLabel( this, "labelJustification" );
- qtarch_labelJustification->setGeometry( 5, 5, 120, 59 );
- qtarch_labelJustification->setMinimumSize( 0, 0 );
- qtarch_labelJustification->setMaximumSize( 32767, 32767 );
- qtarch_labelJustification->setFocusPolicy( QWidget::NoFocus );
- qtarch_labelJustification->setBackgroundMode( QWidget::PaletteBackground );
- qtarch_labelJustification->setFontPropagation( QWidget::NoChildren );
- qtarch_labelJustification->setPalettePropagation( QWidget::NoChildren );
- qtarch_labelJustification->setFrameStyle( 0 );
- qtarch_labelJustification->setLineWidth( 1 );
- qtarch_labelJustification->setMidLineWidth( 0 );
- qtarch_labelJustification->QFrame::setMargin( 0 );
- qtarch_labelJustification->setText( _("Justification") );
- qtarch_labelJustification->setAlignment( 289 );
- qtarch_labelJustification->setMargin( -1 );
-
- if (combo_justification->sizeHint().width()!=-1)
- combo_justification->setMinimumWidth(combo_justification->sizeHint().width());
- if (combo_justification->sizeHint().height()!=-1)
- combo_justification->setMinimumHeight(combo_justification->sizeHint().height());
- if (combo_justification->sizeHint().height()!=-1)
- combo_justification->setMaximumHeight(combo_justification->sizeHint().height());
- if (tabstack->sizeHint().width()!=-1)
- tabstack->setMinimumWidth(tabstack->sizeHint().width());
- if (tabstack->sizeHint().height()!=-1)
- tabstack->setMinimumHeight(tabstack->sizeHint().height());
- if (check_lineabove->sizeHint().width()!=-1)
- check_lineabove->setMinimumWidth(check_lineabove->sizeHint().width());
- if (check_lineabove->sizeHint().height()!=-1)
- check_lineabove->setMinimumHeight(check_lineabove->sizeHint().height());
- if (check_lineabove->sizeHint().width()!=-1)
- check_lineabove->setMaximumWidth(check_lineabove->sizeHint().width());
- if (check_lineabove->sizeHint().height()!=-1)
- check_lineabove->setMaximumHeight(check_lineabove->sizeHint().height());
- if (check_linebelow->sizeHint().width()!=-1)
- check_linebelow->setMinimumWidth(check_linebelow->sizeHint().width());
- if (check_linebelow->sizeHint().height()!=-1)
- check_linebelow->setMinimumHeight(check_linebelow->sizeHint().height());
- if (check_linebelow->sizeHint().width()!=-1)
- check_linebelow->setMaximumWidth(check_linebelow->sizeHint().width());
- if (check_linebelow->sizeHint().height()!=-1)
- check_linebelow->setMaximumHeight(check_linebelow->sizeHint().height());
- if (check_noindent->sizeHint().width()!=-1)
- check_noindent->setMinimumWidth(check_noindent->sizeHint().width());
- if (check_noindent->sizeHint().height()!=-1)
- check_noindent->setMinimumHeight(check_noindent->sizeHint().height());
- if (check_noindent->sizeHint().width()!=-1)
- check_noindent->setMaximumWidth(check_noindent->sizeHint().width());
- if (check_noindent->sizeHint().height()!=-1)
- check_noindent->setMaximumHeight(check_noindent->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 (line_labelwidth->sizeHint().width()!=-1)
- line_labelwidth->setMinimumWidth(line_labelwidth->sizeHint().width());
- if (line_labelwidth->sizeHint().height()!=-1)
- line_labelwidth->setMinimumHeight(line_labelwidth->sizeHint().height());
- if (line_labelwidth->sizeHint().height()!=-1)
- line_labelwidth->setMaximumHeight(line_labelwidth->sizeHint().height());
- if (qtarch_labelJustification->sizeHint().width()!=-1)
- qtarch_labelJustification->setMinimumWidth(qtarch_labelJustification->sizeHint().width());
- if (qtarch_labelJustification->sizeHint().height()!=-1)
- qtarch_labelJustification->setMinimumHeight(qtarch_labelJustification->sizeHint().height());
- if (qtarch_labelJustification->sizeHint().width()!=-1)
- qtarch_labelJustification->setMaximumWidth(qtarch_labelJustification->sizeHint().width());
- if (qtarch_labelJustification->sizeHint().height()!=-1)
- qtarch_labelJustification->setMaximumHeight(qtarch_labelJustification->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->addWidget( qtarch_labelJustification, 1, 36 );
- qtarch_layout_1_1->addWidget( combo_justification, 1, 36 );
- qtarch_layout_1_1->addStretch( 3 );
- QBoxLayout* qtarch_layout_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_2, 5 );
- qtarch_layout_1_2->addStrut( 0 );
- qtarch_layout_1_2->addWidget( tabstack, 5, 36 );
- QBoxLayout* qtarch_layout_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_3, 2 );
- qtarch_layout_1_3->addStrut( 0 );
- QBoxLayout* qtarch_layout_1_3_1 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1_3->addLayout( qtarch_layout_1_3_1, 1 );
- qtarch_layout_1_3_1->addStrut( 0 );
- qtarch_layout_1_3_1->addWidget( check_lineabove, 1, 1 );
- qtarch_layout_1_3_1->addWidget( check_linebelow, 1, 1 );
- qtarch_layout_1_3_1->addWidget( check_noindent, 1, 1 );
- QBoxLayout* qtarch_layout_1_3_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_3->addLayout( qtarch_layout_1_3_2, 1 );
- qtarch_layout_1_3_2->addStrut( 0 );
- qtarch_layout_1_3_2->addWidget( qtarch_labelwidthlabel, 1, 36 );
- qtarch_layout_1_3_2->addWidget( line_labelwidth, 1, 36 );
- resize( 615,500 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-ParaGeneralDialogData::~ParaGeneralDialogData()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: parageneraldlgdata.h
- Last generated: Sat Mar 31 16:49:06 2001
-
- 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 <qcheckbox.h>
-#include <qcombobox.h>
-#include <qlineedit.h>
-
-class ParaGeneralDialogData : public QWidget
-{
- Q_OBJECT
-
-public:
-
- ParaGeneralDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~ParaGeneralDialogData();
-
-public slots:
-
-
-protected slots:
-
-
-protected:
- QComboBox* combo_justification;
- TabStack* tabstack;
- QCheckBox* check_lineabove;
- QCheckBox* check_linebelow;
- QCheckBox* check_noindent;
- QLineEdit* line_labelwidth;
-
-};
-
-#endif // ParaGeneralDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: printdlgdata.C
- Last generated: Sat Mar 31 16:49:09 2001
-
- 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 "printdlgdata.h"
-
-#define Inherited QDialog
-
-
-PrintDialogData::PrintDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, TRUE, 0 )
-{
- pagesGroupBox = new QGroupBox( this, "pagesGroupBox" );
- pagesGroupBox->setGeometry( 5, 5, 162, 270 );
- pagesGroupBox->setMinimumSize( 15, 47 );
- pagesGroupBox->setMaximumSize( 32767, 32767 );
- pagesGroupBox->setFocusPolicy( QWidget::NoFocus );
- pagesGroupBox->setBackgroundMode( QWidget::PaletteBackground );
- pagesGroupBox->setFontPropagation( QWidget::NoChildren );
- pagesGroupBox->setPalettePropagation( QWidget::NoChildren );
- pagesGroupBox->setFrameStyle( 49 );
- pagesGroupBox->setLineWidth( 1 );
- pagesGroupBox->setMidLineWidth( 0 );
- pagesGroupBox->QFrame::setMargin( 0 );
- pagesGroupBox->setTitle( _("Pages") );
- pagesGroupBox->setAlignment( 1 );
-
- pagesRadioGroup = new QButtonGroup( pagesGroupBox, "pagesRadioGroup" );
- pagesRadioGroup->setGeometry( 5, 17, 152, 142 );
- pagesRadioGroup->setMinimumSize( 10, 20 );
- pagesRadioGroup->setMaximumSize( 32767, 32767 );
- pagesRadioGroup->setFocusPolicy( QWidget::NoFocus );
- pagesRadioGroup->setBackgroundMode( QWidget::PaletteBackground );
- pagesRadioGroup->setFontPropagation( QWidget::NoChildren );
- pagesRadioGroup->setPalettePropagation( QWidget::NoChildren );
- pagesRadioGroup->setFrameStyle( 0 );
- pagesRadioGroup->setLineWidth( 1 );
- pagesRadioGroup->setMidLineWidth( 0 );
- pagesRadioGroup->QFrame::setMargin( 0 );
- pagesRadioGroup->setTitle( "" );
- pagesRadioGroup->setAlignment( 1 );
- pagesRadioGroup->setExclusive( true );
-
- copies = new QGroupBox( this, "copies" );
- copies->setGeometry( 172, 5, 323, 66 );
- copies->setMinimumSize( 30, 10 );
- copies->setMaximumSize( 32767, 32767 );
- copies->setFocusPolicy( QWidget::NoFocus );
- copies->setBackgroundMode( QWidget::PaletteBackground );
- copies->setFontPropagation( QWidget::NoChildren );
- copies->setPalettePropagation( QWidget::NoChildren );
- copies->setFrameStyle( 49 );
- copies->setLineWidth( 1 );
- copies->setMidLineWidth( 0 );
- copies->QFrame::setMargin( 0 );
- copies->setTitle( _("Copies") );
- copies->setAlignment( 1 );
-
- printToGroupBox = new QGroupBox( this, "printToGroupBox" );
- printToGroupBox->setGeometry( 172, 76, 323, 199 );
- printToGroupBox->setMinimumSize( 25, 30 );
- printToGroupBox->setMaximumSize( 32767, 32767 );
- printToGroupBox->setFocusPolicy( QWidget::NoFocus );
- printToGroupBox->setBackgroundMode( QWidget::PaletteBackground );
- printToGroupBox->setFontPropagation( QWidget::NoChildren );
- printToGroupBox->setPalettePropagation( QWidget::NoChildren );
- printToGroupBox->setFrameStyle( 49 );
- printToGroupBox->setLineWidth( 1 );
- printToGroupBox->setMidLineWidth( 0 );
- printToGroupBox->QFrame::setMargin( 0 );
- printToGroupBox->setTitle( _("Print to") );
- printToGroupBox->setAlignment( 1 );
-
- printToRadioGroup = new QButtonGroup( printToGroupBox, "printToRadioGroup" );
- printToRadioGroup->setGeometry( 12, 39, 152, 83 );
- printToRadioGroup->setMinimumSize( 10, 15 );
- printToRadioGroup->setMaximumSize( 32767, 32767 );
- printToRadioGroup->setFocusPolicy( QWidget::NoFocus );
- printToRadioGroup->setBackgroundMode( QWidget::PaletteBackground );
- printToRadioGroup->setFontPropagation( QWidget::NoChildren );
- printToRadioGroup->setPalettePropagation( QWidget::NoChildren );
- printToRadioGroup->setFrameStyle( 0 );
- printToRadioGroup->setLineWidth( 1 );
- printToRadioGroup->setMidLineWidth( 0 );
- printToRadioGroup->QFrame::setMargin( 0 );
- printToRadioGroup->setTitle( "" );
- printToRadioGroup->setAlignment( 1 );
- printToRadioGroup->setExclusive( true );
-
- button_ok = new QPushButton( this, "button_ok" );
- button_ok->setGeometry( 86, 280, 81, 45 );
- button_ok->setMinimumSize( 0, 0 );
- button_ok->setMaximumSize( 32767, 32767 );
- connect( button_ok, SIGNAL(clicked()), SLOT(clickedPrint()) );
- button_ok->setFocusPolicy( QWidget::TabFocus );
- button_ok->setBackgroundMode( QWidget::PaletteBackground );
- button_ok->setFontPropagation( QWidget::NoChildren );
- button_ok->setPalettePropagation( QWidget::NoChildren );
- button_ok->setText( _("&Print") );
- button_ok->setAutoRepeat( false );
- button_ok->setAutoResize( false );
- button_ok->setToggleButton( false );
- button_ok->setDefault( false );
- button_ok->setAutoDefault( false );
- button_ok->setIsMenuButton( false );
-
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 333, 280, 81, 45 );
- button_cancel->setMinimumSize( 0, 0 );
- button_cancel->setMaximumSize( 32767, 32767 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(clickedCancel()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Cancel") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( true );
- button_cancel->setAutoDefault( false );
- button_cancel->setIsMenuButton( false );
-
- radio_allpages = new QRadioButton( pagesRadioGroup, "radio_allpages" );
- radio_allpages->setGeometry( 5, 20, 142, 34 );
- radio_allpages->setMinimumSize( 80, 20 );
- radio_allpages->setMaximumSize( 32767, 32767 );
- radio_allpages->setFocusPolicy( QWidget::TabFocus );
- radio_allpages->setBackgroundMode( QWidget::PaletteBackground );
- radio_allpages->setFontPropagation( QWidget::NoChildren );
- radio_allpages->setPalettePropagation( QWidget::NoChildren );
- radio_allpages->setText( _("&All pages") );
- radio_allpages->setAutoRepeat( false );
- radio_allpages->setAutoResize( false );
- radio_allpages->setChecked( false );
-
- radio_oddpages = new QRadioButton( pagesRadioGroup, "radio_oddpages" );
- radio_oddpages->setGeometry( 5, 74, 142, 14 );
- radio_oddpages->setMinimumSize( 0, 0 );
- radio_oddpages->setMaximumSize( 32767, 32767 );
- radio_oddpages->setFocusPolicy( QWidget::TabFocus );
- radio_oddpages->setBackgroundMode( QWidget::PaletteBackground );
- radio_oddpages->setFontPropagation( QWidget::NoChildren );
- radio_oddpages->setPalettePropagation( QWidget::NoChildren );
- radio_oddpages->setText( _("&Odd pages") );
- radio_oddpages->setAutoRepeat( false );
- radio_oddpages->setAutoResize( false );
- radio_oddpages->setChecked( false );
-
- radio_evenpages = new QRadioButton( pagesRadioGroup, "radio_evenpages" );
- radio_evenpages->setGeometry( 5, 108, 142, 14 );
- radio_evenpages->setMinimumSize( 0, 0 );
- radio_evenpages->setMaximumSize( 32767, 32767 );
- radio_evenpages->setFocusPolicy( QWidget::TabFocus );
- radio_evenpages->setBackgroundMode( QWidget::PaletteBackground );
- radio_evenpages->setFontPropagation( QWidget::NoChildren );
- radio_evenpages->setPalettePropagation( QWidget::NoChildren );
- radio_evenpages->setText( _("&Even pages") );
- radio_evenpages->setAutoRepeat( false );
- radio_evenpages->setAutoResize( false );
- radio_evenpages->setChecked( false );
-
- line_from = new KIntLineEdit( pagesGroupBox, "line_from" );
- line_from->setGeometry( 108, 164, 49, 30 );
- line_from->setMinimumSize( 0, 0 );
- line_from->setMaximumSize( 32767, 32767 );
- line_from->setFocusPolicy( QWidget::StrongFocus );
- line_from->setBackgroundMode( QWidget::PaletteBase );
- line_from->setFontPropagation( QWidget::NoChildren );
- line_from->setPalettePropagation( QWidget::NoChildren );
- line_from->setText( "" );
- line_from->setMaxLength( 32767 );
- line_from->setFrame( QLineEdit::Normal );
- line_from->setFrame( true );
-
- line_to = new KIntLineEdit( pagesGroupBox, "line_to" );
- line_to->setGeometry( 108, 199, 49, 31 );
- line_to->setMinimumSize( 0, 0 );
- line_to->setMaximumSize( 32767, 32767 );
- line_to->setFocusPolicy( QWidget::StrongFocus );
- line_to->setBackgroundMode( QWidget::PaletteBase );
- line_to->setFontPropagation( QWidget::NoChildren );
- line_to->setPalettePropagation( QWidget::NoChildren );
- line_to->setText( "" );
- line_to->setMaxLength( 32767 );
- line_to->setFrame( QLineEdit::Normal );
- line_to->setFrame( true );
-
- check_reverse = new QCheckBox( pagesGroupBox, "check_reverse" );
- check_reverse->setGeometry( 5, 235, 152, 30 );
- check_reverse->setMinimumSize( 0, 0 );
- check_reverse->setMaximumSize( 32767, 32767 );
- check_reverse->setFocusPolicy( QWidget::TabFocus );
- check_reverse->setBackgroundMode( QWidget::PaletteBackground );
- check_reverse->setFontPropagation( QWidget::NoChildren );
- check_reverse->setPalettePropagation( QWidget::NoChildren );
- check_reverse->setText( _("&Reverse order") );
- check_reverse->setAutoRepeat( false );
- check_reverse->setAutoResize( true );
- check_reverse->setChecked( false );
-
- line_count = new KIntLineEdit( copies, "line_count" );
- line_count->setGeometry( 162, 12, 50, 46 );
- line_count->setMinimumSize( 0, 0 );
- line_count->setMaximumSize( 32767, 32767 );
- connect( line_count, SIGNAL(textChanged(const char*)), SLOT(changedCount(const char*)) );
- line_count->setFocusPolicy( QWidget::StrongFocus );
- line_count->setBackgroundMode( QWidget::PaletteBase );
- line_count->setFontPropagation( QWidget::NoChildren );
- line_count->setPalettePropagation( QWidget::NoChildren );
- line_count->setText( "" );
- line_count->setMaxLength( 32767 );
- line_count->setFrame( QLineEdit::Normal );
- line_count->setFrame( true );
-
- check_sort = new QCheckBox( copies, "check_sort" );
- check_sort->setGeometry( 268, 12, 50, 46 );
- check_sort->setMinimumSize( 0, 0 );
- check_sort->setMaximumSize( 32767, 32767 );
- check_sort->setFocusPolicy( QWidget::TabFocus );
- check_sort->setBackgroundMode( QWidget::PaletteBackground );
- check_sort->setFontPropagation( QWidget::NoChildren );
- check_sort->setPalettePropagation( QWidget::NoChildren );
- check_sort->setText( _("Co&llate") );
- check_sort->setAutoRepeat( false );
- check_sort->setAutoResize( true );
- check_sort->setChecked( false );
-
- fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
- fromLabel->setGeometry( 5, 164, 98, 30 );
- fromLabel->setMinimumSize( 0, 0 );
- fromLabel->setMaximumSize( 32767, 32767 );
- fromLabel->setFocusPolicy( QWidget::NoFocus );
- fromLabel->setBackgroundMode( QWidget::PaletteBackground );
- fromLabel->setFontPropagation( QWidget::NoChildren );
- fromLabel->setPalettePropagation( QWidget::NoChildren );
- fromLabel->setFrameStyle( 0 );
- fromLabel->setLineWidth( 1 );
- fromLabel->setMidLineWidth( 0 );
- fromLabel->QFrame::setMargin( 0 );
- fromLabel->setText( _("From") );
- fromLabel->setAlignment( 289 );
- fromLabel->setMargin( -1 );
-
- toLabel = new QLabel( pagesGroupBox, "toLabel" );
- toLabel->setGeometry( 5, 199, 98, 31 );
- toLabel->setMinimumSize( 0, 0 );
- toLabel->setMaximumSize( 32767, 32767 );
- toLabel->setFocusPolicy( QWidget::NoFocus );
- toLabel->setBackgroundMode( QWidget::PaletteBackground );
- toLabel->setFontPropagation( QWidget::NoChildren );
- toLabel->setPalettePropagation( QWidget::NoChildren );
- toLabel->setFrameStyle( 0 );
- toLabel->setLineWidth( 1 );
- toLabel->setMidLineWidth( 0 );
- toLabel->QFrame::setMargin( 0 );
- toLabel->setText( _("To") );
- toLabel->setAlignment( 289 );
- toLabel->setMargin( -1 );
-
- radio_toprinter = new QRadioButton( printToRadioGroup, "radio_toprinter" );
- radio_toprinter->setGeometry( 5, 5, 142, 23 );
- radio_toprinter->setMinimumSize( 0, 0 );
- radio_toprinter->setMaximumSize( 32767, 32767 );
- radio_toprinter->setFocusPolicy( QWidget::TabFocus );
- radio_toprinter->setBackgroundMode( QWidget::PaletteBackground );
- radio_toprinter->setFontPropagation( QWidget::NoChildren );
- radio_toprinter->setPalettePropagation( QWidget::NoChildren );
- radio_toprinter->setText( _("&Printer") );
- radio_toprinter->setAutoRepeat( false );
- radio_toprinter->setAutoResize( false );
- radio_toprinter->setChecked( false );
-
- radio_tofile = new QRadioButton( printToRadioGroup, "radio_tofile" );
- radio_tofile->setGeometry( 5, 55, 142, 23 );
- radio_tofile->setMinimumSize( 0, 0 );
- radio_tofile->setMaximumSize( 32767, 32767 );
- radio_tofile->setFocusPolicy( QWidget::TabFocus );
- radio_tofile->setBackgroundMode( QWidget::PaletteBackground );
- radio_tofile->setFontPropagation( QWidget::NoChildren );
- radio_tofile->setPalettePropagation( QWidget::NoChildren );
- radio_tofile->setText( _("&File") );
- radio_tofile->setAutoRepeat( false );
- radio_tofile->setAutoResize( false );
- radio_tofile->setChecked( false );
-
- line_printername = new QLineEdit( printToGroupBox, "line_printername" );
- line_printername->setGeometry( 169, 39, 142, 26 );
- line_printername->setMinimumSize( 0, 0 );
- line_printername->setMaximumSize( 32767, 32767 );
- line_printername->setFocusPolicy( QWidget::StrongFocus );
- line_printername->setBackgroundMode( QWidget::PaletteBase );
- line_printername->setFontPropagation( QWidget::NoChildren );
- line_printername->setPalettePropagation( QWidget::NoChildren );
- line_printername->setText( "" );
- line_printername->setMaxLength( 32767 );
- line_printername->setFrame( QLineEdit::Normal );
- line_printername->setFrame( true );
-
- line_filename = new QLineEdit( printToGroupBox, "line_filename" );
- line_filename->setGeometry( 169, 96, 142, 26 );
- line_filename->setMinimumSize( 0, 0 );
- line_filename->setMaximumSize( 32767, 32767 );
- line_filename->setFocusPolicy( QWidget::StrongFocus );
- line_filename->setBackgroundMode( QWidget::PaletteBase );
- line_filename->setFontPropagation( QWidget::NoChildren );
- line_filename->setPalettePropagation( QWidget::NoChildren );
- line_filename->setText( "" );
- line_filename->setMaxLength( 32767 );
- line_filename->setFrame( QLineEdit::Normal );
- line_filename->setFrame( true );
-
- button_browse = new QPushButton( printToGroupBox, "button_browse" );
- button_browse->setGeometry( 158, 149, 153, 23 );
- button_browse->setMinimumSize( 0, 0 );
- button_browse->setMaximumSize( 32767, 32767 );
- connect( button_browse, SIGNAL(clicked()), SLOT(clickedBrowse()) );
- button_browse->setFocusPolicy( QWidget::TabFocus );
- button_browse->setBackgroundMode( QWidget::PaletteBackground );
- button_browse->setFontPropagation( QWidget::NoChildren );
- button_browse->setPalettePropagation( QWidget::NoChildren );
- button_browse->setText( _("&Browse") );
- button_browse->setAutoRepeat( false );
- button_browse->setAutoResize( false );
- button_browse->setToggleButton( false );
- button_browse->setDefault( false );
- button_browse->setAutoDefault( false );
- button_browse->setIsMenuButton( false );
-
- countLabel = new QLabel( copies, "countLabel" );
- countLabel->setGeometry( 56, 12, 50, 46 );
- countLabel->setMinimumSize( 0, 0 );
- countLabel->setMaximumSize( 32767, 32767 );
- countLabel->setFocusPolicy( QWidget::NoFocus );
- countLabel->setBackgroundMode( QWidget::PaletteBackground );
- countLabel->setFontPropagation( QWidget::NoChildren );
- countLabel->setPalettePropagation( QWidget::NoChildren );
- countLabel->setFrameStyle( 0 );
- countLabel->setLineWidth( 1 );
- countLabel->setMidLineWidth( 0 );
- countLabel->QFrame::setMargin( 0 );
- countLabel->setText( _("Count") );
- countLabel->setAlignment( 289 );
- countLabel->setMargin( -1 );
-
- pagesRadioGroup->insert( radio_allpages );
- pagesRadioGroup->insert( radio_oddpages );
- pagesRadioGroup->insert( radio_evenpages );
-
- printToRadioGroup->insert( radio_toprinter );
- printToRadioGroup->insert( radio_tofile );
-
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMinimumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMinimumHeight(button_ok->sizeHint().height());
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMaximumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMaximumHeight(button_ok->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_cancel->sizeHint().height());
- if (radio_allpages->sizeHint().width()!=-1)
- radio_allpages->setMinimumWidth(radio_allpages->sizeHint().width());
- if (radio_allpages->sizeHint().height()!=-1)
- radio_allpages->setMinimumHeight(radio_allpages->sizeHint().height());
- if (radio_allpages->sizeHint().width()!=-1)
- radio_allpages->setMaximumWidth(radio_allpages->sizeHint().width());
- if (radio_allpages->sizeHint().height()!=-1)
- radio_allpages->setMaximumHeight(radio_allpages->sizeHint().height());
- if (radio_oddpages->sizeHint().width()!=-1)
- radio_oddpages->setMinimumWidth(radio_oddpages->sizeHint().width());
- if (radio_oddpages->sizeHint().height()!=-1)
- radio_oddpages->setMinimumHeight(radio_oddpages->sizeHint().height());
- if (radio_oddpages->sizeHint().width()!=-1)
- radio_oddpages->setMaximumWidth(radio_oddpages->sizeHint().width());
- if (radio_oddpages->sizeHint().height()!=-1)
- radio_oddpages->setMaximumHeight(radio_oddpages->sizeHint().height());
- if (radio_evenpages->sizeHint().width()!=-1)
- radio_evenpages->setMinimumWidth(radio_evenpages->sizeHint().width());
- if (radio_evenpages->sizeHint().height()!=-1)
- radio_evenpages->setMinimumHeight(radio_evenpages->sizeHint().height());
- if (radio_evenpages->sizeHint().width()!=-1)
- radio_evenpages->setMaximumWidth(radio_evenpages->sizeHint().width());
- if (radio_evenpages->sizeHint().height()!=-1)
- radio_evenpages->setMaximumHeight(radio_evenpages->sizeHint().height());
- if (line_from->sizeHint().width()!=-1)
- line_from->setMinimumWidth(line_from->sizeHint().width());
- if (line_from->sizeHint().height()!=-1)
- line_from->setMinimumHeight(line_from->sizeHint().height());
- if (line_from->sizeHint().height()!=-1)
- line_from->setMaximumHeight(line_from->sizeHint().height());
- if (line_to->sizeHint().width()!=-1)
- line_to->setMinimumWidth(line_to->sizeHint().width());
- if (line_to->sizeHint().height()!=-1)
- line_to->setMinimumHeight(line_to->sizeHint().height());
- if (line_to->sizeHint().height()!=-1)
- line_to->setMaximumHeight(line_to->sizeHint().height());
- if (check_reverse->sizeHint().width()!=-1)
- check_reverse->setMinimumWidth(check_reverse->sizeHint().width());
- if (check_reverse->sizeHint().height()!=-1)
- check_reverse->setMinimumHeight(check_reverse->sizeHint().height());
- if (check_reverse->sizeHint().width()!=-1)
- check_reverse->setMaximumWidth(check_reverse->sizeHint().width());
- if (check_reverse->sizeHint().height()!=-1)
- check_reverse->setMaximumHeight(check_reverse->sizeHint().height());
- if (line_count->sizeHint().width()!=-1)
- line_count->setMinimumWidth(line_count->sizeHint().width());
- if (line_count->sizeHint().height()!=-1)
- line_count->setMinimumHeight(line_count->sizeHint().height());
- if (line_count->sizeHint().height()!=-1)
- line_count->setMaximumHeight(line_count->sizeHint().height());
- if (check_sort->sizeHint().width()!=-1)
- check_sort->setMinimumWidth(check_sort->sizeHint().width());
- if (check_sort->sizeHint().height()!=-1)
- check_sort->setMinimumHeight(check_sort->sizeHint().height());
- if (check_sort->sizeHint().width()!=-1)
- check_sort->setMaximumWidth(check_sort->sizeHint().width());
- if (check_sort->sizeHint().height()!=-1)
- check_sort->setMaximumHeight(check_sort->sizeHint().height());
- if (fromLabel->sizeHint().width()!=-1)
- fromLabel->setMinimumWidth(fromLabel->sizeHint().width());
- if (fromLabel->sizeHint().height()!=-1)
- fromLabel->setMinimumHeight(fromLabel->sizeHint().height());
- if (fromLabel->sizeHint().width()!=-1)
- fromLabel->setMaximumWidth(fromLabel->sizeHint().width());
- if (fromLabel->sizeHint().height()!=-1)
- fromLabel->setMaximumHeight(fromLabel->sizeHint().height());
- if (toLabel->sizeHint().width()!=-1)
- toLabel->setMinimumWidth(toLabel->sizeHint().width());
- if (toLabel->sizeHint().height()!=-1)
- toLabel->setMinimumHeight(toLabel->sizeHint().height());
- if (toLabel->sizeHint().width()!=-1)
- toLabel->setMaximumWidth(toLabel->sizeHint().width());
- if (toLabel->sizeHint().height()!=-1)
- toLabel->setMaximumHeight(toLabel->sizeHint().height());
- if (radio_toprinter->sizeHint().width()!=-1)
- radio_toprinter->setMinimumWidth(radio_toprinter->sizeHint().width());
- if (radio_toprinter->sizeHint().height()!=-1)
- radio_toprinter->setMinimumHeight(radio_toprinter->sizeHint().height());
- if (radio_toprinter->sizeHint().width()!=-1)
- radio_toprinter->setMaximumWidth(radio_toprinter->sizeHint().width());
- if (radio_toprinter->sizeHint().height()!=-1)
- radio_toprinter->setMaximumHeight(radio_toprinter->sizeHint().height());
- if (radio_tofile->sizeHint().width()!=-1)
- radio_tofile->setMinimumWidth(radio_tofile->sizeHint().width());
- if (radio_tofile->sizeHint().height()!=-1)
- radio_tofile->setMinimumHeight(radio_tofile->sizeHint().height());
- if (radio_tofile->sizeHint().width()!=-1)
- radio_tofile->setMaximumWidth(radio_tofile->sizeHint().width());
- if (radio_tofile->sizeHint().height()!=-1)
- radio_tofile->setMaximumHeight(radio_tofile->sizeHint().height());
- if (line_printername->sizeHint().width()!=-1)
- line_printername->setMinimumWidth(line_printername->sizeHint().width());
- if (line_printername->sizeHint().height()!=-1)
- line_printername->setMinimumHeight(line_printername->sizeHint().height());
- if (line_printername->sizeHint().height()!=-1)
- line_printername->setMaximumHeight(line_printername->sizeHint().height());
- if (line_filename->sizeHint().width()!=-1)
- line_filename->setMinimumWidth(line_filename->sizeHint().width());
- if (line_filename->sizeHint().height()!=-1)
- line_filename->setMinimumHeight(line_filename->sizeHint().height());
- if (line_filename->sizeHint().height()!=-1)
- line_filename->setMaximumHeight(line_filename->sizeHint().height());
- if (button_browse->sizeHint().width()!=-1)
- button_browse->setMinimumWidth(button_browse->sizeHint().width());
- if (button_browse->sizeHint().height()!=-1)
- button_browse->setMinimumHeight(button_browse->sizeHint().height());
- if (button_browse->sizeHint().width()!=-1)
- button_browse->setMaximumWidth(button_browse->sizeHint().width());
- if (button_browse->sizeHint().height()!=-1)
- button_browse->setMaximumHeight(button_browse->sizeHint().height());
- if (countLabel->sizeHint().width()!=-1)
- countLabel->setMinimumWidth(countLabel->sizeHint().width());
- if (countLabel->sizeHint().height()!=-1)
- countLabel->setMinimumHeight(countLabel->sizeHint().height());
- if (countLabel->sizeHint().width()!=-1)
- countLabel->setMaximumWidth(countLabel->sizeHint().width());
- if (countLabel->sizeHint().height()!=-1)
- countLabel->setMaximumHeight(countLabel->sizeHint().height());
- QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 1, 5, 5, NULL );
- qtarch_layout_1->addColSpacing( 0, 5 );
- qtarch_layout_1->setColStretch( 0, 1 );
- qtarch_layout_1->addRowSpacing( 0, 0 );
- qtarch_layout_1->setRowStretch( 0, 5 );
- QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_1_1, 0, 0 );
- qtarch_layout_1_1_1->addStrut( 0 );
- qtarch_layout_1_1_1->addWidget( pagesGroupBox, 1, 36 );
- QBoxLayout* qtarch_layout_1_1_1_1 = new QBoxLayout( pagesGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1_1_1->addStrut( 0 );
- qtarch_layout_1_1_1_1->addSpacing( 12 );
- qtarch_layout_1_1_1_1->addWidget( pagesRadioGroup, 4, 33 );
- QBoxLayout* qtarch_layout_1_1_1_1_2 = new QBoxLayout( pagesRadioGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1_1_1_2->addStrut( 0 );
- qtarch_layout_1_1_1_1_2->addStretch( 1 );
- qtarch_layout_1_1_1_1_2->addWidget( radio_allpages, 1, 1 );
- qtarch_layout_1_1_1_1_2->addStretch( 1 );
- qtarch_layout_1_1_1_1_2->addWidget( radio_oddpages, 1, 1 );
- qtarch_layout_1_1_1_1_2->addStretch( 1 );
- qtarch_layout_1_1_1_1_2->addWidget( radio_evenpages, 1, 1 );
- qtarch_layout_1_1_1_1_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_1_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1_1->addLayout( qtarch_layout_1_1_1_1_3, 1 );
- qtarch_layout_1_1_1_1_3->addStrut( 0 );
- qtarch_layout_1_1_1_1_3->addWidget( fromLabel, 2, 36 );
- qtarch_layout_1_1_1_1_3->addWidget( line_from, 1, 36 );
- QBoxLayout* qtarch_layout_1_1_1_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1_1->addLayout( qtarch_layout_1_1_1_1_4, 1 );
- qtarch_layout_1_1_1_1_4->addStrut( 0 );
- qtarch_layout_1_1_1_1_4->addWidget( toLabel, 2, 36 );
- qtarch_layout_1_1_1_1_4->addWidget( line_to, 1, 36 );
- qtarch_layout_1_1_1_1->addWidget( check_reverse, 1, 36 );
- QBoxLayout* qtarch_layout_1_1_1_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1_1_1->addLayout( qtarch_layout_1_1_1_2, 2 );
- qtarch_layout_1_1_1_2->addStrut( 0 );
- qtarch_layout_1_1_1_2->addWidget( copies, 1, 36 );
- QBoxLayout* qtarch_layout_1_1_1_2_1 = new QBoxLayout( copies, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1_1_2_1->addStrut( 0 );
- qtarch_layout_1_1_1_2_1->addSpacing( 7 );
- QBoxLayout* qtarch_layout_1_1_1_2_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1_2_1->addLayout( qtarch_layout_1_1_1_2_1_2, 1 );
- qtarch_layout_1_1_1_2_1_2->addStrut( 0 );
- qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
- qtarch_layout_1_1_1_2_1_2->addWidget( countLabel, 1, 36 );
- qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
- qtarch_layout_1_1_1_2_1_2->addWidget( line_count, 1, 36 );
- qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
- qtarch_layout_1_1_1_2_1_2->addWidget( check_sort, 1, 36 );
- qtarch_layout_1_1_1_2_1->addSpacing( 3 );
- qtarch_layout_1_1_1_2->addWidget( printToGroupBox, 3, 36 );
- QBoxLayout* qtarch_layout_1_1_1_2_2 = new QBoxLayout( printToGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1_1_2_2->addStrut( 0 );
- qtarch_layout_1_1_1_2_2->addSpacing( 12 );
- qtarch_layout_1_1_1_2_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_1_2_2_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1_2_2->addLayout( qtarch_layout_1_1_1_2_2_3, 3 );
- qtarch_layout_1_1_1_2_2_3->addStrut( 0 );
- qtarch_layout_1_1_1_2_2_3->addSpacing( 7 );
- qtarch_layout_1_1_1_2_2_3->addWidget( printToRadioGroup, 1, 33 );
- QBoxLayout* qtarch_layout_1_1_1_2_2_3_2 = new QBoxLayout( printToRadioGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
- qtarch_layout_1_1_1_2_2_3_2->addStrut( 0 );
- qtarch_layout_1_1_1_2_2_3_2->addWidget( radio_toprinter, 1, 1 );
- qtarch_layout_1_1_1_2_2_3_2->addStretch( 1 );
- qtarch_layout_1_1_1_2_2_3_2->addWidget( radio_tofile, 1, 1 );
- QBoxLayout* qtarch_layout_1_1_1_2_2_3_3 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
- qtarch_layout_1_1_1_2_2_3->addLayout( qtarch_layout_1_1_1_2_2_3_3, 1 );
- qtarch_layout_1_1_1_2_2_3_3->addStrut( 0 );
- qtarch_layout_1_1_1_2_2_3_3->addWidget( line_printername, 1, 36 );
- qtarch_layout_1_1_1_2_2_3_3->addStretch( 1 );
- qtarch_layout_1_1_1_2_2_3_3->addWidget( line_filename, 1, 36 );
- qtarch_layout_1_1_1_2_2_3->addSpacing( 7 );
- qtarch_layout_1_1_1_2_2->addStretch( 1 );
- QBoxLayout* qtarch_layout_1_1_1_2_2_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1_1_1_2_2->addLayout( qtarch_layout_1_1_1_2_2_5, 1 );
- qtarch_layout_1_1_1_2_2_5->addStrut( 0 );
- qtarch_layout_1_1_1_2_2_5->addStretch( 1 );
- qtarch_layout_1_1_1_2_2_5->addWidget( button_browse, 1, 36 );
- qtarch_layout_1_1_1_2_2_5->addSpacing( 7 );
- qtarch_layout_1_1_1_2_2->addStretch( 1 );
- qtarch_layout_1->addRowSpacing( 1, 0 );
- qtarch_layout_1->setRowStretch( 1, 1 );
- QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
- qtarch_layout_1->addLayout( qtarch_layout_1_2_1, 1, 0 );
- qtarch_layout_1_2_1->addStrut( 0 );
- qtarch_layout_1_2_1->addStretch( 1 );
- qtarch_layout_1_2_1->addWidget( button_ok, 1, 36 );
- qtarch_layout_1_2_1->addStretch( 2 );
- qtarch_layout_1_2_1->addWidget( button_cancel, 1, 36 );
- qtarch_layout_1_2_1->addStretch( 1 );
- resize( 500,330 );
- setMinimumSize( 0, 0 );
- setMaximumSize( 32767, 32767 );
-}
-
-
-PrintDialogData::~PrintDialogData()
-{
-}
-void PrintDialogData::clickedPrint()
-{
-}
-void PrintDialogData::clickedCancel()
-{
-}
-void PrintDialogData::changedCount(const char*)
-{
-}
-void PrintDialogData::clickedBrowse()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: printdlgdata.h
- Last generated: Sat Mar 31 16:49:09 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef PrintDialogData_included
-#define PrintDialogData_included
-
-#include <qdialog.h>
-#include <qlabel.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qpushbutton.h>
-#include <qgroupbox.h>
-#include <keditcl.h>
-#include <qlineedit.h>
-#include <qbuttongroup.h>
-
-class PrintDialogData : public QDialog
-{
- Q_OBJECT
-
-public:
-
- PrintDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~PrintDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void clickedCancel();
- virtual void clickedBrowse();
- virtual void changedCount(const char*);
- virtual void clickedPrint();
-
-public:
- QGroupBox* pagesGroupBox;
- QButtonGroup* pagesRadioGroup;
- QGroupBox* copies;
- QGroupBox* printToGroupBox;
- QButtonGroup* printToRadioGroup;
- QPushButton* button_ok;
- QPushButton* button_cancel;
- QRadioButton* radio_allpages;
- QRadioButton* radio_oddpages;
- QRadioButton* radio_evenpages;
- KIntLineEdit* line_from;
- KIntLineEdit* line_to;
- QCheckBox* check_reverse;
- KIntLineEdit* line_count;
- QCheckBox* check_sort;
- QLabel* fromLabel;
- QLabel* toLabel;
- QRadioButton* radio_toprinter;
- QRadioButton* radio_tofile;
- QLineEdit* line_printername;
- QLineEdit* line_filename;
- QPushButton* button_browse;
- QLabel* countLabel;
-
-};
-
-#endif // PrintDialogData_included
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: tabcreatedlgdata.C
- Last generated: Sat Mar 31 17:24:11 2001
-
- 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 QDialog
-
-#include <qlabel.h>
-
-TabularCreateDialogData::TabularCreateDialogData
-(
- QWidget* parent,
- const char* name
-)
- :
- Inherited( parent, name, TRUE, 0 )
-{
- button_ok = new QPushButton( this, "button_ok" );
- button_ok->setGeometry( 64, 249, 59, 21 );
- button_ok->setMinimumSize( 0, 0 );
- button_ok->setMaximumSize( 32767, 32767 );
- connect( button_ok, SIGNAL(clicked()), SLOT(clickedInsert()) );
- button_ok->setFocusPolicy( QWidget::TabFocus );
- button_ok->setBackgroundMode( QWidget::PaletteBackground );
- button_ok->setFontPropagation( QWidget::NoChildren );
- button_ok->setPalettePropagation( QWidget::NoChildren );
- button_ok->setText( _("&Insert") );
- button_ok->setAutoRepeat( false );
- button_ok->setAutoResize( false );
- button_ok->setToggleButton( false );
- button_ok->setDefault( true );
- button_ok->setAutoDefault( false );
- button_ok->setIsMenuButton( false );
-
- button_cancel = new QPushButton( this, "button_cancel" );
- button_cancel->setGeometry( 187, 249, 59, 21 );
- button_cancel->setMinimumSize( 0, 0 );
- button_cancel->setMaximumSize( 32767, 32767 );
- connect( button_cancel, SIGNAL(clicked()), SLOT(clickedCancel()) );
- button_cancel->setFocusPolicy( QWidget::TabFocus );
- button_cancel->setBackgroundMode( QWidget::PaletteBackground );
- button_cancel->setFontPropagation( QWidget::NoChildren );
- button_cancel->setPalettePropagation( QWidget::NoChildren );
- button_cancel->setText( _("&Cancel") );
- button_cancel->setAutoRepeat( false );
- button_cancel->setAutoResize( false );
- button_cancel->setToggleButton( false );
- button_cancel->setDefault( false );
- button_cancel->setAutoDefault( false );
- button_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 );
-
- spin_rows = new QSpinBox( this, "spin_rows" );
- spin_rows->setGeometry( 91, 5, 41, 21 );
- spin_rows->setMinimumSize( 0, 0 );
- spin_rows->setMaximumSize( 32767, 32767 );
- spin_rows->setFocusPolicy( QWidget::StrongFocus );
- spin_rows->setBackgroundMode( QWidget::PaletteBackground );
- spin_rows->setFontPropagation( QWidget::NoChildren );
- spin_rows->setPalettePropagation( QWidget::NoChildren );
- spin_rows->setFrameStyle( 51 );
- spin_rows->setLineWidth( 2 );
- spin_rows->setMidLineWidth( 0 );
- spin_rows->QFrame::setMargin( 0 );
- spin_rows->setRange( 1, 300 );
- spin_rows->setSteps( 1, 0 );
- spin_rows->setPrefix( "" );
- spin_rows->setSuffix( "" );
- spin_rows->setSpecialValueText( "" );
- spin_rows->setWrapping( false );
-
- spin_cols = new QSpinBox( this, "spin_cols" );
- spin_cols->setGeometry( 224, 5, 40, 21 );
- spin_cols->setMinimumSize( 0, 0 );
- spin_cols->setMaximumSize( 32767, 32767 );
- spin_cols->setFocusPolicy( QWidget::StrongFocus );
- spin_cols->setBackgroundMode( QWidget::PaletteBackground );
- spin_cols->setFontPropagation( QWidget::NoChildren );
- spin_cols->setPalettePropagation( QWidget::NoChildren );
- spin_cols->setFrameStyle( 51 );
- spin_cols->setLineWidth( 2 );
- spin_cols->setMidLineWidth( 0 );
- spin_cols->QFrame::setMargin( 0 );
- spin_cols->setRange( 1, 40 );
- spin_cols->setSteps( 1, 0 );
- spin_cols->setPrefix( "" );
- spin_cols->setSuffix( "" );
- spin_cols->setSpecialValueText( "" );
- spin_cols->setWrapping( false );
-
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMinimumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMinimumHeight(button_ok->sizeHint().height());
- if (button_ok->sizeHint().width()!=-1)
- button_ok->setMaximumWidth(button_ok->sizeHint().width());
- if (button_ok->sizeHint().height()!=-1)
- button_ok->setMaximumHeight(button_ok->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMinimumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMinimumHeight(button_cancel->sizeHint().height());
- if (button_cancel->sizeHint().width()!=-1)
- button_cancel->setMaximumWidth(button_cancel->sizeHint().width());
- if (button_cancel->sizeHint().height()!=-1)
- button_cancel->setMaximumHeight(button_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 (spin_rows->sizeHint().width()!=-1)
- spin_rows->setMinimumWidth(spin_rows->sizeHint().width());
- if (spin_rows->sizeHint().height()!=-1)
- spin_rows->setMinimumHeight(spin_rows->sizeHint().height());
- if (spin_rows->sizeHint().height()!=-1)
- spin_rows->setMaximumHeight(spin_rows->sizeHint().height());
- if (spin_cols->sizeHint().width()!=-1)
- spin_cols->setMinimumWidth(spin_cols->sizeHint().width());
- if (spin_cols->sizeHint().height()!=-1)
- spin_cols->setMinimumHeight(spin_cols->sizeHint().height());
- if (spin_cols->sizeHint().height()!=-1)
- spin_cols->setMaximumHeight(spin_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( spin_rows, 1, 36 );
- qtarch_layout_1_1->addStretch( 1 );
- qtarch_layout_1_1->addWidget( qtarch_columnslabel, 1, 36 );
- qtarch_layout_1_1->addWidget( spin_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( button_ok, 1, 36 );
- qtarch_layout_1_3->addStretch( 1 );
- qtarch_layout_1_3->addWidget( button_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()
-{
-}
+++ /dev/null
-/**********************************************************************
-
- --- Qt Architect 1.4-6 generated file ---
-
- File: tabcreatedlgdata.h
- Last generated: Sat Mar 31 17:24:11 2001
-
- DO NOT EDIT!!! This file will be automatically
- regenerated by qtarch. All changes will be lost.
-
- *********************************************************************/
-
-#ifndef TabularCreateDialogData_included
-#define TabularCreateDialogData_included
-
-#include <qdialog.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
-#include "emptytable.h"
-
-class TabularCreateDialogData : public QDialog
-{
- Q_OBJECT
-
-public:
-
- TabularCreateDialogData
- (
- QWidget* parent = NULL,
- const char* name = NULL
- );
-
- virtual ~TabularCreateDialogData();
-
-public slots:
-
-
-protected slots:
-
- virtual void clickedCancel();
- virtual void clickedInsert();
-
-public:
- QPushButton* button_ok;
- QPushButton* button_cancel;
- EmptyTable* table;
- QSpinBox* spin_rows;
- QSpinBox* spin_cols;
-
-};
-
-#endif // TabularCreateDialogData_included
+++ /dev/null
-/*
- * tabstack.C
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
- */
-
-#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, const char * name)
- : QWidget(parent,name), tabs(0), stack(0), topLayout(0)
-{
- stack = new QWidgetStack(this, "stack");
- tabs = new QTabBar(this, "tabbar");
- connect(tabs, SIGNAL(selected(int)), this, SLOT(selected(int)));
-}
-
-TabStack::~TabStack()
-{
-}
-
-void TabStack::show()
-{
- doLayout();
- QWidget::show();
-}
-
-void TabStack::doLayout()
-{
- const int margin = 6;
-
- delete topLayout;
- topLayout = new QBoxLayout(this, QBoxLayout::Down);
-
- topLayout->addSpacing(margin);
-
- QBoxLayout * tmp = new QBoxLayout(QBoxLayout::LeftToRight);
- topLayout->addLayout(tmp, 0);
- tmp->addSpacing(margin);
- tmp->addWidget(tabs, 0);
- tmp->addStretch(1);
- tmp->addSpacing(margin + 2);
-
- tmp = new QBoxLayout(QBoxLayout::LeftToRight);
- topLayout->addLayout(tmp, 1);
- tmp->addSpacing(margin + 1);
- tmp->addWidget(stack, 1);
- tmp->addSpacing(margin + 2);
-
- topLayout->addSpacing(margin);
-
- topLayout->activate();
-}
-
-void TabStack::paintEvent(QPaintEvent *)
-{
- if (!tabs)
- return;
-
- QPainter p;
- p.begin(this);
-
- QRect s(stack->geometry());
-
- QCOORD t = s.top() - 1;
- QCOORD b = s.bottom() + 2;
- QCOORD r = s.right() + 2;
- QCOORD l = s.left() - 1;
-
- p.setPen(colorGroup().light());
- p.drawLine(l, t, r - 1, t);
- p.drawLine(l, t + 1, l, b);
- p.setPen(black);
- p.drawLine(r, b, l,b);
- p.drawLine(r, b-1, r, t);
- p.setPen(colorGroup().dark());
- p.drawLine(l+1, b-1, r-1, b-1);
- p.drawLine(r-1, b-2, r-1, t+1);
-
- p.end();
-}
-
-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);
-}
+++ /dev/null
-// -*- C++ -*-
-/*
- * 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 QBoxLayout;
-
-#include "boost/utility.hpp"
-
-/**
- * This widget provides a tab bar which can switch between a stack
- * of QFrames.
- */
-class TabStack : public QWidget, boost::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;
-
-public slots:
- /// show the widget
- virtual void show(void);
-
-protected slots:
- /// a tab page has been selected
- virtual void selected(int);
-
- /// paint widget
- virtual void paintEvent(QPaintEvent *);
-
-private:
- /// set up layout
- void doLayout(void);
-
- QTabBar *tabs;
- QWidgetStack *stack;
- QBoxLayout *topLayout;
-};
-
-#endif
+++ /dev/null
-/**
- * \file docdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include <qtooltip.h>
-
-#include "docdlg.h"
-
-#include "support/lstrings.h"
-
-#include "layout.h"
-#include "tex-strings.h"
-#include "bufferparams.h"
-
-#include "dlg/helpers.h"
-
-#include "language.h"
-#include "gettext.h"
-#include "debug.h"
-
-using kde_helpers::setSizeHint;
-using kde_helpers::setComboFromStr;
-using std::endl;
-
-DocDialog::DocDialog(FormDocument * form, QWidget * parent, char const * name, bool, WFlags)
- : DocDialogData(parent,name), form_(form)
-{
- setCaption(name);
-
- setUpdatesEnabled(false);
-
- settings = new DocSettingsDialogData(this, "settings");
- extra = new DocExtraDialogData(this, "extra");
- geometry = new DocGeometryDialogData(this, "geometry");
- language = new DocLanguageDialogData(this, "language");
- bullets = new DocBulletsDialogData(this, "bullets");
-
- tabstack->addTabPage(settings, _("&Settings"));
- tabstack->addTabPage(extra, _("&Extra"));
- tabstack->addTabPage(geometry, _("&Geometry"));
- tabstack->addTabPage(language, _("&Language"));
- tabstack->addTabPage(bullets, _("&Bullets"));
-
- // document classes
- for (LyXTextClassList::const_iterator cit = textclasslist.begin();
- cit != textclasslist.end(); ++cit)
- settings->combo_docclass->insertItem((*cit).description().c_str());
- setSizeHint(settings->combo_docclass);
-
- settings->combo_pagestyle->insertItem(_("default"));
- settings->combo_pagestyle->insertItem(_("empty"));
- settings->combo_pagestyle->insertItem(_("plain"));
- settings->combo_pagestyle->insertItem(_("headings"));
- settings->combo_pagestyle->insertItem(_("fancy"));
- setSizeHint(settings->combo_pagestyle);
-
- // available fonts
- for (int i=0; tex_fonts[i][0]; i++)
- settings->combo_font->insertItem(tex_fonts[i]);
- setSizeHint(settings->combo_font);
-
- settings->combo_fontsize->insertItem(_("default"));
- settings->combo_fontsize->insertItem(_("10 point"));
- settings->combo_fontsize->insertItem(_("11 point"));
- settings->combo_fontsize->insertItem(_("12 point"));
- setSizeHint(settings->combo_fontsize);
-
- settings->combo_linespacing->insertItem(_("single"));
- settings->combo_linespacing->insertItem(_("1 1/2 spacing"));
- settings->combo_linespacing->insertItem(_("double"));
- settings->combo_linespacing->insertItem(_("custom"));
- setSizeHint(settings->combo_linespacing);
-
- connect(settings->combo_linespacing, SIGNAL(highlighted(const char *)),
- this, SLOT(linespacingChanged(const char *)));
-
- settings->combo_paraspacing->insertItem(_("small"));
- settings->combo_paraspacing->insertItem(_("medium"));
- settings->combo_paraspacing->insertItem(_("big"));
- settings->combo_paraspacing->insertItem(_("custom"));
- setSizeHint(settings->combo_paraspacing);
-
- connect(settings->combo_paraspacing, SIGNAL(highlighted(const char *)),
- this, SLOT(paraspacingChanged(const char *)));
-
- connect(settings->check_addspace, SIGNAL(toggled(bool)),
- this, SLOT(addspaceChanged(bool)));
-
- extra->combo_first->insertItem(_("Here"));
- extra->combo_first->insertItem(_("Bottom of page"));
- extra->combo_first->insertItem(_("Top of page"));
- extra->combo_first->insertItem(_("Separate page"));
- extra->combo_first->insertItem(_("Not set"));
- extra->combo_second->insertItem(_("Here"));
- extra->combo_second->insertItem(_("Bottom of page"));
- extra->combo_second->insertItem(_("Top of page"));
- extra->combo_second->insertItem(_("Separate page"));
- extra->combo_second->insertItem(_("Not set"));
- extra->combo_third->insertItem(_("Here"));
- extra->combo_third->insertItem(_("Bottom of page"));
- extra->combo_third->insertItem(_("Top of page"));
- extra->combo_third->insertItem(_("Separate page"));
- extra->combo_third->insertItem(_("Not set"));
- extra->combo_fourth->insertItem(_("Here"));
- extra->combo_fourth->insertItem(_("Bottom of page"));
- extra->combo_fourth->insertItem(_("Top of page"));
- extra->combo_fourth->insertItem(_("Separate page"));
- extra->combo_fourth->insertItem(_("Not set"));
-
- // ps driver options
- for (int i = 0; tex_graphics[i][0]; i++)
- extra->combo_psdriver->insertItem(tex_graphics[i]);
- setSizeHint(extra->combo_psdriver);
-
- geometry->combo_papersize->insertItem(_("default"));
- geometry->combo_papersize->insertItem(_("US letter"));
- geometry->combo_papersize->insertItem(_("US legal"));
- geometry->combo_papersize->insertItem(_("US executive"));
- geometry->combo_papersize->insertItem("A3");
- geometry->combo_papersize->insertItem("A4");
- geometry->combo_papersize->insertItem("A5");
- geometry->combo_papersize->insertItem("B3");
- geometry->combo_papersize->insertItem("B4");
- geometry->combo_papersize->insertItem("B5");
- setSizeHint(geometry->combo_papersize);
-
- geometry->combo_margins->insertItem(_("default"));
- geometry->combo_margins->insertItem(_("A4 small margins"));
- geometry->combo_margins->insertItem(_("A4 very small margins"));
- geometry->combo_margins->insertItem(_("A4 very wide margins"));
- setSizeHint(geometry->combo_margins);
-
- for (Languages::const_iterator cit = languages.begin();
- cit != languages.end(); ++cit)
- language->combo_language->insertItem((*cit).second.lang().c_str());
- setSizeHint(language->combo_language);
-
- language->combo_encoding->insertItem(_("default"));
- language->combo_encoding->insertItem(_("auto"));
- language->combo_encoding->insertItem(_("latin1"));
- language->combo_encoding->insertItem(_("latin2"));
- language->combo_encoding->insertItem(_("latin5"));
- language->combo_encoding->insertItem(_("latin9"));
- language->combo_encoding->insertItem(_("koi8-r"));
- language->combo_encoding->insertItem(_("koi8-u"));
- language->combo_encoding->insertItem(_("cp866"));
- language->combo_encoding->insertItem(_("cp1251"));
- language->combo_encoding->insertItem(_("iso88595"));
- setSizeHint(language->combo_encoding);
-
- language->combo_quotes->insertItem(_("`text'"));
- language->combo_quotes->insertItem(_("``text''"));
- language->combo_quotes->insertItem(_("'text'"));
- language->combo_quotes->insertItem(_("''text''"));
- language->combo_quotes->insertItem(_(",text`"));
- language->combo_quotes->insertItem(_(",,text``"));
- language->combo_quotes->insertItem(_(",text'"));
- language->combo_quotes->insertItem(_(",,text''"));
- language->combo_quotes->insertItem(_("<text>"));
- language->combo_quotes->insertItem(_("«text»"));
- language->combo_quotes->insertItem(_(">text<"));
- language->combo_quotes->insertItem(_("»text«"));
- setSizeHint(language->combo_quotes);
-
- /* FIXME: bullets */
-
- QToolTip::add(settings->combo_pagestyle, _("Specify header + footer style etc"));
- QToolTip::add(settings->check_addspace, _("Add spacing between paragraphs rather\n than indenting"));
- QToolTip::add(settings->combo_linespacing, _("Custom line spacing in line units"));
- QToolTip::add(settings->line_extraoptions, _("Additional LaTeX options"));
- QToolTip::add(extra->combo_first, _("Specify preferred order for\nplacing floats"));
- QToolTip::add(extra->combo_second, _("Specify preferred order for\nplacing floats"));
- QToolTip::add(extra->combo_third, _("Specify preferred order for\nplacing floats"));
- QToolTip::add(extra->combo_fourth, _("Specify preferred order for\nplacing floats"));
- QToolTip::add(extra->check_ignore, _("Tell LaTeX to ignore usual rules\n for float placement"));
- QToolTip::add(extra->spin_sectiondepth, _("How far in the (sub)sections are numbered"));
- QToolTip::add(extra->spin_tocdepth, _("How detailed the Table of Contents is"));
- QToolTip::add(extra->combo_psdriver, _("Program to produce PostScript output"));
- QToolTip::add(extra->check_amsmath, _("FIXME please !"));
- QToolTip::add(geometry->length_headheight, _("FIXME please !"));
- QToolTip::add(geometry->length_headsep, _("FIXME please !"));
- QToolTip::add(geometry->length_footskip, _("FIXME please !"));
-
- setUpdatesEnabled(true);
- update();
-}
-
-
-DocDialog::~DocDialog()
-{
-}
-
-
-void DocDialog::closeEvent(QCloseEvent * e)
-{
- form_->close();
- e->accept();
-}
-
-
-void DocDialog::setReadOnly(bool readonly)
-{
- /* FIXME */
- button_cancel->setText(readonly ? _("&Close") : _("&Cancel"));
-}
-
-
-void DocDialog::setFromParams(BufferParams const & params)
-{
- setUpdatesEnabled(false);
-
- if (!setComboFromStr(settings->combo_docclass, textclasslist.DescOfClass(params.textclass)))
- lyxerr[Debug::GUI] << "Couldn't set docclass " << textclasslist.DescOfClass(params.textclass) << endl;
-
- if (!setComboFromStr(settings->combo_font, params.fonts))
- lyxerr[Debug::GUI] << "Couldn't set font " << params.fonts << endl;
-
- LyXTextClass const & tclass = textclasslist.TextClass(params.textclass);
-
- // opt_fontsize is a string like "10|11|12"
- settings->combo_fontsize->setCurrentItem(tokenPos(tclass.opt_fontsize(), '|', params.fontsize) + 1);
-
- // "empty|plain|headings|fancy"
- settings->combo_pagestyle->setCurrentItem(tokenPos(tclass.opt_pagestyle(), '|', params.pagestyle) + 1);
-
- settings->check_addspace->setChecked(params.paragraph_separation == BufferParams::PARSEP_SKIP);
-
- bool const isskip = (params.paragraph_separation == BufferParams::PARSEP_SKIP);
-
- settings->combo_paraspacing->setEnabled(isskip);
- settings->length_paraspacing->setEnabled(isskip);
- settings->length_paraspacingstretch->setEnabled(isskip);
- settings->length_paraspacingshrink->setEnabled(isskip);
-
- int item=0;
-
- switch (params.getDefSkip().kind()) {
- case VSpace::SMALLSKIP: item = 0; break;
- case VSpace::MEDSKIP: item = 1; break;
- case VSpace::BIGSKIP: item = 2; break;
- case VSpace::LENGTH: item = 3; break;
- default:
- lyxerr[Debug::GUI] << "Unknown defskip " << int(params.getDefSkip().kind()) << endl;
- }
-
- settings->combo_paraspacing->setCurrentItem(item);
-
- settings->length_paraspacing->setEnabled(item == 3);
- settings->length_paraspacingstretch->setEnabled(item == 3);
- settings->length_paraspacingshrink->setEnabled(item == 3);
-
- if (item == 3) {
- LyXGlueLength const len = params.getDefSkip().length();
- settings->length_paraspacing->setValue(len.value());
- settings->length_paraspacing->setUnits(len.unit());
- settings->length_paraspacingstretch->setValue(len.plusValue());
- settings->length_paraspacingstretch->setUnits(len.plusUnit());
- settings->length_paraspacingshrink->setValue(len.minusValue());
- settings->length_paraspacingshrink->setUnits(len.minusUnit());
- lyxerr[Debug::GUI] << params.getDefSkip().asLyXCommand() << endl;;
- } else {
- settings->length_paraspacing->setFromLengthStr("0cm");
- settings->length_paraspacingstretch->setFromLengthStr("0cm");
- settings->length_paraspacingshrink->setFromLengthStr("0cm");
- }
-
- settings->check_sides->setChecked(params.sides == LyXTextClass::TwoSides);
- settings->check_columns->setChecked(params.columns == 2);
-
- switch (params.spacing.getSpace()) {
- case Spacing::Default:
- case Spacing::Single: item = 0; break;
- case Spacing::Onehalf: item = 1; break;
- case Spacing::Double: item = 2; break;
- case Spacing::Other: item = 3; break;
- default:
- lyxerr[Debug::GUI] << "Unknown line spacing " << int(params.spacing.getSpace()) << endl;
- }
-
- settings->combo_linespacing->setCurrentItem(item);
- settings->line_linespacing->setEnabled(item == 3);
-
- if (item == 3)
- settings->line_linespacing->setText(tostr(params.spacing.getValue()).c_str());
- else
- settings->line_linespacing->setText("");
-
- if (params.options.empty())
- settings->line_extraoptions->setText("");
- else
- settings->line_extraoptions->setText(params.options.c_str());
-
- // geometry page
-
- geometry->combo_papersize->setCurrentItem(params.papersize2);
-
- geometry->combo_margins->setCurrentItem(params.paperpackage);
-
- geometry->radio_portrait->setChecked(params.orientation == BufferParams::ORIENTATION_PORTRAIT);
- geometry->radio_landscape->setChecked(params.orientation != BufferParams::ORIENTATION_PORTRAIT);
-
- geometry->length_width->setFromLengthStr(params.paperwidth);
- geometry->length_height->setFromLengthStr(params.paperheight);
- geometry->length_left->setFromLengthStr(params.leftmargin);
- geometry->length_right->setFromLengthStr(params.rightmargin);
- geometry->length_top->setFromLengthStr(params.topmargin);
- geometry->length_bottom->setFromLengthStr(params.bottommargin);
- geometry->length_headheight->setFromLengthStr(params.headheight);
- geometry->length_headsep->setFromLengthStr(params.headsep);
- geometry->length_footskip->setFromLengthStr(params.footskip);
-
- // language page
-
- if (!setComboFromStr(language->combo_language, params.language->lang()))
- lyxerr[Debug::GUI] << "Couldn't set language " << params.language->lang() << endl;
-
- if (!setComboFromStr(language->combo_encoding, params.inputenc))
- lyxerr[Debug::GUI] << "Couldn't set encoding " << params.inputenc << endl;
-
- switch (params.quotes_language) {
- case InsetQuotes::EnglishQ: item = 0; break;
- case InsetQuotes::SwedishQ: item = 2; break;
- case InsetQuotes::GermanQ: item = 4; break;
- case InsetQuotes::PolishQ: item = 6; break;
- case InsetQuotes::FrenchQ: item = 8; break;
- case InsetQuotes::DanishQ: item = 10; break;
- default:
- lyxerr[Debug::GUI] << "Unknown quote style " << int(params.quotes_language) << endl;
- }
-
- if (params.quotes_times == InsetQuotes::DoubleQ)
- item++;
-
- language->combo_quotes->setCurrentItem(item);
-
- // extra page
-
- if (!setComboFromStr(extra->combo_psdriver, params.graphicsDriver))
- lyxerr[Debug::GUI] << "Couldn't set psdriver " << params.graphicsDriver << endl;
-
- extra->check_amsmath->setChecked(params.use_amsmath);
- extra->spin_sectiondepth->setValue(params.secnumdepth);
- extra->spin_tocdepth->setValue(params.tocdepth);
-
- string const place = params.float_placement;
- int count = 0;
- QComboBox * box;
-
- extra->check_ignore->setChecked(false);
- setComboFromStr(extra->combo_first, _("Not set"));
- setComboFromStr(extra->combo_second, _("Not set"));
- setComboFromStr(extra->combo_third, _("Not set"));
- setComboFromStr(extra->combo_fourth, _("Not set"));
-
- for (string::const_iterator iter = place.begin(); iter != place.end(); ++count, ++iter) {
- switch (count) {
- case 0: box = extra->combo_first; break;
- case 1: box = extra->combo_second; break;
- case 2: box = extra->combo_third; break;
- default: box = extra->combo_fourth; break;
- };
-
- if (*iter == '!') {
- extra->check_ignore->setChecked(true);
- continue;
- }
-
- switch (*iter) {
- case 'h': setComboFromStr(box, _("Here")); break;
- case 'b': setComboFromStr(box, _("Bottom of page")); break;
- case 't': setComboFromStr(box, _("Top of page")); break;
- case 'p': setComboFromStr(box, _("Separate page")); break;
- default:
- lyxerr[Debug::GUI] << "Unknown float placement \'" << *iter << endl;
- }
- }
-
- /* FIXME: bullets ! */
-
- setUpdatesEnabled(true);
- update();
-}
-
-
-bool DocDialog::updateParams(BufferParams & params)
-{
- bool redo = false;
-
- params.fonts = string(settings->combo_font->currentText());
- LyXTextClass const & tclass = textclasslist.TextClass(params.textclass);
- params.fontsize = token(tclass.opt_fontsize(), '|', settings->combo_fontsize->currentItem() - 1);
- params.pagestyle = token(tclass.opt_pagestyle(), '|', settings->combo_pagestyle->currentItem() - 1);
-
- // set and update class
-
- unsigned int const new_class = settings->combo_docclass->currentItem();
-
- if (new_class != params.textclass) {
- if (!form_->changeClass(params, new_class)) {
- // FIXME: error msg
- // restore old class
- if (!setComboFromStr(settings->combo_docclass, textclasslist.DescOfClass(params.textclass)))
- lyxerr[Debug::GUI] << "Couldn't set docclass " << textclasslist.DescOfClass(params.textclass) << endl;
- } else
- redo = true;
- }
-
- BufferParams::PARSEP tmpsep = params.paragraph_separation;
-
- (settings->check_addspace->isChecked())
- ? params.paragraph_separation = BufferParams::PARSEP_SKIP
- : params.paragraph_separation = BufferParams::PARSEP_INDENT;
-
- redo = (tmpsep != params.paragraph_separation) || redo;
-
- // the skip spacing
-
- VSpace tmpskip;
-
- switch (settings->combo_paraspacing->currentItem()) {
- case 0: tmpskip = VSpace(VSpace::SMALLSKIP); break;
- case 1: tmpskip = VSpace(VSpace::MEDSKIP); break;
- case 2: tmpskip = VSpace(VSpace::BIGSKIP); break;
- default:
- lyxerr[Debug::GUI] << "Unknown skip spacing " <<
- settings->combo_paraspacing->currentItem() << endl;
- break;
- case 3:
- string const val = settings->length_paraspacing->getLengthStr()
- + "+" + settings->length_paraspacingstretch->getLengthStr()
- + "-" + settings->length_paraspacingshrink->getLengthStr();
- lyxerr[Debug::GUI] << "Read para spacing of \"" << val << "\"" << endl;
- LyXGlueLength length(0.0, LyXLength::PT);
- isValidGlueLength(val, &length);
- tmpskip = VSpace(length);
- break;
- }
-
- if (!(tmpskip == params.getDefSkip())) {
- redo = true;
- params.setDefSkip(tmpskip);
- }
-
- // columns and sides
-
- (settings->check_sides->isChecked())
- ? params.sides = LyXTextClass::TwoSides
- : params.sides = LyXTextClass::OneSide;
-
- (settings->check_columns->isChecked())
- ? params.columns = 2
- : params.columns = 1;
-
- // line spacing
-
- Spacing tmpspacing = params.spacing;
-
- switch (settings->combo_linespacing->currentItem()) {
- case 0: params.spacing.set(Spacing::Single); break;
- case 1: params.spacing.set(Spacing::Onehalf); break;
- case 2: params.spacing.set(Spacing::Double); break;
- case 3:
- params.spacing.set(Spacing::Other, settings->line_linespacing->text());
- break;
- default:
- lyxerr[Debug::GUI] << "Unknown line spacing " <<
- settings->combo_linespacing->currentItem();
- }
-
- if (tmpspacing != params.spacing)
- redo = true;
-
- // extra options
-
- params.options = settings->line_extraoptions->text();
-
-
- // paper package and margin package
- params.papersize2 = static_cast<char>(geometry->combo_papersize->currentItem());
- params.paperpackage = static_cast<char>(geometry->combo_margins->currentItem());
- if (geometry->radio_landscape->isChecked())
- params.orientation = BufferParams::ORIENTATION_LANDSCAPE;
- else
- params.orientation = BufferParams::ORIENTATION_PORTRAIT;
-
- params.paperwidth = geometry->length_width->getLengthStr();
- params.paperheight = geometry->length_height->getLengthStr();
- params.leftmargin = geometry->length_left->getLengthStr();
- params.rightmargin = geometry->length_right->getLengthStr();
- params.topmargin = geometry->length_top->getLengthStr();
- params.bottommargin = geometry->length_bottom->getLengthStr();
- params.headheight = geometry->length_headheight->getLengthStr();
- params.headsep = geometry->length_headsep->getLengthStr();
- params.footskip = geometry->length_footskip->getLengthStr();
-
- /* FIXME: is geometry required for headheight,sep,footskip ? */
- params.use_geometry =
- (params.paperwidth != "" ||
- params.paperheight != "" ||
- params.leftmargin != "" ||
- params.rightmargin != "" ||
- params.topmargin != "" ||
- params.bottommargin != "");
-
- // language dialog
-
- InsetQuotes::quote_language lga = InsetQuotes::EnglishQ;
-
- switch (language->combo_quotes->currentItem()) {
- case 0: case 2: case 4: case 6: case 8: case 10:
- params.quotes_times = InsetQuotes::SingleQ;
- break;
- default:
- params.quotes_times = InsetQuotes::DoubleQ;
- }
-
- switch (language->combo_quotes->currentItem()) {
- case 0: case 1: lga = InsetQuotes::EnglishQ; break;
- case 2: case 3: lga = InsetQuotes::SwedishQ; break;
- case 4: case 5: lga = InsetQuotes::GermanQ; break;
- case 6: case 7: lga = InsetQuotes::PolishQ; break;
- case 8: case 9: lga = InsetQuotes::FrenchQ; break;
- case 10: case 11: lga = InsetQuotes::DanishQ; break;
- default:
- lyxerr[Debug::GUI] << "unknown quotes style" <<
- language->combo_quotes->currentItem() << endl;
- }
-
- params.quotes_language = lga;
-
- /* wow, tongue twister */
- Language const * old_language = params.language;
- Language const * new_language = languages.getLanguage(language->combo_language->currentText());
-
- /* FIXME */
- if (old_language != new_language
- && old_language->RightToLeft() == new_language->RightToLeft()
- /*&& !lv_->buffer()->isMultiLingual()*/) {
- //lv_->buffer()->ChangeLanguage(old_language, new_language);
- }
-
- redo = (old_language != new_language) || redo;
- params.language = new_language;
-
- params.inputenc = language->combo_encoding->currentText();
-
- // extra dialog
-
- params.graphicsDriver = extra->combo_psdriver->currentText();
- params.use_amsmath = extra->check_amsmath->isChecked();
-
- if (extra->spin_sectiondepth->value() != params.secnumdepth) {
- redo = true;
- params.secnumdepth = extra->spin_sectiondepth->value();
- }
-
- params.tocdepth = extra->spin_tocdepth->value();
-
- string place;
-
- place += placementString(extra->combo_first);
- place += placementString(extra->combo_second);
- place += placementString(extra->combo_third);
- place += placementString(extra->combo_fourth);
- params.float_placement = place;
-
- /* FIXME: bullets */
-
- return redo;
-}
-
-string DocDialog::placementString(QComboBox * box) const
-{
- if (!compare(box->currentText(), _("Here")))
- return "h";
- if (!compare(box->currentText(), _("Bottom of page")))
- return "b";
- if (!compare(box->currentText(), _("Top of page")))
- return "t";
- if (!compare(box->currentText(), _("Separate page")))
- return "p";
- return "";
-}
-
-void DocDialog::linespacingChanged(const char * sel)
-{
- bool const custom = !compare(sel, _("custom"));
-
- settings->line_linespacing->setEnabled(custom);
-}
-
-
-void DocDialog::paraspacingChanged(const char * sel)
-{
- bool const custom = !compare(sel, _("custom"));
- settings->length_paraspacing->setEnabled(custom);
- settings->length_paraspacingstretch->setEnabled(custom);
- settings->length_paraspacingshrink->setEnabled(custom);
-}
-
-void DocDialog::addspaceChanged(bool on)
-{
- settings->combo_paraspacing->setEnabled(on);
- on = (on && !compare(settings->combo_paraspacing->currentText(),
- _("custom")));
- settings->length_paraspacing->setEnabled(on);
- settings->length_paraspacingstretch->setEnabled(on);
- settings->length_paraspacingshrink->setEnabled(on);
-}
+++ /dev/null
-/**
- * \file docdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef DOCDLG_H
-#define DOCDLG_H
-
-#include <config.h>
-#include <gettext.h>
-
-#include "dlg/docsettingsdlgdata.h"
-#include "dlg/docgeometrydlgdata.h"
-#include "dlg/doclanguagedlgdata.h"
-#include "dlg/docextradlgdata.h"
-#include "dlg/docbulletsdlgdata.h"
-#include "dlg/docdlgdata.h"
-
-#include "debug.h"
-
-class BufferParams;
-
-// to connect apply() and close()
-#include "FormDocument.h"
-
-class DocDialog : public DocDialogData {
- Q_OBJECT
-public:
- DocDialog(FormDocument * form, QWidget * parent=0, char const * name=0,
- bool modal=false, WFlags f=0);
- ~DocDialog();
-
- /**
- * \fn setReadOnly
- * \brief set widgets read only status appropriately
- */
- void setReadOnly(bool readonly);
-
- /**
- * \fn setFromParams
- * \brief set dialog widgets from buffer parameters
- */
- void setFromParams(BufferParams const & params);
-
- /**
- * \fn updateParams
- * \brief update the given params object based on the dialog widgets
- *
- * This will update the params object. It returns true if a redo
- * of the related buffer is necessary
- */
- bool updateParams(BufferParams & params) const;
-
- /**
- * \fn updateParams
- * \brief update the given params object based on the dialog widgets
- *
- * This will update the params object. It returns true if a redo
- * of the related buffer is necessary
- */
- bool updateParams(BufferParams & params);
-
-protected:
- void closeEvent(QCloseEvent *e);
-
-private:
- /// for generating the float placement string
- string DocDialog::placementString(QComboBox * box) const;
-
- /// the form
- FormDocument * form_;
-
- /// the settings page
- DocSettingsDialogData * settings;
- /// the geometry page
- DocGeometryDialogData * geometry;
- /// the language page
- DocLanguageDialogData * language;
- /// the extra page
- DocExtraDialogData * extra;
- /// the bullets page
- DocBulletsDialogData * bullets;
-
-private slots:
-
- void paraspacingChanged(const char * sel);
-
- void linespacingChanged(const char * sel);
-
- void addspaceChanged(bool on);
-
- void ok_adaptor(void) {
- apply_adaptor();
- form_->close();
- hide();
- }
-
- void apply_adaptor(void) {
- form_->apply();
- }
-
- void restore_adaptor(void) {
- // this will reset to known values
- form_->update();
- }
-
- void cancel_adaptor(void) {
- form_->close();
- hide();
- }
-
-};
-
-#endif // DOCDLG_H
+++ /dev/null
-/**
- * \file indexdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include <gettext.h>
-
-#include "FormIndex.h"
-#include "indexdlg.h"
-
-#include <qtooltip.h>
-
-IndexDialog::IndexDialog(FormIndex * f, QWidget * p, char const * name)
- : IndexDialogData(p, name), form_(f)
-{
- setCaption(name);
-
- // tooltips
-
- QToolTip::add(label_index,_("Index entry"));
- QToolTip::add(line_index,_("Index entry"));
-
- setMinimumSize(200, 65);
- setMaximumSize(32767, 65);
-}
-
-
-void IndexDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file indexdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef INDEXDIALOG_H
-#define INDEXDIALOG_H
-
-#include "FormIndex.h"
-#include "dlg/indexdlgdata.h"
-
-class IndexDialog : public IndexDialogData
-{
-Q_OBJECT
-
-public:
- IndexDialog (FormIndex * form, QWidget * parent = NULL, char const * name = NULL);
-
- void setIndexText(char const * str) { line_index->setText(str); }
- char const * getIndexText() { return line_index->text(); }
-
-protected slots:
- virtual void clickedOK() { form_->OKButton(); };
- virtual void clickedCancel() { form_->CancelButton(); };
- virtual void closeEvent(QCloseEvent * e);
-
-private:
- FormIndex * form_;
-
-};
-#endif // INDEXDIALOG_H
+++ /dev/null
-/**
- * \file kdeBC.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author Angus Leeming, <a.leeming@ic.ac.uk>
- */
-
-#include <config.h>
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include "kdeBC.h"
-#include <qpushbutton.h>
-
-kdeBC::kdeBC(string const & cancel, string const & close)
- : GuiBC<QPushButton, QWidget>(cancel, close)
-{}
-
-
-void kdeBC::setButtonEnabled(QPushButton * btn, bool enabled)
-{
- btn->setEnabled(enabled);
-}
-
-
-void kdeBC::setWidgetEnabled(QWidget * obj, bool enabled)
-{
- obj->setEnabled(enabled);
-}
-
-
-void kdeBC::setButtonLabel(QPushButton * btn, string const & label)
-{
- btn->setText(label.c_str());
-}
+++ /dev/null
-/**
- * \file kdeBC.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author Angus Leeming, <a.leeming@ic.ac.uk>
- */
-
-#ifndef KDEBC_H
-#define KDEBC_H
-
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "ButtonControllerBase.h"
-#include "ButtonController.h"
-
-class QWidget;
-class QPushButton;
-
-class kdeBC : public GuiBC<QPushButton, QWidget>
-{
-public:
- ///
- kdeBC(string const & cancel, string const & close);
-
-private:
- /// enable or disable button
- void setButtonEnabled(QPushButton * btn, bool enabled);
-
- /// enable or disable button
- void setWidgetEnabled(QWidget * obj, bool enabled);
-
- /// set the label on the button
- void setButtonLabel(QPushButton * btn, string const & label);
-};
-
-#endif // KDEBC_H
+++ /dev/null
-/**
- * \file logdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include <gettext.h>
-
-#include "ControlLog.h"
-#include "FormLog.h"
-#include "logdlg.h"
-
-LogDialog::LogDialog (FormLog * f, QWidget * parent, char const * name)
- : LogDialogData(parent, name), form_(f)
-{
- line_viewer->setMinimumWidth(50);
- line_viewer->setMinimumHeight(50);
-}
-
-
-void LogDialog::setLogText(string const & text)
-{
- setUpdatesEnabled(false);
- line_viewer->setText(text.c_str());
- setUpdatesEnabled(true);
- update();
-}
-
-void LogDialog::closePressed()
-{
- form_->CancelButton();
-}
-
-
-void LogDialog::updatePressed()
-{
- // FIXME: hmm
- //form_->controller().setParams();
-}
-
-
-void LogDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file logdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef LOGDLG_H
-#define LOGDLG_H
-
-#include <config.h>
-#include "support/lstrings.h"
-
-#include "dlg/logdlgdata.h"
-
-class FormLog;
-
-class LogDialog : public LogDialogData
-{
- Q_OBJECT
-
-public:
- LogDialog(FormLog * f, QWidget * parent = NULL, char const * name = NULL);
-
- void setLogText(string const & text);
-
-protected slots:
- virtual void closePressed();
- virtual void updatePressed();
- virtual void closeEvent(QCloseEvent * e);
-
-private:
- FormLog * form_;
-};
-#endif // LOGDLG_H
+++ /dev/null
-Makefile.in
-Makefile
-*.deps
-*.lo
-.libs
-libkdemoc.la
-*moc.C
+++ /dev/null
-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/ \
- -I${top_srcdir}/src/frontends/controllers \
- ${SIGC_CFLAGS} \
- ${FRONTEND_INCLUDES} \
- $(BOOST_INCLUDES)
-
-libkdemoc_la_SOURCES = FileDialog_private_moc.C \
- citationdlg_moc.C \
- copyrightdlg_moc.C \
- docdlg_moc.C \
- indexdlg_moc.C \
- logdlg_moc.C \
- paradlg_moc.C \
- parageneraldlg_moc.C \
- paraextradlg_moc.C \
- printdlg_moc.C \
- refdlg_moc.C \
- tabcreatedlg_moc.C \
- urldlg_moc.C \
- vclogdlg_moc.C
-
-# FIXME
-
-#tocdlg_moc.C \
-
-DISTCLEANFILES = $(libkdemoc_la_SOURCES) *.orig *.rej *~ *.bak core
-
-LIBS=
-ETAGS_ARGS = --lang=c++
-
-FileDialog_private_moc.C: ../FileDialog_private.h
- $(MOC) $< -o $@
-citationdlg_moc.C: ../citationdlg.h
- $(MOC) $< -o $@
-copyrightdlg_moc.C: ../copyrightdlg.h
- $(MOC) $< -o $@
-docdlg_moc.C: ../docdlg.h
- $(MOC) $< -o $@
-indexdlg_moc.C: ../indexdlg.h
- $(MOC) $< -o $@
-logdlg_moc.C: ../logdlg.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 $@
-vclogdlg_moc.C: ../vclogdlg.h
- $(MOC) $< -o $@
+++ /dev/null
-/**
- * \file paradlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include "support/lstrings.h"
-
-#include "dlg/helpers.h"
-#include "dlg/lengthentry.h"
-
-#include "paradlg.h"
-
-#include "gettext.h"
-#include "debug.h"
-
-using kde_helpers::setSizeHint;
-using std::endl;
-
-ParaDialog::ParaDialog(FormParagraph * form, QWidget * parent, char const * name, bool, WFlags)
- : ParaDialogData(parent,name), form_(form)
-{
- setCaption(name);
-
- setUpdatesEnabled(false);
-
- generalpage = new ParaGeneralDialog(this, "generalpage");
- tabstack->addTabPage(generalpage, _("&General"));
-
- setUpdatesEnabled(true);
- update();
-}
-
-
-ParaDialog::~ParaDialog()
-{
-}
-
-
-void ParaDialog::closeEvent(QCloseEvent * e)
-{
- form_->close();
- e->accept();
-}
-
-
-void ParaDialog::setReadOnly(bool readonly)
-{
- /*
- generalpage->combo_justification->setEnabled(!readonly);
- generalpage->check_lineabove->setEnabled(!readonly);
- generalpage->check_linebelow->setEnabled(!readonly);
- generalpage->abovepage->pagebreakabove->setEnabled(!readonly);
- generalpage->belowpage->pagebreakbelow->setEnabled(!readonly);
- generalpage->abovepage->keepabove->setEnabled(!readonly);
- generalpage->belowpage->keepbelow->setEnabled(!readonly);
- generalpage->noindent->setEnabled(!readonly);
- generalpage->abovepage->spaceabove->setEnabled(!readonly);
- generalpage->belowpage->spacebelow->setEnabled(!readonly);
- generalpage->abovepage->spaceabove->setEnabled(!readonly);
- generalpage->belowpage->spacebelow->setEnabled(!readonly);
- generalpage->abovepage->spaceaboveplus->setEnabled(!readonly);
- generalpage->belowpage->spacebelowplus->setEnabled(!readonly);
- generalpage->abovepage->spaceaboveminus->setEnabled(!readonly);
- generalpage->belowpage->spacebelowminus->setEnabled(!readonly);
- generalpage->labelwidth->setEnabled(!readonly);
- extrapage->specialalignment->setEnabled(!readonly);
- extrapage->type->setEnabled(!readonly);
- extrapage->widthvalue->setEnabled(!readonly);
- extrapage->widthvalueunits->setEnabled(!readonly);
- extrapage->hfillbetween->setEnabled(!readonly);
- extrapage->startnewminipage->setEnabled(!readonly);
- extrapage->top->setEnabled(!readonly);
- extrapage->middle->setEnabled(!readonly);
- extrapage->bottom->setEnabled(!readonly);
- ok->setEnabled(!readonly);
- apply->setEnabled(!readonly);
- restore->setEnabled(!readonly);
- cancel->setText(readonly ? _("&Close") : _("&Cancel"));
- */
-}
-
-
-void ParaDialog::setLabelWidth(char const * text)
-{
- // FIXME: should be cleverer here
- if (!compare(_("Senseless with this layout!"), text)) {
- generalpage->line_labelwidth->setText("");
- generalpage->line_labelwidth->setEnabled(false);
- } else {
- generalpage->line_labelwidth->setText(text);
- generalpage->line_labelwidth->setEnabled(true);
- }
-}
-
-
-void ParaDialog::setAlign(int type)
-{
- switch (type) {
- case LYX_ALIGN_RIGHT: type = 3; break;
- case LYX_ALIGN_LEFT: type = 2; break;
- case LYX_ALIGN_CENTER: type = 1; break;
- default: type = 0; break;
- }
-
- generalpage->combo_justification->setCurrentItem(type);
-}
-
-
-void ParaDialog::setChecks(bool labove, bool lbelow, bool pabove, bool pbelow, bool noindent)
-{
- generalpage->check_lineabove->setChecked(labove);
- generalpage->check_linebelow->setChecked(lbelow);
- generalpage->abovepage->check_pagebreakabove->setChecked(pabove);
- generalpage->belowpage->check_pagebreakbelow->setChecked(pbelow);
- generalpage->check_noindent->setChecked(noindent);
-}
-
-
-void ParaDialog::setSpace(VSpace::vspace_kind kindabove, VSpace::vspace_kind kindbelow, bool keepabove, bool keepbelow)
-{
- int item=0;
-
- switch (kindabove) {
- case VSpace::NONE: item = 0; break;
- case VSpace::DEFSKIP: item = 1; break;
- case VSpace::SMALLSKIP: item = 2; break;
- case VSpace::MEDSKIP: item = 3; break;
- case VSpace::BIGSKIP: item = 4; break;
- case VSpace::VFILL: item = 5; break;
- case VSpace::LENGTH: item = 6; break;
- }
- generalpage->abovepage->combo_spaceabove->setCurrentItem(item);
-
- switch (kindbelow) {
- case VSpace::NONE: item = 0; break;
- case VSpace::DEFSKIP: item = 1; break;
- case VSpace::SMALLSKIP: item = 2; break;
- case VSpace::MEDSKIP: item = 3; break;
- case VSpace::BIGSKIP: item = 4; break;
- case VSpace::VFILL: item = 5; break;
- case VSpace::LENGTH: item = 6; break;
- }
- generalpage->belowpage->combo_spacebelow->setCurrentItem(item);
-
- generalpage->abovepage->length_spaceabove->setEnabled(kindabove == VSpace::LENGTH);
- generalpage->abovepage->length_spaceaboveplus->setEnabled(kindabove == VSpace::LENGTH);
- generalpage->abovepage->length_spaceaboveminus->setEnabled(kindabove == VSpace::LENGTH);
- generalpage->belowpage->length_spacebelow->setEnabled(kindbelow == VSpace::LENGTH);
- generalpage->belowpage->length_spacebelowplus->setEnabled(kindbelow == VSpace::LENGTH);
- generalpage->belowpage->length_spacebelowminus->setEnabled(kindbelow == VSpace::LENGTH);
-
- generalpage->abovepage->check_keepabove->setChecked(keepabove);
- generalpage->belowpage->check_keepbelow->setChecked(keepbelow);
-}
-
-
-void ParaDialog::setAboveLength(float val, float plus, float minus,
- LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
-{
- if (vunit == LyXLength::UNIT_NONE) {
- generalpage->abovepage->length_spaceabove->setValue("");
- generalpage->abovepage->length_spaceaboveplus->setValue("");
- generalpage->abovepage->length_spaceaboveminus->setValue("");
- } else {
- generalpage->abovepage->length_spaceabove->setValue(tostr(val));
- generalpage->abovepage->length_spaceaboveplus->setValue(tostr(plus));
- generalpage->abovepage->length_spaceaboveminus->setValue(tostr(minus));
- }
-
- generalpage->abovepage->length_spaceabove->setUnits(vunit);
- generalpage->abovepage->length_spaceaboveplus->setUnits(punit);
- generalpage->abovepage->length_spaceaboveminus->setUnits(munit);
-}
-
-
-void ParaDialog::setBelowLength(float val, float plus, float minus,
- LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
-{
- if (vunit == LyXLength::UNIT_NONE) {
- generalpage->belowpage->length_spacebelow->setValue("");
- generalpage->belowpage->length_spacebelowplus->setValue("");
- generalpage->belowpage->length_spacebelowminus->setValue("");
- } else {
- generalpage->belowpage->length_spacebelow->setValue(tostr(val));
- generalpage->belowpage->length_spacebelowplus->setValue(tostr(plus));
- generalpage->belowpage->length_spacebelowminus->setValue(tostr(minus));
- }
-
- generalpage->belowpage->length_spacebelow->setUnits(vunit);
- generalpage->belowpage->length_spacebelowplus->setUnits(punit);
- generalpage->belowpage->length_spacebelowminus->setUnits(munit);
-}
-
-
-LyXGlueLength ParaDialog::getAboveLength() const
-{
- LyXGlueLength len(
- generalpage->abovepage->length_spaceabove->getValue(),
- generalpage->abovepage->length_spaceabove->getUnits(),
- generalpage->abovepage->length_spaceaboveplus->getValue(),
- generalpage->abovepage->length_spaceaboveplus->getUnits(),
- generalpage->abovepage->length_spaceaboveminus->getValue(),
- generalpage->abovepage->length_spaceaboveminus->getUnits()
- );
-
- return len;
-}
-
-
-LyXGlueLength ParaDialog::getBelowLength() const
-{
- LyXGlueLength len(
- generalpage->belowpage->length_spacebelow->getValue(),
- generalpage->belowpage->length_spacebelow->getUnits(),
- generalpage->belowpage->length_spacebelowplus->getValue(),
- generalpage->belowpage->length_spacebelowplus->getUnits(),
- generalpage->belowpage->length_spacebelowminus->getValue(),
- generalpage->belowpage->length_spacebelowminus->getUnits()
- );
-
- return len;
-}
+++ /dev/null
-/**
- * \file paradlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef PARADLG_H
-#define PARADLG_H
-
-#include <config.h>
-#include <gettext.h>
-
-#include "parageneraldlg.h"
-#include "paraextradlg.h"
-
-#include "vspace.h"
-#include "paragraph.h"
-#include "debug.h"
-
-#include "dlg/paradlgdata.h"
-
-// to connect apply() and close()
-#include "FormParagraph.h"
-
-class ParaDialog : public ParaDialogData {
- Q_OBJECT
-public:
- ParaDialog(FormParagraph * form, QWidget * parent=0, char const * name=0,
- bool modal=false, WFlags f=0);
- ~ParaDialog();
-
- void setReadOnly(bool);
- void setLabelWidth(char const *);
- void setAlign(int);
- void setChecks(bool, bool, bool, bool, bool);
- void setSpace(VSpace::vspace_kind, VSpace::vspace_kind, bool, bool);
- void setAboveLength(float, float, float, LyXGlueLength::UNIT, LyXGlueLength::UNIT, LyXGlueLength::UNIT);
- void setBelowLength(float, float, float, LyXGlueLength::UNIT, LyXGlueLength::UNIT, LyXGlueLength::UNIT);
-
- char const * getLabelWidth() const {
- return generalpage->line_labelwidth->text();
- }
-
- LyXAlignment getAlign() const {
- switch (generalpage->combo_justification->currentItem()) {
- case 0: return LYX_ALIGN_BLOCK;
- case 1: return LYX_ALIGN_CENTER;
- case 2: return LYX_ALIGN_LEFT;
- case 3: return LYX_ALIGN_RIGHT;
- }
- return LYX_ALIGN_BLOCK;
- }
-
- bool getAboveKeep() const {
- return generalpage->abovepage->check_keepabove->isChecked();
- }
-
- bool getBelowKeep() const {
- return generalpage->belowpage->check_keepbelow->isChecked();
- }
-
- bool getLineAbove() const {
- return generalpage->check_lineabove->isChecked();
- }
-
- bool getLineBelow() const {
- return generalpage->check_linebelow->isChecked();
- }
-
- bool getPagebreakAbove() const {
- return generalpage->abovepage->check_pagebreakabove->isChecked();
- }
-
- bool getPagebreakBelow() const {
- return generalpage->belowpage->check_pagebreakbelow->isChecked();
- }
-
- bool getNoIndent() const {
- return generalpage->check_noindent->isChecked();
- }
-
- VSpace::vspace_kind getSpaceAboveKind() const {
- return getSpaceKind(generalpage->abovepage->combo_spaceabove->currentItem());
- }
-
- VSpace::vspace_kind getSpaceBelowKind() const {
- return getSpaceKind(generalpage->belowpage->combo_spacebelow->currentItem());
- }
-
- LyXGlueLength getAboveLength() const;
-
- LyXGlueLength getBelowLength() const;
-protected:
- void closeEvent(QCloseEvent * e);
-
-private:
- FormParagraph * form_;
-
- /// the general tab page
- ParaGeneralDialog * generalpage;
-
- VSpace::vspace_kind getSpaceKind(int val) const {
- switch (val) {
- case 0: return VSpace::NONE;
- case 1: return VSpace::DEFSKIP;
- case 2: return VSpace::SMALLSKIP;
- case 3: return VSpace::MEDSKIP;
- case 4: return VSpace::BIGSKIP;
- case 5: return VSpace::VFILL;
- case 6: return VSpace::LENGTH;
- default:
- lyxerr[Debug::GUI] << "Unknown kind combo entry " << val << std::endl;
- }
- return VSpace::NONE;
- }
-
-private slots:
-
- void ok_adaptor(void) {
- apply_adaptor();
- form_->close();
- hide();
- }
-
- void apply_adaptor(void) {
- form_->apply();
- }
-
- void restore_adaptor(void) {
- // this will reset to known values
- form_->update();
- }
-
- void cancel_adaptor(void) {
- form_->close();
- hide();
- }
-
-};
-
-#endif // PARADLG_H
+++ /dev/null
-/**
- * \file paraextradlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include "paraextradlg.h"
-
-#include "dlg/helpers.h"
-
-#include <qtooltip.h>
-
-#include <gettext.h>
-
-using kde_helpers::setSizeHint;
-
-ParaExtraDialog::ParaExtraDialog (QWidget * parent, char const * name)
- : ParaExtraDialogData(parent, name)
-{
- combo_type->insertItem(_("Normal"));
- combo_type->insertItem(_("Indented paragraph"));
- combo_type->insertItem(_("Minipage"));
- combo_type->insertItem(_("Wrap text around floats (floatflt)"));
- setSizeHint(combo_type);
-
- combo_widthvalueunits->insertItem(_("Centimetres"));
- combo_widthvalueunits->insertItem(_("Inches"));
- combo_widthvalueunits->insertItem(_("Points (1/72.27 inch)"));
- combo_widthvalueunits->insertItem(_("Millimetres"));
- combo_widthvalueunits->insertItem(_("Picas"));
- combo_widthvalueunits->insertItem(_("ex units"));
- combo_widthvalueunits->insertItem(_("em units"));
- combo_widthvalueunits->insertItem(_("Scaled points (1/65536 pt)"));
- combo_widthvalueunits->insertItem(_("Big/PS points (1/72 inch)"));
- combo_widthvalueunits->insertItem(_("Didot points"));
- combo_widthvalueunits->insertItem(_("Cicero points"));
- combo_widthvalueunits->insertItem(_("Percent of column"));
- setSizeHint(combo_widthvalueunits);
-
- QToolTip::add(check_hfillbetween, _("FIXME please !"));
- QToolTip::add(check_startnewminipage, _("FIXME please !"));
-}
-
-
-ParaExtraDialog::~ParaExtraDialog()
-{
-}
-
-
-void ParaExtraDialog::typeHighlighted(int val)
-{
- specialalignment->setEnabled(val == 2);
- radio_top->setEnabled(val == 2);
- radio_middle->setEnabled(val == 2);
- radio_bottom->setEnabled(val == 2);
- line_widthvalue->setEnabled(val != 0);
- combo_widthvalueunits->setEnabled(val != 0);
- check_hfillbetween->setEnabled(val == 2);
- check_startnewminipage->setEnabled(val == 2);
-}
+++ /dev/null
-/**
- * \file paraextradlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef PARAEXTRADIALOG_H
-#define PARAEXTRADIALOG_H
-
-#include "dlg/paraextradlgdata.h"
-
-class ParaDialog;
-
-class ParaExtraDialog : public ParaExtraDialogData
-{
- Q_OBJECT
-
-public:
- ParaExtraDialog (QWidget * parent = NULL, char const * name = NULL);
-
- virtual ~ParaExtraDialog();
-
- friend class ParaDialog;
-
-protected slots:
-
- void typeHighlighted(int);
-
-};
-#endif // PARAEXTRADIALOG_H
+++ /dev/null
-/**
- * \file parageneraldlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include "parageneraldlg.h"
-
-#include "dlg/helpers.h"
-
-#include <gettext.h>
-
-#include <qtooltip.h>
-
-using kde_helpers::setSizeHint;
-
-ParaGeneralDialog::ParaGeneralDialog (QWidget * parent, char const * name)
- : ParaGeneralDialogData(parent, name)
-{
-
- abovepage = new ParaAboveDialogData(this, "abovepage");
- belowpage = new ParaBelowDialogData(this, "belowpage");
-
- tabstack->addTabPage(abovepage, _("&Spacing Above"));
- tabstack->addTabPage(belowpage, _("Spacing &Below"));
-
- connect(abovepage->combo_spaceabove, SIGNAL(highlighted(int)), this, SLOT(spaceaboveHighlighted(int)));
- connect(belowpage->combo_spacebelow, SIGNAL(highlighted(int)), this, SLOT(spacebelowHighlighted(int)));
-
- abovepage->combo_spaceabove->insertItem(_("None"));
- abovepage->combo_spaceabove->insertItem(_("Defskip"));
- abovepage->combo_spaceabove->insertItem(_("Small skip"));
- abovepage->combo_spaceabove->insertItem(_("Medium skip"));
- abovepage->combo_spaceabove->insertItem(_("Big skip"));
- abovepage->combo_spaceabove->insertItem(_("VFill"));
- abovepage->combo_spaceabove->insertItem(_("Custom"));
- setSizeHint(abovepage->combo_spaceabove);
-
- belowpage->combo_spacebelow->insertItem(_("None"));
- belowpage->combo_spacebelow->insertItem(_("Defskip"));
- belowpage->combo_spacebelow->insertItem(_("Small skip"));
- belowpage->combo_spacebelow->insertItem(_("Medium skip"));
- belowpage->combo_spacebelow->insertItem(_("Big skip"));
- belowpage->combo_spacebelow->insertItem(_("VFill"));
- belowpage->combo_spacebelow->insertItem(_("Custom"));
- setSizeHint(belowpage->combo_spacebelow);
-
- combo_justification->insertItem(_("Block"));
- combo_justification->insertItem(_("Centered"));
- combo_justification->insertItem(_("Left"));
- combo_justification->insertItem(_("Right"));
- setSizeHint(combo_justification);
-
- QToolTip::add(combo_justification, _("Alignment of current paragraph"));
- QToolTip::add(check_noindent, _("No indent on first line of paragraph"));
- QToolTip::add(line_labelwidth, _("FIXME please !"));
-
- QToolTip::add(abovepage->check_pagebreakabove, _("New page above this paragraph"));
- QToolTip::add(abovepage->check_keepabove, _("Don't hug margin if at top of page"));
- QToolTip::add(abovepage->length_spaceabove, _("Size of extra space above paragraph"));
- QToolTip::add(abovepage->length_spaceaboveplus, _("Maximum extra space that can be added"));
- QToolTip::add(abovepage->length_spaceaboveminus, _("Minimum space required"));
-
- QToolTip::add(belowpage->check_pagebreakbelow, _("New page below this paragraph"));
- QToolTip::add(belowpage->check_keepbelow, _("Don't hug margin if at bottom of page"));
- QToolTip::add(belowpage->length_spacebelow, _("Size of extra space below paragraph"));
- QToolTip::add(belowpage->length_spacebelowplus, _("Maximum extra space that can be added"));
- QToolTip::add(belowpage->length_spacebelowminus, _("Minimum space required"));
-}
-
-
-ParaGeneralDialog::~ParaGeneralDialog()
-{
-}
-
-
-void ParaGeneralDialog::spaceaboveHighlighted(int val)
-{
- abovepage->length_spaceabove->setEnabled(val == 6);
- abovepage->length_spaceaboveplus->setEnabled(val == 6);
- abovepage->length_spaceaboveminus->setEnabled(val == 6);
-}
-
-
-void ParaGeneralDialog::spacebelowHighlighted(int val)
-{
- belowpage->length_spacebelow->setEnabled(val == 6);
- belowpage->length_spacebelowplus->setEnabled(val == 6);
- belowpage->length_spacebelowminus->setEnabled(val == 6);
-}
+++ /dev/null
-/**
- * \file parageneraldlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef PARAGENERALDIALOG_H
-#define PARAGENERALDIALOG_H
-
-#include "dlg/parageneraldlgdata.h"
-#include "dlg/paraabovedlgdata.h"
-#include "dlg/parabelowdlgdata.h"
-
-class ParaDialog;
-
-class ParaGeneralDialog : public ParaGeneralDialogData
-{
- Q_OBJECT
-
-public:
-
- ParaGeneralDialog(QWidget * parent = NULL, char const * name = NULL);
-
- virtual ~ParaGeneralDialog();
-
- friend class ParaDialog;
-
-protected slots:
-
- void spaceaboveHighlighted(int);
- void spacebelowHighlighted(int);
-
-private:
- ParaAboveDialogData * abovepage;
- ParaBelowDialogData * belowpage;
-};
-
-#endif // PARAGENERALDIALOG_H
+++ /dev/null
-/**
- * \file printdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include <gettext.h>
-#include <cstring>
-
-#include "support/lstrings.h"
-#include "support/filetools.h"
-
-#include "printdlg.h"
-#include "dlg/printdlgdata.h"
-
-#include <qtooltip.h>
-#include <kfiledialog.h>
-
-#define Inherited PrintDialogData
-
-PrintDialog::PrintDialog(FormPrint * f, QWidget * parent, char const * name)
- : PrintDialogData(parent, name), form_(f)
-{
- setCaption(name);
- QToolTip::add(radio_allpages, _("Print every page"));
- QToolTip::add(radio_oddpages, _("Print odd-numbered pages only"));
- QToolTip::add(radio_evenpages, _("Print even-numbered pages only"));
- QToolTip::add(line_from, _("Print from page number"));
- QToolTip::add(line_to, _("Print to page number"));
- QToolTip::add(check_reverse, _("Print in reverse order (last page first)"));
- QToolTip::add(line_count, _("Number of copies to print"));
- QToolTip::add(check_sort, _("Collate multiple copies"));
- QToolTip::add(line_printername, _("Printer name"));
- QToolTip::add(line_filename, _("Output filename (PostScript)"));
- QToolTip::add(button_browse, _("Select output filename"));
-}
-
-
-PrintDialog::~PrintDialog()
-{
-}
-
-
-void PrintDialog::clickedBrowse()
-{
- // FIXME: move into utility class later, accept URLs etc.
-
- KFileDialog filedlg(OnlyPath(line_filename->text()).c_str(), "*.ps|PostScript Files (*.ps)", this, 0, true, false);
-
- if (filedlg.exec() == QDialog::Accepted)
- line_filename->setText(filedlg.selectedFile().data());
-}
-
-
-void PrintDialog::changedCount(char const * text)
-{
- if (compare("", text) && strToInt(text) == 0) {
- line_count->setText("1");
- return;
- }
-
- check_sort->setEnabled(strToInt(text) > 1);
-}
-
-
-void PrintDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file printdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef PRINTDLG_H
-#define PRINTDLG_H
-
-
-#include "FormPrint.h"
-
-#include "dlg/printdlgdata.h"
-
-#include "support/lstrings.h"
-#include "lyxrc.h"
-#include "PrinterParams.h"
-
-class PrintDialog : public PrintDialogData
-{
- Q_OBJECT
-public:
-
- PrintDialog(FormPrint * f, QWidget * parent = NULL, char const * name = NULL);
- virtual ~PrintDialog();
-
- char const * getFrom() {
- return line_from->text();
- }
-
- char const * getTo() {
- return line_to->text();
- }
-
- PrinterParams::Target getTarget() {
- if (radio_toprinter->isChecked())
- return PrinterParams::PRINTER;
- else
- return PrinterParams::FILE;
- }
-
- char const * getPrinter() {
- return line_printername->text();
- }
-
- char const * getFile() {
- return line_filename->text();
- }
-
- PrinterParams::WhichPages getWhichPages() {
- if (radio_oddpages->isChecked())
- return PrinterParams::ODD;
- else if (radio_evenpages->isChecked())
- return PrinterParams::EVEN;
- else
- return PrinterParams::ALL;
- }
-
- bool getReverse() {
- return check_reverse->isChecked();
- }
-
- bool getSort() {
- return check_sort->isChecked();
- }
-
- char const * getCount() {
- return line_count->text();
- }
-
- void setTarget(PrinterParams::Target t) {
- radio_toprinter->setChecked(t == PrinterParams::PRINTER);
- radio_tofile->setChecked(t != PrinterParams::PRINTER);
- }
-
- void setPrinter(char const * name) {
- line_printername->setText(name);
- }
-
- void setFile(char const * name) {
- line_filename->setText(name);
- }
-
- void setWhichPages(PrinterParams::WhichPages wp) {
- switch (wp) {
- case PrinterParams::ALL:
- radio_allpages->setChecked(true);
- break;
- case PrinterParams::EVEN:
- radio_evenpages->setChecked(true);
- break;
- case PrinterParams::ODD:
- radio_oddpages->setChecked(true);
- break;
- }
- }
-
- void setReverse(bool on) {
- check_reverse->setChecked(on);
- }
-
- void setSort(bool on) {
- check_sort->setChecked(on);
- }
-
- void setCount(int num) {
- line_count->setText(tostr(num).c_str());
- check_sort->setEnabled(num > 1);
- }
-
- void setFrom(char const * text) {
- line_from->setText(text);
- }
-
- void setTo(char const * text) {
- line_to->setText(text);
- }
-
-protected slots:
-
- void clickedCancel() {
- form_->CancelButton();
- }
-
- void clickedPrint() {
- form_->OKButton();
- }
-
- virtual void closeEvent(QCloseEvent * e);
-
- /// open up the browser to select ps file
- void clickedBrowse();
-
- /// validate and change collate status
- void changedCount(char const * text);
-
-private:
- FormPrint * form_;
-};
-#endif // PRINTDLG_H
+++ /dev/null
-/**
- * \file refdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-
-#include "refdlg.h"
-#include "dlg/helpers.h"
-#include "insets/insetref.h"
-
-using kde_helpers::setSizeHint;
-
-RefDialog::RefDialog(FormRef * form, QWidget * parent, char const * name, bool, WFlags)
- : QDialog(parent,name,0), form_(form)
-{
- setCaption(name);
-
- // widgets
-
- refs = new QListBox(this);
- refs->setMinimumSize(200,200);
-
- labelrefs = new QLabel(this);
- labelrefs->setText(_("Available References"));
- labelrefs->setMargin(5);
- setSizeHint(labelrefs);
- labelrefs->setMaximumSize(labelrefs->sizeHint());
-
- refname = new QLineEdit(this);
- setSizeHint(refname);
- // FIXME: should user be able to edit this ? what's it for ? - jbl
- refname->setFocusPolicy(QWidget::NoFocus);
-
- reference = new QLineEdit(this);
- setSizeHint(reference);
- reference->setFocusPolicy(QWidget::NoFocus);
-
- labelrefname = new QLabel(this);
- labelrefname->setText(_("Name :"));
- labelrefname->setMargin(5);
- setSizeHint(labelrefname);
- labelrefname->setMaximumSize(labelrefname->sizeHint());
-
- labelreference = new QLabel(this);
- labelreference->setText(_("Reference :"));
- labelreference->setMargin(5);
- setSizeHint(labelreference);
- labelreference->setMaximumSize(labelreference->sizeHint());
-
- sort = new QCheckBox(this);
- sort->setText(_("Sort"));
- setSizeHint(sort);
- sort->setMaximumSize(sort->sizeHint());
-
- type = new QComboBox(this);
- for (int i = 0; !InsetRef::types[i].latex_name.empty(); ++i)
- type->insertItem(_(InsetRef::types[i].gui_name.c_str()));
- setSizeHint(type);
-
- labeltype = new QLabel(this);
- labeltype->setText(_("Reference Type"));
- labeltype->setMargin(5);
- setSizeHint(labeltype);
- labeltype->setMaximumSize(labeltype->sizeHint());
-
- buttonGoto = new QPushButton(this);
- buttonGoto->setText(_("&Goto reference"));
- setSizeHint(buttonGoto);
- buttonGoto->setMaximumSize(buttonGoto->sizeHint());
-
- buttonUpdate = new QPushButton(this);
- buttonUpdate->setText(_("&Update"));
- setSizeHint(buttonUpdate);
- buttonUpdate->setMaximumSize(buttonUpdate->sizeHint());
-
- buttonOk = new QPushButton(this);
- buttonOk->setText(_("&OK"));
- setSizeHint(buttonOk);
- buttonOk->setMaximumSize(buttonOk->sizeHint());
- buttonOk->setDefault(true);
-
- buttonCancel = new QPushButton(this);
- buttonCancel->setText(_("&Cancel"));
- setSizeHint(buttonCancel);
- buttonCancel->setMaximumSize(buttonCancel->sizeHint());
-
- // tooltips
-
- QToolTip::add(type,_("Reference as it appears in output"));
- QToolTip::add(sort,_("Sort references in alphabetical order ?"));
- QToolTip::add(buttonUpdate,_("Update list of references shown"));
- QToolTip::add(buttonGoto,_("Jump to reference in document"));
- QToolTip::add(refname,_("FIXME please !"));
-
- // layouts
-
- topLayout = new QHBoxLayout(this,10);
-
- layout = new QVBoxLayout();
- topLayout->addLayout(layout);
- layout->addSpacing(10);
-
- upperLayout = new QHBoxLayout();
- layout->addLayout(upperLayout, 1);
-
- browserLayout = new QVBoxLayout();
- upperLayout->addLayout(browserLayout, 1);
-
- browserLayout->addWidget(labelrefs, 0);
- browserLayout->addWidget(refs, 1);
-
- rightLayout = new QVBoxLayout();
- upperLayout->addLayout(rightLayout, 1);
-
- nameLayout = new QHBoxLayout();
- rightLayout->addLayout(nameLayout, 0);
-
- nameLayout->addWidget(labelrefname, 0);
- nameLayout->addWidget(refname, 1);
-
- rightLayout->addStretch(1);
-
- referenceLayout = new QHBoxLayout();
- rightLayout->addLayout(referenceLayout, 0);
-
- referenceLayout->addWidget(labelreference, 0);
- referenceLayout->addWidget(reference, 1);
-
- rightLayout->addStretch(1);
-
- rightLayout->addWidget(labeltype, 0);
- rightLayout->addWidget(type, 0);
-
- rightLayout->addStretch(1);
-
- rightLayout->addWidget(buttonGoto, 1);
-
- rightLayout->addStretch(1);
-
- buttonLayout = new QHBoxLayout();
- layout->addLayout(buttonLayout);
- buttonLayout->addWidget(sort, 1);
- buttonLayout->addStretch(1);
- buttonLayout->addWidget(buttonUpdate, 1);
- buttonLayout->addStretch(1);
- buttonLayout->addWidget(buttonOk, 1);
- buttonLayout->addStretch(2);
- buttonLayout->addWidget(buttonCancel, 1);
- buttonLayout->addStretch(1);
-
- // connections
-
- connect(refs, SIGNAL(highlighted(const char *)), this, SLOT(highlight_adaptor(const char *)));
- connect(refs, SIGNAL(selected(const char *)), this, SLOT(select_adaptor(const char *)));
- connect(sort, SIGNAL(toggled(bool)), this, SLOT(sort_adaptor(bool)));
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(apply_adaptor()));
- connect(buttonUpdate, SIGNAL(clicked()), this, SLOT(update_adaptor()));
- connect(buttonGoto, SIGNAL(clicked()), this, SLOT(goto_adaptor()));
- connect(buttonCancel, SIGNAL(clicked()), this, SLOT(close_adaptor()));
-
- resize(sizeHint());
-}
-
-
-RefDialog::~RefDialog()
-{
-}
-
-
-void RefDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file refdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef REFDLG_H
-#define REFDLG_H
-
-#include <config.h>
-#include <gettext.h>
-
-#include "FormRef.h"
-
-#include <qdialog.h>
-#include <qlayout.h>
-#include <qcombobox.h>
-#include <qcheckbox.h>
-#include <qlistbox.h>
-#include <qlabel.h>
-#include <qtooltip.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-
-class RefDialog : public QDialog {
- Q_OBJECT
-public:
- RefDialog(FormRef * form, QWidget * parent=0, char const * name=0,
- bool modal=false, WFlags f=0);
- ~RefDialog();
-
- // widgets
-
- QListBox * refs;
- QLabel * labelrefs;
- QLineEdit * refname;
- QLineEdit * reference;
- QLabel * labelrefname;
- QLabel * labelreference;
- QCheckBox * sort;
- QComboBox * type;
- QLabel * labeltype;
- QPushButton * buttonGoto;
- QPushButton * buttonUpdate;
- QPushButton * buttonOk;
- QPushButton * buttonCancel;
-
-protected:
- void closeEvent(QCloseEvent * e);
-
-private:
- FormRef * form_;
-
- // layouts
-
- QHBoxLayout * topLayout;
- QVBoxLayout * layout;
- QHBoxLayout * upperLayout;
- QVBoxLayout * browserLayout;
- QVBoxLayout * rightLayout;
- QHBoxLayout * nameLayout;
- QHBoxLayout * referenceLayout;
- QHBoxLayout * buttonLayout;
-
-private slots:
- /// adaptor to FormRef::select
- void select_adaptor(const char * sel) {
- form_->select(sel);
- }
-
- /// adaptor to FormRef::highlight
- void highlight_adaptor(const char * sel) {
- form_->highlight(sel);
- }
-
- /// adaptor to FormRef::set_sort
- void sort_adaptor(bool sort) {
- form_->set_sort(sort);
- }
-
- /// adaptor to FormRef::gotoRef
- void goto_adaptor(void) {
- form_->goto_ref();
- }
-
- /// adaptor to FormRef::update
- void update_adaptor(void) {
- form_->do_ref_update();
- }
-
- /// adaptor to FormRef::apply
- void apply_adaptor(void) {
- form_->ApplyButton();
- }
-
- /// adaptor to FormRef::close
- void close_adaptor(void) {
- form_->CancelButton();
- }
-};
-
-#endif // REFDLG_H
+++ /dev/null
-/**
- * \file tabcreatedlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include "tabcreatedlg.h"
-#include "support/lstrings.h"
-
-#include <gettext.h>
-#include <qtooltip.h>
-
-TabularCreateDialog::TabularCreateDialog (FormTabularCreate * form, QWidget * parent, char const * name)
- : TabularCreateDialogData(parent, name), form_(form)
-{
- setCaption(name);
- table->setMinimumSize(100,100);
- spin_rows->setValue(5);
- spin_cols->setValue(5);
- connect(spin_rows,SIGNAL(valueChanged(int)),table,SLOT(setNumberRows(int)));
- connect(spin_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)));
- QToolTip::add(table, _("Drag with left mouse button to resize"));
-}
-
-
-TabularCreateDialog::~TabularCreateDialog()
-{
-}
-
-
-void TabularCreateDialog::colsChanged(unsigned int nr_cols)
-{
- if (nr_cols != strToUnsignedInt(spin_cols->text()))
- spin_cols->setValue(nr_cols);
-}
-
-
-void TabularCreateDialog::rowsChanged(unsigned int nr_rows)
-{
- if (nr_rows != strToUnsignedInt(spin_rows->text()))
- spin_rows->setValue(nr_rows);
-}
-
-
-void TabularCreateDialog::clickedInsert()
-{
- form_->OKButton();
-}
-
-
-void TabularCreateDialog::clickedCancel()
-{
- form_->CancelButton();
-}
-
-
-void TabularCreateDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file tabcreatedlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef TABCREATEDIALOG_H
-#define TABCREATEDIALOG_H
-
-#include "FormTabularCreate.h"
-#include "dlg/tabcreatedlgdata.h"
-
-class TabularCreateDialog : public TabularCreateDialogData
-{
- Q_OBJECT
-public:
- TabularCreateDialog (FormTabularCreate * form, QWidget * parent = 0, char const * name = 0);
- virtual ~TabularCreateDialog();
-
-protected slots:
- virtual void clickedInsert();
- virtual void clickedCancel();
- virtual void colsChanged(unsigned int);
- virtual void rowsChanged(unsigned int);
- virtual void closeEvent(QCloseEvent * e);
-
-private:
- FormTabularCreate * form_;
-};
-#endif // TABCREATEDIALOG_H
+++ /dev/null
-/**
- * \file tocdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include "tocdlg.h"
-
-#include "dlg/helpers.h"
-
-using kde_helpers::setSizeHint;
-
-TocDialog::TocDialog(FormToc * form, QWidget * parent, char const * name, bool, WFlags)
- : QDialog(parent,name,0), form_(form)
-{
- setCaption(name);
- setMinimumWidth(350);
-
- // widgets
-
- menu = new QComboBox(this);
- menu->insertItem(_("Table of Contents"));
- menu->insertItem(_("List of Figures"));
- menu->insertItem(_("List of Tables"));
- menu->insertItem(_("List of Algorithms"));
- setSizeHint(menu);
-
- tree = new QListView(this);
- tree->setMinimumHeight(200);
- tree->setRootIsDecorated(true);
- tree->setSorting(-1);
- tree->addColumn("Table of Contents");
-
- buttonUpdate = new QPushButton(this);
- setSizeHint(buttonUpdate);
- buttonUpdate->setMaximumSize(buttonUpdate->sizeHint());
- buttonUpdate->setText(_("&Update"));
-
- buttonClose = new QPushButton(this);
- setSizeHint(buttonClose);
- buttonClose->setMaximumSize(buttonClose->sizeHint());
- buttonClose->setText(_("&Close"));
- buttonClose->setDefault(true);
-
- depth = new QSlider(0, 5, 1, 1, QSlider::Horizontal, this);
- setSizeHint(depth);
- depth->setTickInterval(1);
- depth->setTracking(true);
-
- depthlabel = new QLabel(this);
- depthlabel->setText(_("Depth"));
- setSizeHint(depthlabel);
- depthlabel->setMaximumSize(depthlabel->sizeHint());
-
- // layouts
-
- topLayout = new QHBoxLayout(this,10);
-
- layout = new QVBoxLayout();
- topLayout->addLayout(layout);
- layout->addSpacing(10);
-
- layout->addWidget(menu,0);
- layout->addWidget(tree,1);
- layout->addWidget(depthlabel,0,AlignLeft);
- layout->addWidget(depth,0);
-
- buttonLayout = new QHBoxLayout();
-
- layout->addLayout(buttonLayout);
- buttonLayout->addStretch(1);
- buttonLayout->addWidget(buttonUpdate, 1);
- buttonLayout->addStretch(2);
- buttonLayout->addWidget(buttonClose, 1);
- buttonLayout->addStretch(1);
-
- // connections
-
- connect(tree, SIGNAL(selectionChanged(QListViewItem *)), this, SLOT(select_adaptor(QListViewItem *)));
- connect(menu, SIGNAL(activated(int)), this, SLOT(activate_adaptor(int)));
- connect(buttonUpdate, SIGNAL(clicked()), this, SLOT(update_adaptor()));
- connect(buttonClose, SIGNAL(clicked()), this, SLOT(close_adaptor()));
- connect(depth, SIGNAL(valueChanged(int)), this, SLOT(depth_adaptor(int)));
-
- resize(sizeHint());
-}
-
-
-void TocDialog::closeEvent(QCloseEvent * e)
-{
- form_->close();
- e->accept();
-}
-
-
-TocDialog::~TocDialog()
-{
-}
+++ /dev/null
-/**
- * \file tocdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef TOCDLG_H
-#define TOCDLG_H
-
-#include <config.h>
-#include <gettext.h>
-
-#include <debug.h>
-#include <qlabel.h>
-#include <qdialog.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qcombobox.h>
-#include <qlistview.h>
-#include <qslider.h>
-
-#include "FormToc.h"
-
-class TocDialog : public QDialog {
- Q_OBJECT
-public:
- TocDialog(FormToc * form, QWidget * parent=0, char const * name=0,
- bool modal=false, WFlags f=0);
- ~TocDialog();
-
- // widgets
-
- QComboBox * menu;
- QListView * tree;
- QPushButton * buttonUpdate;
- QPushButton * buttonClose;
- QSlider * depth;
- QLabel * depthlabel;
-
-protected:
- void closeEvent(QCloseEvent * e);
-
-private:
- FormToc * form_;
-
- // layouts
-
- QHBoxLayout * topLayout;
- QVBoxLayout * layout;
- QHBoxLayout * buttonLayout;
-
-private slots:
- /// adaptor to FormToc::select
- void select_adaptor(QListViewItem * item) {
- form_->select(item->text(0));
- }
-
- /// adaptor to FormToc::set_depth
- void depth_adaptor(int depth) {
- form_->set_depth(depth);
- }
-
- /// adaptor to FormToc::update
- void update_adaptor(void) {
- form_->update();
- }
-
- // adaptors to FormToc::set_type
- void activate_adaptor(int index) {
- switch (index) {
- case 0:
- form_->set_type(Buffer::TOC_TOC);
- break;
- case 1:
- form_->set_type(Buffer::TOC_LOF);
- break;
- case 2:
- form_->set_type(Buffer::TOC_LOT);
- break;
- case 3:
- form_->set_type(Buffer::TOC_LOA);
- break;
- default:
- lyxerr[Debug::GUI] << "Unknown TOC combo selection." << std::endl;
- break;
- }
- }
-
- /// adaptor to FormToc::close
- void close_adaptor(void) {
- form_->close();
- hide();
- }
-};
-
-#endif // TOCDLG_H
+++ /dev/null
-/**
- * \file urldlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include "urldlg.h"
-
-#include "dlg/helpers.h"
-
-using kde_helpers::setSizeHint;
-
-UrlDialog::UrlDialog(FormUrl *form, QWidget *parent, char const * name, bool, WFlags)
- : QDialog(parent,name,0), form_(form)
-{
- setCaption(name);
-
- // widgets
-
- url = new QLineEdit(this);
- setSizeHint(url);
-
- urlname = new QLineEdit(this);
- setSizeHint(urlname);
-
- labelurl = new QLabel(this);
- labelurl->setText(_("Url :"));
- labelurl->setMargin(5);
- setSizeHint(labelurl);
- labelurl->setMaximumSize(labelurl->sizeHint());
-
- labelurlname = new QLabel(this);
- labelurlname->setText(_("Name :"));
- labelurlname->setMargin(5);
- setSizeHint(labelurlname);
- labelurlname->setMaximumSize(labelurlname->sizeHint());
-
- htmlurl = new QCheckBox(this);
- htmlurl->setText(_("Generate hyperlink"));
- setSizeHint(htmlurl);
- htmlurl->setMaximumSize(htmlurl->sizeHint());
-
- buttonOk = new QPushButton(this);
- setSizeHint(buttonOk);
- buttonOk->setMaximumSize(buttonOk->sizeHint());
- buttonOk->setText(_("&OK"));
- buttonOk->setDefault(true);
-
- buttonCancel = new QPushButton(this);
- setSizeHint(buttonCancel);
- buttonCancel->setMaximumSize(buttonCancel->sizeHint());
- buttonCancel->setText(_("&Cancel"));
-
- // tooltips
-
- QToolTip::add(labelurl,_("URL"));
- QToolTip::add(url,_("URL"));
- QToolTip::add(labelurlname,_("Name associated with the URL"));
- QToolTip::add(urlname,_("Name associated with the URL"));
- QToolTip::add(htmlurl,_("Output as a hyperlink ?"));
-
- // layouts
-
- topLayout = new QHBoxLayout(this,10);
-
- layout = new QVBoxLayout();
- topLayout->addLayout(layout);
- layout->addSpacing(10);
-
- urlLayout = new QHBoxLayout();
- layout->addLayout(urlLayout);
- urlLayout->addWidget(labelurl, 0);
- urlLayout->addWidget(url, 1);
-
- urlnameLayout = new QHBoxLayout();
- layout->addLayout(urlnameLayout);
- urlnameLayout->addWidget(labelurlname, 0);
- urlnameLayout->addWidget(urlname, 1);
-
- htmlurlLayout = new QHBoxLayout();
- layout->addStretch(1);
- layout->addLayout(htmlurlLayout);
- layout->addStretch(1);
- htmlurlLayout->addWidget(htmlurl);
- htmlurlLayout->addStretch(1);
-
- buttonLayout = new QHBoxLayout();
- layout->addLayout(buttonLayout);
- buttonLayout->addStretch(1);
- buttonLayout->addWidget(buttonOk, 1);
- buttonLayout->addStretch(2);
- buttonLayout->addWidget(buttonCancel, 1);
- buttonLayout->addStretch(1);
-
- // connections
-
- connect(buttonOk, SIGNAL(clicked()), this, SLOT(apply_adaptor()));
- connect(buttonCancel, SIGNAL(clicked()), this, SLOT(close_adaptor()));
-
- resize(sizeHint());
-}
-
-
-UrlDialog::~UrlDialog()
-{
-}
-
-
-void UrlDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file urldlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef URLDLG_H
-#define URLDLG_H
-
-#include <config.h>
-#include <gettext.h>
-
-// to connect apply() and hide()
-#include "FormUrl.h"
-
-#include <qdialog.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qtooltip.h>
-#include <qcheckbox.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
-
-class UrlDialog : public QDialog {
- Q_OBJECT
-public:
- UrlDialog(FormUrl * form, QWidget * parent=0, char const * name=0,
- bool modal=false, WFlags f=0);
- ~UrlDialog();
-
- // widgets
-
- QLabel * labelurl;
- QLabel * labelurlname;
- QLineEdit * url;
- QLineEdit * urlname;
- QCheckBox * htmlurl;
- QPushButton * buttonOk;
- QPushButton * buttonCancel;
-
-protected slots:
- virtual void closeEvent(QCloseEvent * e);
-
-private:
- FormUrl * form_;
-
- // layouts
-
- QHBoxLayout * topLayout;
- QVBoxLayout * layout;
- QHBoxLayout * urlLayout;
- QBoxLayout * urlnameLayout;
- QBoxLayout * htmlurlLayout;
- QHBoxLayout * buttonLayout;
-
-private slots:
- /// adaptor to FormUrl::apply
- void apply_adaptor(void) {
- form_->OKButton();
- }
-
- /// adaptor to FormUrl::close
- void close_adaptor(void) {
- form_->CancelButton();
- }
-};
-
-#endif // URLDLG_H
+++ /dev/null
-/**
- * \file vclogdlg.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#include <config.h>
-#include <gettext.h>
-
-#include "FormVCLog.h"
-#include "ControlVCLog.h"
-
-#include "vclogdlg.h"
-
-VCLogDialog::VCLogDialog (FormVCLog * f, QWidget * parent, char const * name)
- : LogDialogData(parent, name), form_(f)
-{
- line_viewer->setMinimumWidth(50);
- line_viewer->setMinimumHeight(50);
-}
-
-
-void VCLogDialog::setLogText(string const & text)
-{
- setUpdatesEnabled(false);
- line_viewer->setText(text.c_str());
- setUpdatesEnabled(true);
- update();
-}
-
-void VCLogDialog::closePressed()
-{
- form_->CancelButton();
-}
-
-
-void VCLogDialog::updatePressed()
-{
- // FIXME: hmm
- //form_->controller().setParams();
-}
-
-
-void VCLogDialog::closeEvent(QCloseEvent * e)
-{
- form_->CancelButton();
- e->accept();
-}
+++ /dev/null
-/**
- * \file vclogdlg.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
- *
- * \author John Levon
- */
-
-#ifndef VCLOGDLG_H
-#define VCLOGDLG_H
-
-#include <config.h>
-#include "support/lstrings.h"
-
-#include "dlg/logdlgdata.h"
-
-class FormVCLog;
-
-class VCLogDialog : public LogDialogData
-{
- Q_OBJECT
-
-public:
- VCLogDialog(FormVCLog * f, QWidget * parent = NULL, char const * name = NULL);
-
- void setLogText(string const & text);
-
-protected slots:
- virtual void closePressed();
-
- virtual void updatePressed();
-
- virtual void closeEvent(QCloseEvent * e);
-
-private:
- FormVCLog * form_;
-};
-#endif // LOGVCDLG_H