mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Rough and ready, make the prefs dialog widget stack work. So you can
now access the widgets and we are in a position to begin the actual implementation in a piece-meal fashion. btw, I hate Qt. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5623 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
513bdcc5e5
commit
ebe0f6eb07
@ -1,3 +1,7 @@
|
|||||||
|
2002-11-13 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
|
* all pref files: make the stack work
|
||||||
|
|
||||||
2002-11-13 John Levon <levon@movementarian.org>
|
2002-11-13 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* Dialogs.C:
|
* Dialogs.C:
|
||||||
|
@ -218,9 +218,24 @@ UIDIALOGS = \
|
|||||||
NumberingModuleBase.h NumberingModuleBase.C \
|
NumberingModuleBase.h NumberingModuleBase.C \
|
||||||
BiblioModuleBase.h BiblioModuleBase.C \
|
BiblioModuleBase.h BiblioModuleBase.C \
|
||||||
PreambleModuleBase.h PreambleModuleBase.C \
|
PreambleModuleBase.h PreambleModuleBase.C \
|
||||||
BulletsModuleBase.h BulletsModuleBase.C
|
BulletsModuleBase.h BulletsModuleBase.C \
|
||||||
|
QPrefAsciiModule.h QPrefAsciiModule.C \
|
||||||
|
QPrefDateModule.h QPrefDateModule.C \
|
||||||
|
QPrefKeyboardModule.h QPrefKeyboardModule.C \
|
||||||
|
QPrefLatexModule.h QPrefLatexModule.C \
|
||||||
|
QPrefScreenFontsModule.h QPrefScreenFontsModule.C \
|
||||||
|
QPrefColorsModule.h QPrefColorsModule.C \
|
||||||
|
QPrefDisplayModule.h QPrefDisplayModule.C \
|
||||||
|
QPrefLNFMiscModule.h QPrefLNFMiscModule.C \
|
||||||
|
QPrefPathsModule.h QPrefPathsModule.C \
|
||||||
|
QPrefSpellcheckerModule.h QPrefSpellcheckerModule.C \
|
||||||
|
QPrefConvertersModule.h QPrefConvertersModule.C \
|
||||||
|
QPrefFileformatsModule.h QPrefFileformatsModule.C \
|
||||||
|
QPrefLanguageModule.h QPrefLanguageModule.C \
|
||||||
|
QPrefPrinterModule.h QPrefPrinterModule.C \
|
||||||
|
QPrefUIModule.h QPrefUIModule.C
|
||||||
|
|
||||||
UIMOCDIALOGS = \
|
UIMOCDIALOGS = \
|
||||||
QAboutDialogBase_moc.C \
|
QAboutDialogBase_moc.C \
|
||||||
QAskForTextDialog_moc.C \
|
QAskForTextDialog_moc.C \
|
||||||
QBibitemDialogBase_moc.C \
|
QBibitemDialogBase_moc.C \
|
||||||
@ -264,4 +279,19 @@ UIMOCDIALOGS = \
|
|||||||
NumberingModuleBase_moc.C \
|
NumberingModuleBase_moc.C \
|
||||||
BiblioModuleBase_moc.C \
|
BiblioModuleBase_moc.C \
|
||||||
PreambleModuleBase_moc.C \
|
PreambleModuleBase_moc.C \
|
||||||
BulletsModuleBase_moc.C
|
BulletsModuleBase_moc.C \
|
||||||
|
QPrefAsciiModule_moc.C \
|
||||||
|
QPrefDateModule_moc.C \
|
||||||
|
QPrefKeyboardModule_moc.C \
|
||||||
|
QPrefLatexModule_moc.C \
|
||||||
|
QPrefScreenFontsModule_moc.C \
|
||||||
|
QPrefColorsModule_moc.C \
|
||||||
|
QPrefDisplayModule_moc.C \
|
||||||
|
QPrefLNFMiscModule_moc.C \
|
||||||
|
QPrefPathsModule_moc.C \
|
||||||
|
QPrefSpellcheckerModule_moc.C \
|
||||||
|
QPrefConvertersModule_moc.C \
|
||||||
|
QPrefFileformatsModule_moc.C \
|
||||||
|
QPrefLanguageModule_moc.C \
|
||||||
|
QPrefPrinterModule_moc.C \
|
||||||
|
QPrefUIModule_moc.C
|
||||||
|
@ -145,7 +145,7 @@ void QDocument::build_dialog()
|
|||||||
// Manage the restore, ok, apply, restore and cancel/close buttons
|
// Manage the restore, ok, apply, restore and cancel/close buttons
|
||||||
bc().setOK(dialog_->okPB);
|
bc().setOK(dialog_->okPB);
|
||||||
bc().setApply(dialog_->applyPB);
|
bc().setApply(dialog_->applyPB);
|
||||||
bc().setCancel(dialog_->cancelPB);
|
bc().setCancel(dialog_->closePB);
|
||||||
bc().setRestore(dialog_->restorePB);
|
bc().setRestore(dialog_->restorePB);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
|
|||||||
form, SLOT(slotOK()));
|
form, SLOT(slotOK()));
|
||||||
connect(applyPB, SIGNAL(clicked()),
|
connect(applyPB, SIGNAL(clicked()),
|
||||||
form, SLOT(slotApply()));
|
form, SLOT(slotApply()));
|
||||||
connect(cancelPB, SIGNAL(clicked()),
|
connect(closePB, SIGNAL(clicked()),
|
||||||
form, SLOT(slotClose()));
|
form, SLOT(slotClose()));
|
||||||
connect(restorePB, SIGNAL(clicked()),
|
connect(restorePB, SIGNAL(clicked()),
|
||||||
form, SLOT(slotRestore()));
|
form, SLOT(slotRestore()));
|
||||||
@ -84,15 +84,15 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
|
|||||||
biblioModule = new BiblioModuleBase(this);
|
biblioModule = new BiblioModuleBase(this);
|
||||||
preambleModule = new PreambleModuleBase(this);
|
preambleModule = new PreambleModuleBase(this);
|
||||||
|
|
||||||
moduleStack->addWidget(layoutModule,LAYOUT);
|
moduleStack->addWidget(layoutModule, LAYOUT);
|
||||||
moduleStack->addWidget(paperModule,PAPER);
|
moduleStack->addWidget(paperModule, PAPER);
|
||||||
moduleStack->addWidget(marginsModule,MARGINS);
|
moduleStack->addWidget(marginsModule, MARGINS);
|
||||||
moduleStack->addWidget(packagesModule,PACKAGES);
|
moduleStack->addWidget(packagesModule, PACKAGES);
|
||||||
moduleStack->addWidget(langModule,LANGUAGE);
|
moduleStack->addWidget(langModule, LANGUAGE);
|
||||||
moduleStack->addWidget(bulletsModule,BULLETS);
|
moduleStack->addWidget(bulletsModule, BULLETS);
|
||||||
moduleStack->addWidget(numberingModule,NUMBERING);
|
moduleStack->addWidget(numberingModule, NUMBERING);
|
||||||
moduleStack->addWidget(biblioModule,BIBLIOGRAPHY);
|
moduleStack->addWidget(biblioModule, BIBLIOGRAPHY);
|
||||||
moduleStack->addWidget(preambleModule,PREAMBLE);
|
moduleStack->addWidget(preambleModule, PREAMBLE);
|
||||||
|
|
||||||
moduleStack->raiseWidget(LAYOUT);
|
moduleStack->raiseWidget(LAYOUT);
|
||||||
|
|
||||||
|
@ -20,34 +20,32 @@
|
|||||||
|
|
||||||
#include "QPrefsDialog.h"
|
#include "QPrefsDialog.h"
|
||||||
|
|
||||||
#include "ui/ClassModuleBase.h"
|
#include "ui/QPrefAsciiModule.h"
|
||||||
#include "ui/PackagesModuleBase.h"
|
#include "ui/QPrefDateModule.h"
|
||||||
#include "ui/PaperModuleBase.h"
|
#include "ui/QPrefKeyboardModule.h"
|
||||||
#include "ui/LanguageModuleBase.h"
|
#include "ui/QPrefLatexModule.h"
|
||||||
#include "ui/BulletsModuleBase.h"
|
#include "ui/QPrefScreenFontsModule.h"
|
||||||
#include "BulletsModule.h"
|
#include "ui/QPrefColorsModule.h"
|
||||||
#include "ui/BiblioModuleBase.h"
|
#include "ui/QPrefDisplayModule.h"
|
||||||
#include "ui/NumberingModuleBase.h"
|
#include "ui/QPrefLNFMiscModule.h"
|
||||||
#include "ui/MarginsModuleBase.h"
|
#include "ui/QPrefPathsModule.h"
|
||||||
#include "ui/PreambleModuleBase.h"
|
#include "ui/QPrefSpellcheckerModule.h"
|
||||||
|
#include "ui/QPrefConvertersModule.h"
|
||||||
|
#include "ui/QPrefFileformatsModule.h"
|
||||||
|
#include "ui/QPrefLanguageModule.h"
|
||||||
|
#include "ui/QPrefPrinterModule.h"
|
||||||
|
#include "ui/QPrefUIModule.h"
|
||||||
|
|
||||||
#include "Spacing.h"
|
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
#include "lyxrc.h"
|
#include "lyxrc.h"
|
||||||
#include "buffer.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#include <qwidgetstack.h>
|
#include <qwidgetstack.h>
|
||||||
#include <qlistbox.h>
|
|
||||||
#include <qlabel.h>
|
|
||||||
#include <qmultilineedit.h>
|
|
||||||
#include <qlineedit.h>
|
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
#include <qcombobox.h>
|
#include <qlistview.h>
|
||||||
#include <qradiobutton.h>
|
|
||||||
#include <qcheckbox.h>
|
|
||||||
#include <qspinbox.h>
|
|
||||||
#include "lengthcombo.h"
|
|
||||||
|
|
||||||
|
using std::map;
|
||||||
|
using std::endl;
|
||||||
|
|
||||||
QPrefsDialog::QPrefsDialog(QPrefs * form)
|
QPrefsDialog::QPrefsDialog(QPrefs * form)
|
||||||
: QPrefsDialogBase(0, 0, false, 0), form_(form)
|
: QPrefsDialogBase(0, 0, false, 0), form_(form)
|
||||||
@ -61,6 +59,97 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
|
|||||||
form, SLOT(slotClose()));
|
form, SLOT(slotClose()));
|
||||||
connect(restorePB, SIGNAL(clicked()),
|
connect(restorePB, SIGNAL(clicked()),
|
||||||
form, SLOT(slotRestore()));
|
form, SLOT(slotRestore()));
|
||||||
|
|
||||||
|
prefsLV->setSorting(-1);
|
||||||
|
|
||||||
|
// OK, Qt is REALLY broken. We have to hard
|
||||||
|
// code the menu structure here.
|
||||||
|
|
||||||
|
QListViewItem * adv(new QListViewItem(prefsLV, _("Advanced settings")));
|
||||||
|
adv->setSelectable(false);
|
||||||
|
QListViewItem * lan(new QListViewItem(prefsLV, _("Language settings")));
|
||||||
|
lan->setSelectable(false);
|
||||||
|
QListViewItem * lnf(new QListViewItem(prefsLV, _("Look and feel")));
|
||||||
|
lnf->setSelectable(false);
|
||||||
|
|
||||||
|
asciiModule = new QPrefAsciiModule(prefsWS);
|
||||||
|
dateModule = new QPrefDateModule(prefsWS);
|
||||||
|
keyboardModule = new QPrefKeyboardModule(prefsWS);
|
||||||
|
latexModule = new QPrefLatexModule(prefsWS);
|
||||||
|
screenfontsModule = new QPrefScreenFontsModule(prefsWS);
|
||||||
|
colorsModule = new QPrefColorsModule(prefsWS);
|
||||||
|
displayModule = new QPrefDisplayModule(prefsWS);
|
||||||
|
lnfmiscModule = new QPrefLNFMiscModule(prefsWS);
|
||||||
|
pathsModule = new QPrefPathsModule(prefsWS);
|
||||||
|
spellcheckerModule = new QPrefSpellcheckerModule(prefsWS);
|
||||||
|
convertersModule = new QPrefConvertersModule(prefsWS);
|
||||||
|
fileformatsModule = new QPrefFileformatsModule(prefsWS);
|
||||||
|
languageModule = new QPrefLanguageModule(prefsWS);
|
||||||
|
printerModule = new QPrefPrinterModule(prefsWS);
|
||||||
|
uiModule = new QPrefUIModule(prefsWS);
|
||||||
|
|
||||||
|
prefsWS->addWidget(asciiModule, 0);
|
||||||
|
prefsWS->addWidget(dateModule, 1);
|
||||||
|
prefsWS->addWidget(keyboardModule, 2);
|
||||||
|
prefsWS->addWidget(latexModule, 3);
|
||||||
|
prefsWS->addWidget(screenfontsModule, 4);
|
||||||
|
prefsWS->addWidget(colorsModule, 5);
|
||||||
|
prefsWS->addWidget(displayModule, 6);
|
||||||
|
prefsWS->addWidget(lnfmiscModule, 7);
|
||||||
|
prefsWS->addWidget(pathsModule, 8);
|
||||||
|
prefsWS->addWidget(spellcheckerModule, 9);
|
||||||
|
prefsWS->addWidget(convertersModule, 10);
|
||||||
|
prefsWS->addWidget(fileformatsModule, 11);
|
||||||
|
prefsWS->addWidget(languageModule, 12);
|
||||||
|
prefsWS->addWidget(printerModule, 13);
|
||||||
|
prefsWS->addWidget(uiModule, 14);
|
||||||
|
|
||||||
|
QListViewItem * i;
|
||||||
|
|
||||||
|
// advanced settings
|
||||||
|
|
||||||
|
i = new QListViewItem(adv, _("Converters"));
|
||||||
|
pane_map_[i] = convertersModule;
|
||||||
|
i = new QListViewItem(adv, i, _("File formats"));
|
||||||
|
pane_map_[i] = fileformatsModule;
|
||||||
|
// language settings
|
||||||
|
|
||||||
|
i = new QListViewItem(lan, _("Language"));
|
||||||
|
pane_map_[i] = languageModule;
|
||||||
|
i = new QListViewItem(lan, i, _("Spellchecker"));
|
||||||
|
pane_map_[i] = spellcheckerModule;
|
||||||
|
|
||||||
|
// UI
|
||||||
|
|
||||||
|
i = new QListViewItem(lnf, _("User interface"));
|
||||||
|
pane_map_[i] = uiModule;
|
||||||
|
prefsLV->setCurrentItem(i);
|
||||||
|
|
||||||
|
i = new QListViewItem(lnf, i, _("Screen fonts"));
|
||||||
|
pane_map_[i] = screenfontsModule;
|
||||||
|
i = new QListViewItem(lnf, i, _("Colors"));
|
||||||
|
pane_map_[i] = colorsModule;
|
||||||
|
i = new QListViewItem(lnf, i, _("Display"));
|
||||||
|
pane_map_[i] = displayModule;
|
||||||
|
i = new QListViewItem(lnf, i, _("Miscellaneous")); // YUCK !
|
||||||
|
pane_map_[i] = lnfmiscModule;
|
||||||
|
|
||||||
|
// rag bag of crap
|
||||||
|
|
||||||
|
i = new QListViewItem(prefsLV, lan, _("Ascii"));
|
||||||
|
pane_map_[i] = asciiModule;
|
||||||
|
i = new QListViewItem(prefsLV, i, _("Date"));
|
||||||
|
pane_map_[i] = dateModule;
|
||||||
|
i = new QListViewItem(prefsLV, i, _("Keyboard"));
|
||||||
|
pane_map_[i] = keyboardModule;
|
||||||
|
i = new QListViewItem(prefsLV, i, _("LaTeX"));
|
||||||
|
pane_map_[i] = latexModule;
|
||||||
|
i = new QListViewItem(prefsLV, i, _("Paths"));
|
||||||
|
pane_map_[i] = pathsModule;
|
||||||
|
i = new QListViewItem(prefsLV, i, _("Printer"));
|
||||||
|
pane_map_[i] = printerModule;
|
||||||
|
|
||||||
|
prefsLV->setMinimumSize(prefsLV->sizeHint());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -74,3 +163,9 @@ void QPrefsDialog::closeEvent(QCloseEvent * e)
|
|||||||
form_->slotWMHide();
|
form_->slotWMHide();
|
||||||
e->accept();
|
e->accept();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void QPrefsDialog::switchPane(QListViewItem * i)
|
||||||
|
{
|
||||||
|
prefsWS->raiseWidget(pane_map_[i]);
|
||||||
|
}
|
||||||
|
@ -18,7 +18,25 @@
|
|||||||
|
|
||||||
#include "ui/QPrefsDialogBase.h"
|
#include "ui/QPrefsDialogBase.h"
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
|
||||||
class QPrefs;
|
class QPrefs;
|
||||||
|
class QListViewItem;
|
||||||
|
class QPrefAsciiModule;
|
||||||
|
class QPrefDateModule;
|
||||||
|
class QPrefKeyboardModule;
|
||||||
|
class QPrefLatexModule;
|
||||||
|
class QPrefScreenFontsModule;
|
||||||
|
class QPrefColorsModule;
|
||||||
|
class QPrefDisplayModule;
|
||||||
|
class QPrefLNFMiscModule;
|
||||||
|
class QPrefPathsModule;
|
||||||
|
class QPrefSpellcheckerModule;
|
||||||
|
class QPrefConvertersModule;
|
||||||
|
class QPrefFileformatsModule;
|
||||||
|
class QPrefLanguageModule;
|
||||||
|
class QPrefPrinterModule;
|
||||||
|
class QPrefUIModule;
|
||||||
|
|
||||||
class QPrefsDialog : public QPrefsDialogBase {
|
class QPrefsDialog : public QPrefsDialogBase {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@ -29,10 +47,68 @@ public:
|
|||||||
|
|
||||||
~QPrefsDialog();
|
~QPrefsDialog();
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
virtual void switchPane(QListViewItem * i);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void closeEvent(QCloseEvent * e);
|
void closeEvent(QCloseEvent * e);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/*enum Panes {
|
||||||
|
ASCII,
|
||||||
|
DATE,
|
||||||
|
KEYBOARD,
|
||||||
|
LATEX,
|
||||||
|
SCREENFONTS,
|
||||||
|
COLORS,
|
||||||
|
DISPLAY,
|
||||||
|
LNFMISC,
|
||||||
|
PATHS,
|
||||||
|
SPELLCHECKER,
|
||||||
|
CONVERTERS,
|
||||||
|
FILEFORMATS,
|
||||||
|
LANGUAGE,
|
||||||
|
PRINTER,
|
||||||
|
UI
|
||||||
|
};*/
|
||||||
|
|
||||||
|
typedef std::map<QListViewItem *, QWidget *> PaneMap;
|
||||||
|
|
||||||
|
PaneMap pane_map_;
|
||||||
|
|
||||||
|
/*
|
||||||
|
QPrefAsciiModule
|
||||||
|
QPrefDateModule
|
||||||
|
QPrefKeyboardModule
|
||||||
|
QPrefLatexModule
|
||||||
|
QPrefScreenFontsModule
|
||||||
|
QPrefColorsModule
|
||||||
|
QPrefDisplayModule
|
||||||
|
QPrefLNFMiscModule
|
||||||
|
QPrefPathsModule
|
||||||
|
QPrefSpellcheckerModule
|
||||||
|
QPrefConvertersModule
|
||||||
|
QPrefFileformatsModule
|
||||||
|
QPrefLanguageModule
|
||||||
|
QPrefPrinterModule
|
||||||
|
QPrefUIModule
|
||||||
|
*/
|
||||||
|
QPrefAsciiModule * asciiModule;
|
||||||
|
QPrefDateModule * dateModule;
|
||||||
|
QPrefKeyboardModule * keyboardModule;
|
||||||
|
QPrefLatexModule * latexModule;
|
||||||
|
QPrefScreenFontsModule * screenfontsModule;
|
||||||
|
QPrefColorsModule * colorsModule;
|
||||||
|
QPrefDisplayModule * displayModule;
|
||||||
|
QPrefLNFMiscModule * lnfmiscModule;
|
||||||
|
QPrefPathsModule * pathsModule;
|
||||||
|
QPrefSpellcheckerModule * spellcheckerModule;
|
||||||
|
QPrefConvertersModule * convertersModule;
|
||||||
|
QPrefFileformatsModule * fileformatsModule;
|
||||||
|
QPrefLanguageModule * languageModule;
|
||||||
|
QPrefPrinterModule * printerModule;
|
||||||
|
QPrefUIModule * uiModule;
|
||||||
|
|
||||||
QPrefs * form_;
|
QPrefs * form_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -77,6 +77,10 @@ PreambleModuleBase.C: PreambleModuleBase.h PreambleModuleBase.ui
|
|||||||
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
||||||
|
|
||||||
|
|
||||||
|
%Module.h: %Module.ui
|
||||||
|
$(UIC) $< -o $@
|
||||||
|
%Module.C: %Module.h %Module.ui
|
||||||
|
$(UIC) -impl $^ | $(SED) '$(SEDREPLACETR);$(SEDREMOVEEMPTY)' > $@
|
||||||
|
|
||||||
%Base.h: %.ui
|
%Base.h: %.ui
|
||||||
$(UIC) $< -o $@
|
$(UIC) $< -o $@
|
||||||
|
@ -132,7 +132,7 @@
|
|||||||
<class>QPushButton</class>
|
<class>QPushButton</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>cancelPB</cstring>
|
<cstring>closePB</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
@ -155,7 +155,7 @@
|
|||||||
<slot>accept()</slot>
|
<slot>accept()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>cancelPB</sender>
|
<sender>closePB</sender>
|
||||||
<signal>clicked()</signal>
|
<signal>clicked()</signal>
|
||||||
<receiver>QAskForTextDialog</receiver>
|
<receiver>QAskForTextDialog</receiver>
|
||||||
<slot>reject()</slot>
|
<slot>reject()</slot>
|
||||||
|
@ -172,7 +172,7 @@
|
|||||||
<class>QPushButton</class>
|
<class>QPushButton</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>cancelPB</cstring>
|
<cstring>closePB</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefAsciiModuleBase</class>
|
<class>QPrefAsciiModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefAsciiModuleBase</cstring>
|
<cstring>QPrefAsciiModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>356</width>
|
<width>348</width>
|
||||||
<height>99</height>
|
<height>99</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefColorsModule</class>
|
<class>QPrefColorsModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefColorsModule</cstring>
|
<cstring>QPrefColorsModule</cstring>
|
||||||
@ -11,7 +13,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>317</width>
|
<width>309</width>
|
||||||
<height>259</height>
|
<height>259</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefConvertersModuleBase</class>
|
<class>QPrefConvertersModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefConvertersModuleBase</cstring>
|
<cstring>QPrefConvertersModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>362</width>
|
<width>358</width>
|
||||||
<height>263</height>
|
<height>261</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefDateModuleBase</class>
|
<class>QPrefDateModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefDateModuleBase</cstring>
|
<cstring>QPrefDateModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>291</width>
|
<width>287</width>
|
||||||
<height>53</height>
|
<height>53</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefDisplayModuleBase</class>
|
<class>QPrefDisplayModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefDisplayModuleBase</cstring>
|
<cstring>QPrefDisplayModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>248</width>
|
<width>244</width>
|
||||||
<height>102</height>
|
<height>102</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefFileformatsModuleBase</class>
|
<class>QPrefFileformatsModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefFileformatsModuleBase</cstring>
|
<cstring>QPrefFileformatsModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>349</width>
|
<width>345</width>
|
||||||
<height>261</height>
|
<height>261</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefKeyboardModuleBase</class>
|
<class>QPrefKeyboardModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefKeyboardModuleBase</cstring>
|
<cstring>QPrefKeyboardModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>358</width>
|
<width>354</width>
|
||||||
<height>253</height>
|
<height>253</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefLNFMiscBase</class>
|
<class>QPrefLNFMiscModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefLNFMiscBase</cstring>
|
<cstring>QPrefLNFMiscModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>248</width>
|
<width>244</width>
|
||||||
<height>211</height>
|
<height>211</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QLanguageModuleBase</class>
|
<class>QPrefLanguageModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QLanguageModuleBase</cstring>
|
<cstring>QPrefLanguageModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>322</width>
|
<width>318</width>
|
||||||
<height>258</height>
|
<height>258</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefLatexModuleBase</class>
|
<class>QPrefLatexModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="global">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefLatexModuleBase</cstring>
|
<cstring>QPrefLatexModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>359</width>
|
<width>355</width>
|
||||||
<height>237</height>
|
<height>237</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefLNFModuleBase</class>
|
<class>QPrefPathsModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefLNFModuleBase</cstring>
|
<cstring>QPrefPathsModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>366</width>
|
<width>387</width>
|
||||||
<height>297</height>
|
<height>297</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefPrinterModuleBase</class>
|
<class>QPrefPrinterModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefPrinterModuleBase</cstring>
|
<cstring>QPrefPrinterModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>328</width>
|
<width>324</width>
|
||||||
<height>307</height>
|
<height>307</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefScreenFontsModule</class>
|
<class>QPrefScreenFontsModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefScreenFontsModule</cstring>
|
<cstring>QPrefScreenFontsModule</cstring>
|
||||||
@ -11,7 +13,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>306</width>
|
<width>302</width>
|
||||||
<height>296</height>
|
<height>296</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefSpellcheckerModuleBase</class>
|
<class>QPrefSpellcheckerModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefSpellcheckerModuleBase</cstring>
|
<cstring>QPrefSpellcheckerModule</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>geometry</name>
|
<name>geometry</name>
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>349</width>
|
<width>345</width>
|
||||||
<height>213</height>
|
<height>213</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<!DOCTYPE UI><UI>
|
<!DOCTYPE UI><UI>
|
||||||
<class>QPrefUIModule</class>
|
<class>QPrefUIModule</class>
|
||||||
|
<include location="global">config.h</include>
|
||||||
|
<include location="local">gettext.h</include>
|
||||||
<widget>
|
<widget>
|
||||||
<class>QDialog</class>
|
<class>QWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>QPrefUIModule</cstring>
|
<cstring>QPrefUIModule</cstring>
|
||||||
@ -11,7 +13,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>328</width>
|
<width>324</width>
|
||||||
<height>191</height>
|
<height>191</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1,256 +0,0 @@
|
|||||||
<!DOCTYPE UI><UI>
|
|
||||||
<class>QPreferencesDialogBase</class>
|
|
||||||
<include location="global">config.h</include>
|
|
||||||
<include location="local">gettext.h</include>
|
|
||||||
<widget>
|
|
||||||
<class>QDialog</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>QPreferencesDialogBase</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>geometry</name>
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>476</width>
|
|
||||||
<height>382</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>caption</name>
|
|
||||||
<string>Preferences</string>
|
|
||||||
</property>
|
|
||||||
<grid>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>margin</name>
|
|
||||||
<number>11</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>spacing</name>
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<widget row="1" column="0" rowspan="1" colspan="2" >
|
|
||||||
<class>QLayoutWidget</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Layout3</cstring>
|
|
||||||
</property>
|
|
||||||
<hbox>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>margin</name>
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>spacing</name>
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<widget>
|
|
||||||
<class>QPushButton</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>restorePB</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>&Restore</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<spacer>
|
|
||||||
<property>
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Spacer1</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>orientation</name>
|
|
||||||
<enum>Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizeType</name>
|
|
||||||
<enum>Expanding</enum>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>sizeHint</name>
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
<widget>
|
|
||||||
<class>QPushButton</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>savePB</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>&Save</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
|
||||||
<class>QPushButton</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>applyPB</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>&Apply</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
|
||||||
<class>QPushButton</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>cancelPB</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>&Close</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</hbox>
|
|
||||||
</widget>
|
|
||||||
<widget row="0" column="1" >
|
|
||||||
<class>QLayoutWidget</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Layout3</cstring>
|
|
||||||
</property>
|
|
||||||
<vbox>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>margin</name>
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>spacing</name>
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<widget>
|
|
||||||
<class>QLabel</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>titleL</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizePolicy</name>
|
|
||||||
<sizepolicy>
|
|
||||||
<hsizetype>7</hsizetype>
|
|
||||||
<vsizetype>1</vsizetype>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>title here</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
|
||||||
<class>Line</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Line1</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizePolicy</name>
|
|
||||||
<sizepolicy>
|
|
||||||
<hsizetype>1</hsizetype>
|
|
||||||
<vsizetype>0</vsizetype>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>orientation</name>
|
|
||||||
<enum>Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
|
||||||
<class>QWidgetStack</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>moduleStack</cstring>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</vbox>
|
|
||||||
</widget>
|
|
||||||
<widget row="0" column="0" >
|
|
||||||
<class>QListView</class>
|
|
||||||
<column>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Column 1</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>clickable</name>
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>resizeable</name>
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>New Item</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>moduleLV</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizePolicy</name>
|
|
||||||
<sizepolicy>
|
|
||||||
<hsizetype>1</hsizetype>
|
|
||||||
<vsizetype>7</vsizetype>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>dragAutoScroll</name>
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>itemMargin</name>
|
|
||||||
<number>1</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>rootIsDecorated</name>
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</grid>
|
|
||||||
</widget>
|
|
||||||
<customwidgets>
|
|
||||||
<customwidget>
|
|
||||||
<class>QWidgetStack</class>
|
|
||||||
<header location="global">qwidgetstack.h</header>
|
|
||||||
<sizehint>
|
|
||||||
<width>0</width>
|
|
||||||
<height>-1</height>
|
|
||||||
</sizehint>
|
|
||||||
<container>0</container>
|
|
||||||
<sizepolicy>
|
|
||||||
<hordata>7</hordata>
|
|
||||||
<verdata>7</verdata>
|
|
||||||
</sizepolicy>
|
|
||||||
<pixmap>image0</pixmap>
|
|
||||||
<slot access="public">raiseWidget(int)</slot>
|
|
||||||
</customwidget>
|
|
||||||
</customwidgets>
|
|
||||||
<images>
|
|
||||||
<image>
|
|
||||||
<name>image0</name>
|
|
||||||
<data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
|
|
||||||
</image>
|
|
||||||
</images>
|
|
||||||
<connections>
|
|
||||||
<slot access="public">change_adaptor()</slot>
|
|
||||||
<slot access="protected">defaultClicked()</slot>
|
|
||||||
<slot access="protected">saveClicked()</slot>
|
|
||||||
<slot access="public">setTitle(int)</slot>
|
|
||||||
</connections>
|
|
||||||
</UI>
|
|
@ -13,19 +13,19 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>530</width>
|
<width>452</width>
|
||||||
<height>473</height>
|
<height>382</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>caption</name>
|
<name>caption</name>
|
||||||
<string>Index</string>
|
<string>Preferences</string>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>sizeGripEnabled</name>
|
<name>sizeGripEnabled</name>
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<vbox>
|
<grid>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>margin</name>
|
<name>margin</name>
|
||||||
<number>11</number>
|
<number>11</number>
|
||||||
@ -34,196 +34,7 @@
|
|||||||
<name>spacing</name>
|
<name>spacing</name>
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
</property>
|
</property>
|
||||||
<widget>
|
<widget row="1" column="0" rowspan="1" colspan="2" >
|
||||||
<class>QLayoutWidget</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Layout4</cstring>
|
|
||||||
</property>
|
|
||||||
<hbox>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>margin</name>
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>spacing</name>
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<widget>
|
|
||||||
<class>QListView</class>
|
|
||||||
<column>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Preferences</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>clickable</name>
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>resizeable</name>
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
</column>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Look and Feel</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Interface</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Zoom settings</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Fonts</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Colors</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Graphics</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Language</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Spellchecking</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Advanced settings</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Default paths</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>File types</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>File convertors</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property>
|
|
||||||
<name>text</name>
|
|
||||||
<string>Advanced settings</string>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>pixmap</name>
|
|
||||||
<pixmap></pixmap>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>prefsLV</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizePolicy</name>
|
|
||||||
<sizepolicy>
|
|
||||||
<hsizetype>5</hsizetype>
|
|
||||||
<vsizetype>7</vsizetype>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
|
||||||
<class>QWidgetStack</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>prefsWS</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizePolicy</name>
|
|
||||||
<sizepolicy>
|
|
||||||
<hsizetype>7</hsizetype>
|
|
||||||
<vsizetype>7</vsizetype>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</hbox>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
|
||||||
<class>QLayoutWidget</class>
|
<class>QLayoutWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
@ -246,13 +57,13 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Restore</string>
|
<string>&Restore</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<spacer>
|
<spacer>
|
||||||
<property>
|
<property>
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>Spacer2</cstring>
|
<cstring>Spacer1</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>orientation</name>
|
<name>orientation</name>
|
||||||
@ -278,11 +89,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Save</string>
|
<string>&Save</string>
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>default</name>
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget>
|
<widget>
|
||||||
@ -293,7 +100,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Apply</string>
|
<string>&Apply</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget>
|
<widget>
|
||||||
@ -304,12 +111,112 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Close</string>
|
<string>&Close</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</hbox>
|
</hbox>
|
||||||
</widget>
|
</widget>
|
||||||
</vbox>
|
<widget row="0" column="1" >
|
||||||
|
<class>QLayoutWidget</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>Layout3</cstring>
|
||||||
|
</property>
|
||||||
|
<vbox>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>margin</name>
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>spacing</name>
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
|
<widget>
|
||||||
|
<class>QLabel</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>titleL</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>sizePolicy</name>
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>7</hsizetype>
|
||||||
|
<vsizetype>0</vsizetype>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>text</name>
|
||||||
|
<string>title here</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget>
|
||||||
|
<class>Line</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>Line1</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>sizePolicy</name>
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>1</hsizetype>
|
||||||
|
<vsizetype>0</vsizetype>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>orientation</name>
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget>
|
||||||
|
<class>QWidgetStack</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>prefsWS</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</vbox>
|
||||||
|
</widget>
|
||||||
|
<widget row="0" column="0" >
|
||||||
|
<class>QListView</class>
|
||||||
|
<column>
|
||||||
|
<property>
|
||||||
|
<name>text</name>
|
||||||
|
<string>Column 1</string>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>clickable</name>
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>resizeable</name>
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</column>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>prefsLV</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>sizePolicy</name>
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>1</hsizetype>
|
||||||
|
<vsizetype>7</vsizetype>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>dragAutoScroll</name>
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>itemMargin</name>
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>rootIsDecorated</name>
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
@ -325,6 +232,7 @@
|
|||||||
<verdata>7</verdata>
|
<verdata>7</verdata>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
<pixmap>image0</pixmap>
|
<pixmap>image0</pixmap>
|
||||||
|
<slot access="public">raiseWidget(int)</slot>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<images>
|
<images>
|
||||||
@ -334,6 +242,16 @@
|
|||||||
</image>
|
</image>
|
||||||
</images>
|
</images>
|
||||||
<connections>
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>prefsLV</sender>
|
||||||
|
<signal>currentChanged(QListViewItem*)</signal>
|
||||||
|
<receiver>QPrefsDialogBase</receiver>
|
||||||
|
<slot>switchPane(QListViewItem *)</slot>
|
||||||
|
</connection>
|
||||||
<slot access="public">change_adaptor()</slot>
|
<slot access="public">change_adaptor()</slot>
|
||||||
|
<slot access="protected">defaultClicked()</slot>
|
||||||
|
<slot access="public">switchPane(QListViewItem *)</slot>
|
||||||
|
<slot access="protected">saveClicked()</slot>
|
||||||
|
<slot access="public">setTitle(int)</slot>
|
||||||
</connections>
|
</connections>
|
||||||
</UI>
|
</UI>
|
||||||
|
Loading…
Reference in New Issue
Block a user