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>
|
||||
|
||||
* Dialogs.C:
|
||||
|
@ -218,9 +218,24 @@ UIDIALOGS = \
|
||||
NumberingModuleBase.h NumberingModuleBase.C \
|
||||
BiblioModuleBase.h BiblioModuleBase.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 \
|
||||
QAskForTextDialog_moc.C \
|
||||
QBibitemDialogBase_moc.C \
|
||||
@ -264,4 +279,19 @@ UIMOCDIALOGS = \
|
||||
NumberingModuleBase_moc.C \
|
||||
BiblioModuleBase_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
|
||||
bc().setOK(dialog_->okPB);
|
||||
bc().setApply(dialog_->applyPB);
|
||||
bc().setCancel(dialog_->cancelPB);
|
||||
bc().setCancel(dialog_->closePB);
|
||||
bc().setRestore(dialog_->restorePB);
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
|
||||
form, SLOT(slotOK()));
|
||||
connect(applyPB, SIGNAL(clicked()),
|
||||
form, SLOT(slotApply()));
|
||||
connect(cancelPB, SIGNAL(clicked()),
|
||||
connect(closePB, SIGNAL(clicked()),
|
||||
form, SLOT(slotClose()));
|
||||
connect(restorePB, SIGNAL(clicked()),
|
||||
form, SLOT(slotRestore()));
|
||||
@ -84,15 +84,15 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
|
||||
biblioModule = new BiblioModuleBase(this);
|
||||
preambleModule = new PreambleModuleBase(this);
|
||||
|
||||
moduleStack->addWidget(layoutModule,LAYOUT);
|
||||
moduleStack->addWidget(paperModule,PAPER);
|
||||
moduleStack->addWidget(marginsModule,MARGINS);
|
||||
moduleStack->addWidget(packagesModule,PACKAGES);
|
||||
moduleStack->addWidget(langModule,LANGUAGE);
|
||||
moduleStack->addWidget(bulletsModule,BULLETS);
|
||||
moduleStack->addWidget(numberingModule,NUMBERING);
|
||||
moduleStack->addWidget(biblioModule,BIBLIOGRAPHY);
|
||||
moduleStack->addWidget(preambleModule,PREAMBLE);
|
||||
moduleStack->addWidget(layoutModule, LAYOUT);
|
||||
moduleStack->addWidget(paperModule, PAPER);
|
||||
moduleStack->addWidget(marginsModule, MARGINS);
|
||||
moduleStack->addWidget(packagesModule, PACKAGES);
|
||||
moduleStack->addWidget(langModule, LANGUAGE);
|
||||
moduleStack->addWidget(bulletsModule, BULLETS);
|
||||
moduleStack->addWidget(numberingModule, NUMBERING);
|
||||
moduleStack->addWidget(biblioModule, BIBLIOGRAPHY);
|
||||
moduleStack->addWidget(preambleModule, PREAMBLE);
|
||||
|
||||
moduleStack->raiseWidget(LAYOUT);
|
||||
|
||||
|
@ -20,34 +20,32 @@
|
||||
|
||||
#include "QPrefsDialog.h"
|
||||
|
||||
#include "ui/ClassModuleBase.h"
|
||||
#include "ui/PackagesModuleBase.h"
|
||||
#include "ui/PaperModuleBase.h"
|
||||
#include "ui/LanguageModuleBase.h"
|
||||
#include "ui/BulletsModuleBase.h"
|
||||
#include "BulletsModule.h"
|
||||
#include "ui/BiblioModuleBase.h"
|
||||
#include "ui/NumberingModuleBase.h"
|
||||
#include "ui/MarginsModuleBase.h"
|
||||
#include "ui/PreambleModuleBase.h"
|
||||
#include "ui/QPrefAsciiModule.h"
|
||||
#include "ui/QPrefDateModule.h"
|
||||
#include "ui/QPrefKeyboardModule.h"
|
||||
#include "ui/QPrefLatexModule.h"
|
||||
#include "ui/QPrefScreenFontsModule.h"
|
||||
#include "ui/QPrefColorsModule.h"
|
||||
#include "ui/QPrefDisplayModule.h"
|
||||
#include "ui/QPrefLNFMiscModule.h"
|
||||
#include "ui/QPrefPathsModule.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 "lyxrc.h"
|
||||
#include "buffer.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <qwidgetstack.h>
|
||||
#include <qlistbox.h>
|
||||
#include <qlabel.h>
|
||||
#include <qmultilineedit.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qspinbox.h>
|
||||
#include "lengthcombo.h"
|
||||
#include <qlistview.h>
|
||||
|
||||
using std::map;
|
||||
using std::endl;
|
||||
|
||||
QPrefsDialog::QPrefsDialog(QPrefs * form)
|
||||
: QPrefsDialogBase(0, 0, false, 0), form_(form)
|
||||
@ -61,6 +59,97 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
|
||||
form, SLOT(slotClose()));
|
||||
connect(restorePB, SIGNAL(clicked()),
|
||||
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();
|
||||
e->accept();
|
||||
}
|
||||
|
||||
|
||||
void QPrefsDialog::switchPane(QListViewItem * i)
|
||||
{
|
||||
prefsWS->raiseWidget(pane_map_[i]);
|
||||
}
|
||||
|
@ -18,7 +18,25 @@
|
||||
|
||||
#include "ui/QPrefsDialogBase.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
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 {
|
||||
Q_OBJECT
|
||||
@ -29,10 +47,68 @@ public:
|
||||
|
||||
~QPrefsDialog();
|
||||
|
||||
public slots:
|
||||
virtual void switchPane(QListViewItem * i);
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent * e);
|
||||
|
||||
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_;
|
||||
};
|
||||
|
||||
|
@ -77,6 +77,10 @@ PreambleModuleBase.C: PreambleModuleBase.h PreambleModuleBase.ui
|
||||
$(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
|
||||
$(UIC) $< -o $@
|
||||
|
@ -132,7 +132,7 @@
|
||||
<class>QPushButton</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>cancelPB</cstring>
|
||||
<cstring>closePB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
@ -155,7 +155,7 @@
|
||||
<slot>accept()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>cancelPB</sender>
|
||||
<sender>closePB</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>QAskForTextDialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
|
@ -172,7 +172,7 @@
|
||||
<class>QPushButton</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>cancelPB</cstring>
|
||||
<cstring>closePB</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefAsciiModuleBase</class>
|
||||
<class>QPrefAsciiModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefAsciiModuleBase</cstring>
|
||||
<cstring>QPrefAsciiModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>356</width>
|
||||
<width>348</width>
|
||||
<height>99</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,7 +1,9 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefColorsModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefColorsModule</cstring>
|
||||
@ -11,7 +13,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>317</width>
|
||||
<width>309</width>
|
||||
<height>259</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,18 +1,20 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefConvertersModuleBase</class>
|
||||
<class>QPrefConvertersModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefConvertersModuleBase</cstring>
|
||||
<cstring>QPrefConvertersModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>362</width>
|
||||
<height>263</height>
|
||||
<width>358</width>
|
||||
<height>261</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefDateModuleBase</class>
|
||||
<class>QPrefDateModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefDateModuleBase</cstring>
|
||||
<cstring>QPrefDateModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>291</width>
|
||||
<width>287</width>
|
||||
<height>53</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefDisplayModuleBase</class>
|
||||
<class>QPrefDisplayModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefDisplayModuleBase</cstring>
|
||||
<cstring>QPrefDisplayModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>248</width>
|
||||
<width>244</width>
|
||||
<height>102</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefFileformatsModuleBase</class>
|
||||
<class>QPrefFileformatsModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefFileformatsModuleBase</cstring>
|
||||
<cstring>QPrefFileformatsModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>349</width>
|
||||
<width>345</width>
|
||||
<height>261</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefKeyboardModuleBase</class>
|
||||
<class>QPrefKeyboardModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefKeyboardModuleBase</cstring>
|
||||
<cstring>QPrefKeyboardModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>358</width>
|
||||
<width>354</width>
|
||||
<height>253</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefLNFMiscBase</class>
|
||||
<class>QPrefLNFMiscModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefLNFMiscBase</cstring>
|
||||
<cstring>QPrefLNFMiscModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>248</width>
|
||||
<width>244</width>
|
||||
<height>211</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QLanguageModuleBase</class>
|
||||
<class>QPrefLanguageModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QLanguageModuleBase</cstring>
|
||||
<cstring>QPrefLanguageModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>322</width>
|
||||
<width>318</width>
|
||||
<height>258</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefLatexModuleBase</class>
|
||||
<class>QPrefLatexModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="global">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefLatexModuleBase</cstring>
|
||||
<cstring>QPrefLatexModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>359</width>
|
||||
<width>355</width>
|
||||
<height>237</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefLNFModuleBase</class>
|
||||
<class>QPrefPathsModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefLNFModuleBase</cstring>
|
||||
<cstring>QPrefPathsModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>366</width>
|
||||
<width>387</width>
|
||||
<height>297</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefPrinterModuleBase</class>
|
||||
<class>QPrefPrinterModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefPrinterModuleBase</cstring>
|
||||
<cstring>QPrefPrinterModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>328</width>
|
||||
<width>324</width>
|
||||
<height>307</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,7 +1,9 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefScreenFontsModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefScreenFontsModule</cstring>
|
||||
@ -11,7 +13,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>306</width>
|
||||
<width>302</width>
|
||||
<height>296</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,17 +1,19 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefSpellcheckerModuleBase</class>
|
||||
<class>QPrefSpellcheckerModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefSpellcheckerModuleBase</cstring>
|
||||
<cstring>QPrefSpellcheckerModule</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>geometry</name>
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>349</width>
|
||||
<width>345</width>
|
||||
<height>213</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -1,7 +1,9 @@
|
||||
<!DOCTYPE UI><UI>
|
||||
<class>QPrefUIModule</class>
|
||||
<include location="global">config.h</include>
|
||||
<include location="local">gettext.h</include>
|
||||
<widget>
|
||||
<class>QDialog</class>
|
||||
<class>QWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
<cstring>QPrefUIModule</cstring>
|
||||
@ -11,7 +13,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>328</width>
|
||||
<width>324</width>
|
||||
<height>191</height>
|
||||
</rect>
|
||||
</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>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>530</width>
|
||||
<height>473</height>
|
||||
<width>452</width>
|
||||
<height>382</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>caption</name>
|
||||
<string>Index</string>
|
||||
<string>Preferences</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>sizeGripEnabled</name>
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<vbox>
|
||||
<grid>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
<number>11</number>
|
||||
@ -34,196 +34,7 @@
|
||||
<name>spacing</name>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<widget>
|
||||
<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>
|
||||
<widget row="1" column="0" rowspan="1" colspan="2" >
|
||||
<class>QLayoutWidget</class>
|
||||
<property stdset="1">
|
||||
<name>name</name>
|
||||
@ -246,13 +57,13 @@
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>Restore</string>
|
||||
<string>&Restore</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property>
|
||||
<name>name</name>
|
||||
<cstring>Spacer2</cstring>
|
||||
<cstring>Spacer1</cstring>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>orientation</name>
|
||||
@ -278,11 +89,7 @@
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>Save</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>default</name>
|
||||
<bool>true</bool>
|
||||
<string>&Save</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget>
|
||||
@ -293,7 +100,7 @@
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>Apply</string>
|
||||
<string>&Apply</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget>
|
||||
@ -304,12 +111,112 @@
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>Close</string>
|
||||
<string>&Close</string>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</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>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
@ -325,6 +232,7 @@
|
||||
<verdata>7</verdata>
|
||||
</sizepolicy>
|
||||
<pixmap>image0</pixmap>
|
||||
<slot access="public">raiseWidget(int)</slot>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<images>
|
||||
@ -334,6 +242,16 @@
|
||||
</image>
|
||||
</images>
|
||||
<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="protected">defaultClicked()</slot>
|
||||
<slot access="public">switchPane(QListViewItem *)</slot>
|
||||
<slot access="protected">saveClicked()</slot>
|
||||
<slot access="public">setTitle(int)</slot>
|
||||
</connections>
|
||||
</UI>
|
||||
|
Loading…
Reference in New Issue
Block a user