prefs work

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5648 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-11-17 03:35:02 +00:00
parent 2260f1d442
commit 4e054c4dde
17 changed files with 1827 additions and 1355 deletions

View File

@ -1,3 +1,9 @@
2002-11-17 John Levon <levon@movementarian.org>
* ui/QPref*:
* QPrefsDialog.C:
* QPrefs.C: more work
2002-11-15 Edwin Leuven <leuven@fee.uva.nl> 2002-11-15 Edwin Leuven <leuven@fee.uva.nl>
* QTabular.C: compile fixes * QTabular.C: compile fixes

View File

@ -40,6 +40,7 @@
#include <qcheckbox.h> #include <qcheckbox.h>
#include <qlineedit.h> #include <qlineedit.h>
#include <qspinbox.h> #include <qspinbox.h>
#include <qcombobox.h>
typedef Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> > base_class; typedef Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> > base_class;
@ -464,6 +465,7 @@ void QPrefs::update_contents()
if (rc.autosave && !mins) if (rc.autosave && !mins)
mins = 1; mins = 1;
uimod->autoSaveSB->setValue(mins); uimod->autoSaveSB->setValue(mins);
uimod->autoSaveCB->setChecked(rc.make_backup);
QPrefKeyboardModule * keymod(dialog_->keyboardModule); QPrefKeyboardModule * keymod(dialog_->keyboardModule);
@ -492,6 +494,32 @@ void QPrefs::update_contents()
latexmod->latexAutoresetCB->setChecked(rc.auto_reset_options); latexmod->latexAutoresetCB->setChecked(rc.auto_reset_options);
latexmod->latexDviPaperED->setText(rc.view_dvi_paper_option.c_str()); latexmod->latexDviPaperED->setText(rc.view_dvi_paper_option.c_str());
QPrefDisplayModule * displaymod(dialog_->displayModule);
displaymod->previewCB->setChecked(rc.preview);
int item = 2;
switch (rc.display_graphics) {
case grfx::NoDisplay: item = 3; break;
case grfx::ColorDisplay: item = 2; break;
case grfx::GrayscaleDisplay: item = 1; break;
case grfx::MonochromeDisplay: item = 0; break;
}
displaymod->displayGraphicsCO->setCurrentItem(item);
QPrefPathsModule * pathsmod(dialog_->pathsModule);
pathsmod->workingDirED->setText(rc.document_path.c_str());
pathsmod->templateDirED->setText(rc.template_path.c_str());
pathsmod->backupDirED->setText(rc.backupdir_path.c_str());
pathsmod->tempDirCB->setChecked(rc.use_tempdir);
pathsmod->tempDirED->setText(rc.tempdir_path.c_str());
// FIXME: should be a checkbox only
pathsmod->lyxserverDirED->setText(rc.lyxpipes.c_str());
#if 0 #if 0
local_converters = converters; local_converters = converters;
local_converters.update(local_formats); local_converters.update(local_formats);
@ -503,58 +531,12 @@ void QPrefs::update_contents()
int const pos = int(findPos(lang_, rc.default_language)); int const pos = int(findPos(lang_, rc.default_language));
combo_default_lang->select(pos + 1); combo_default_lang->select(pos + 1);
fl_set_button(dialog_->check_preview_latex,
rc.preview);
switch (rc.display_graphics) {
case grfx::NoDisplay: fl_set_choice(dialog_->choice_display, 4); break;
case grfx::ColorDisplay: fl_set_choice(dialog_->choice_display, 3); break;
case grfx::GrayscaleDisplay: fl_set_choice(dialog_->choice_display, 2); break;
case grfx::MonochromeDisplay: fl_set_choice(dialog_->choice_display, 1); break;
default: fl_set_choice(dialog_->choice_display, 3); break;
}
fl_set_choice(dialog_->choice_default_papersize, fl_set_choice(dialog_->choice_default_papersize,
rc.default_papersize + 1); rc.default_papersize + 1);
fl_set_input(dialog_->input_default_path,
rc.document_path.c_str());
fl_set_input(dialog_->input_template_path,
rc.template_path.c_str());
string str;
if (rc.make_backup)
str = rc.backupdir_path;
fl_set_button(dialog_->check_make_backups,
rc.make_backup);
fl_set_input(dialog_->input_backup_path, str.c_str());
str.erase();
if (rc.use_tempdir)
str = rc.tempdir_path;
fl_set_button(dialog_->check_use_temp_dir,
rc.use_tempdir);
fl_set_input(dialog_->input_temp_dir, str.c_str());
str.erase();
if (rc.check_lastfiles)
str = rc.lastfiles;
fl_set_button(dialog_->check_last_files,
rc.check_lastfiles);
fl_set_input(dialog_->input_lastfiles, str.c_str());
fl_set_counter_value(dialog_->counter_lastfiles, fl_set_counter_value(dialog_->counter_lastfiles,
rc.num_lastfiles); rc.num_lastfiles);
fl_set_input(dialog_->input_serverpipe, rc.lyxpipes.c_str());
// Activate/Deactivate the input fields dependent on the state of the
// buttons.
input(0);
fl_set_button(dialog_->check_adapt_output, fl_set_button(dialog_->check_adapt_output,
rc.print_adapt_output); rc.print_adapt_output);
fl_set_input(dialog_->input_command, fl_set_input(dialog_->input_command,

View File

@ -68,8 +68,8 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
lnf->setOpen(true); lnf->setOpen(true);
QListViewItem * lan(new QListViewItem(prefsLV, lnf, _("Language settings"))); QListViewItem * lan(new QListViewItem(prefsLV, lnf, _("Language settings")));
lan->setSelectable(false); lan->setSelectable(false);
QListViewItem * adv(new QListViewItem(prefsLV, lan, _("Advanced settings"))); QListViewItem * out(new QListViewItem(prefsLV, lan, _("Outputs")));
adv->setSelectable(false); out->setSelectable(false);
asciiModule = new QPrefAsciiModule(prefsWS); asciiModule = new QPrefAsciiModule(prefsWS);
dateModule = new QPrefDateModule(prefsWS); dateModule = new QPrefDateModule(prefsWS);
@ -103,12 +103,6 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
QListViewItem * i; 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 // language settings
i = new QListViewItem(lan, _("Language")); i = new QListViewItem(lan, _("Language"));
@ -128,22 +122,27 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
pane_map_[i] = colorsModule; pane_map_[i] = colorsModule;
i = new QListViewItem(lnf, i, _("Graphics")); i = new QListViewItem(lnf, i, _("Graphics"));
pane_map_[i] = displayModule; pane_map_[i] = displayModule;
i = new QListViewItem(lnf, i, _("Keyboard"));
// rag bag of crap
i = new QListViewItem(prefsLV, lan, _("Ascii output"));
pane_map_[i] = asciiModule;
i = new QListViewItem(prefsLV, i, _("Date output"));
pane_map_[i] = dateModule;
i = new QListViewItem(prefsLV, i, _("Keyboard"));
pane_map_[i] = keyboardModule; pane_map_[i] = keyboardModule;
i = new QListViewItem(prefsLV, i, _("LaTeX"));
// output
i = new QListViewItem(out, _("Ascii"));
pane_map_[i] = asciiModule;
i = new QListViewItem(out, i, _("Date format"));
pane_map_[i] = dateModule;
i = new QListViewItem(out, i, _("LaTeX"));
pane_map_[i] = latexModule; pane_map_[i] = latexModule;
i = new QListViewItem(prefsLV, i, _("Paths")); i = new QListViewItem(out, i, _("Printer"));
pane_map_[i] = pathsModule;
i = new QListViewItem(prefsLV, i, _("Printer"));
pane_map_[i] = printerModule; pane_map_[i] = printerModule;
i = new QListViewItem(prefsLV, out, _("Paths"));
pane_map_[i] = pathsModule;
i = new QListViewItem(prefsLV, i, _("Converters"));
pane_map_[i] = convertersModule;
i = new QListViewItem(prefsLV, i, _("File formats"));
pane_map_[i] = fileformatsModule;
prefsLV->setMinimumSize(prefsLV->sizeHint()); prefsLV->setMinimumSize(prefsLV->sizeHint());
// Qt sucks // Qt sucks

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>348</width> <width>340</width>
<height>99</height> <height>99</height>
</rect> </rect>
</property> </property>
@ -21,7 +21,7 @@
<name>caption</name> <name>caption</name>
<string>ASCII settings</string> <string>ASCII settings</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,70 +30,125 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<widget row="0" column="0" > <widget>
<class>QLabel</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>asciiLinelengthLA</cstring> <cstring>Layout3</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Output &amp;line length:</string>
</property>
<property>
<name>buddy</name>
<cstring>asciiLinelengthSB</cstring>
</property> </property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>asciiRoffLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;roff command:</string>
</property>
<property>
<name>buddy</name>
<cstring>asciiRoffED</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout2</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>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>asciiLinelengthSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>120</number>
</property>
<property>
<name>toolTip</name>
<string>Max. line length of exported ASCII/LaTeX/ SGML files</string>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer6</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>asciiLinelengthLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Output &amp;line length:</string>
</property>
<property>
<name>buddy</name>
<cstring>asciiLinelengthSB</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>asciiRoffED</cstring>
</property>
<property>
<name>toolTip</name>
<string>External app for formating tables in ASCII output</string>
</property>
</widget>
</grid>
</widget> </widget>
<widget row="0" column="1" > <spacer>
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>asciiLinelengthSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>120</number>
</property>
<property>
<name>toolTip</name>
<string>Max. line length of exported ASCII/LaTeX/ SGML files</string>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>asciiRoffLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>ASCII &amp;roff:</string>
</property>
<property>
<name>buddy</name>
<cstring>asciiRoffED</cstring>
</property>
</widget>
<widget row="1" column="1" rowspan="1" colspan="2" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>asciiRoffED</cstring>
</property>
<property>
<name>toolTip</name>
<string>External app for formating tables in ASCII output</string>
</property>
</widget>
<spacer row="0" column="2" >
<property> <property>
<name>name</name> <name>name</name>
<cstring>Spacer6</cstring> <cstring>Spacer2</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>orientation</name> <name>orientation</name>
<enum>Horizontal</enum> <enum>Vertical</enum>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>sizeType</name> <name>sizeType</name>
@ -107,6 +162,6 @@
</size> </size>
</property> </property>
</spacer> </spacer>
</grid> </vbox>
</widget> </widget>
</UI> </UI>

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>309</width> <width>305</width>
<height>259</height> <height>259</height>
</rect> </rect>
</property> </property>

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>358</width> <width>354</width>
<height>261</height> <height>261</height>
</rect> </rect>
</property> </property>
@ -191,4 +191,13 @@
</spacer> </spacer>
</grid> </grid>
</widget> </widget>
<tabstops>
<tabstop>convertersLB</tabstop>
<tabstop>converterFromCO</tabstop>
<tabstop>converterToCO</tabstop>
<tabstop>converterED</tabstop>
<tabstop>converterFlagED</tabstop>
<tabstop>converterAddPB</tabstop>
<tabstop>converterDeletePB</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,15 +13,15 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>287</width> <width>279</width>
<height>53</height> <height>91</height>
</rect> </rect>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>caption</name> <name>caption</name>
<string>Date Format</string> <string>Date Format</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,7 +30,7 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<widget row="0" column="0" > <widget>
<class>QLayoutWidget</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -73,6 +73,27 @@
</widget> </widget>
</hbox> </hbox>
</widget> </widget>
</grid> <spacer>
<property>
<name>name</name>
<cstring>Spacer1</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</vbox>
</widget> </widget>
</UI> </UI>

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>244</width> <width>240</width>
<height>102</height> <height>102</height>
</rect> </rect>
</property> </property>
@ -21,7 +21,7 @@
<name>caption</name> <name>caption</name>
<string>Display insets</string> <string>Display insets</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,7 +30,7 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<widget row="0" column="0" > <widget>
<class>QLayoutWidget</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -93,7 +93,7 @@
</widget> </widget>
</grid> </grid>
</widget> </widget>
<widget row="1" column="0" > <widget>
<class>QCheckBox</class> <class>QCheckBox</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -104,6 +104,27 @@
<string>Instant &amp;preview</string> <string>Instant &amp;preview</string>
</property> </property>
</widget> </widget>
</grid> <spacer>
<property>
<name>name</name>
<cstring>Spacer1</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</vbox>
</widget> </widget>
</UI> </UI>

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>345</width> <width>341</width>
<height>261</height> <height>261</height>
</rect> </rect>
</property> </property>
@ -213,4 +213,14 @@
</widget> </widget>
</grid> </grid>
</widget> </widget>
<tabstops>
<tabstop>formatsLB</tabstop>
<tabstop>formatED</tabstop>
<tabstop>guiNameED</tabstop>
<tabstop>shortcutED</tabstop>
<tabstop>extensionED</tabstop>
<tabstop>viewerED</tabstop>
<tabstop>formatAddPB</tabstop>
<tabstop>formatDeletePB</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>350</width> <width>342</width>
<height>253</height> <height>253</height>
</rect> </rect>
</property> </property>
@ -75,6 +75,10 @@
<name>text</name> <name>text</name>
<string>Bro&amp;wse...</string> <string>Bro&amp;wse...</string>
</property> </property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget> </widget>
<widget row="2" column="0" > <widget row="2" column="0" >
<class>QLabel</class> <class>QLabel</class>
@ -116,6 +120,10 @@
<name>text</name> <name>text</name>
<string>Br&amp;owse...</string> <string>Br&amp;owse...</string>
</property> </property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget> </widget>
<widget row="0" column="0" rowspan="1" colspan="3" > <widget row="0" column="0" rowspan="1" colspan="3" >
<class>QCheckBox</class> <class>QCheckBox</class>
@ -130,4 +138,11 @@
</widget> </widget>
</grid> </grid>
</widget> </widget>
<tabstops>
<tabstop>keymapCB</tabstop>
<tabstop>firstKeymapED</tabstop>
<tabstop>firstKeymapPB</tabstop>
<tabstop>secondKeymapED</tabstop>
<tabstop>secondKeymapPB</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,8 +13,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>318</width> <width>333</width>
<height>258</height> <height>323</height>
</rect> </rect>
</property> </property>
<property stdset="1"> <property stdset="1">
@ -59,61 +59,6 @@
<cstring>startCommandED</cstring> <cstring>startCommandED</cstring>
</property> </property>
</widget> </widget>
<widget row="5" column="0" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>useBabelCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Use &amp;babel</string>
</property>
</widget>
<widget row="6" column="0" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>globalCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Global</string>
</property>
</widget>
<widget row="8" column="0" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>autoEndCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Auto &amp;end</string>
</property>
</widget>
<widget row="5" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>markForeignCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Mark &amp;foreign languages</string>
</property>
</widget>
<widget row="6" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>rtlCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;RtL support</string>
</property>
</widget>
<widget row="1" column="1" > <widget row="1" column="1" >
<class>QLineEdit</class> <class>QLineEdit</class>
<property stdset="1"> <property stdset="1">
@ -158,17 +103,6 @@
<cstring>endCommandED</cstring> <cstring>endCommandED</cstring>
</property> </property>
</widget> </widget>
<widget row="7" column="0" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>autoBeginCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Auto &amp;begin</string>
</property>
</widget>
<widget row="1" column="0" > <widget row="1" column="0" >
<class>QLabel</class> <class>QLabel</class>
<property stdset="1"> <property stdset="1">
@ -184,7 +118,29 @@
<cstring>languagePackageED</cstring> <cstring>languagePackageED</cstring>
</property> </property>
</widget> </widget>
<spacer row="7" column="1" rowspan="2" colspan="1" > <widget row="6" column="0" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>autoBeginCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Auto &amp;begin</string>
</property>
</widget>
<widget row="4" column="0" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>useBabelCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Use &amp;babel</string>
</property>
</widget>
<spacer row="6" column="1" rowspan="2" colspan="1" >
<property> <property>
<name>name</name> <name>name</name>
<cstring>Spacer1</cstring> <cstring>Spacer1</cstring>
@ -205,28 +161,51 @@
</size> </size>
</property> </property>
</spacer> </spacer>
<spacer row="4" column="1" > <widget row="5" column="0" >
<property> <class>QCheckBox</class>
<property stdset="1">
<name>name</name> <name>name</name>
<cstring>Spacer2</cstring> <cstring>globalCB</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>orientation</name> <name>text</name>
<enum>Vertical</enum> <string>&amp;Global</string>
</property>
</widget>
<widget row="5" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>rtlCB</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>sizeType</name> <name>text</name>
<enum>Expanding</enum> <string>&amp;Right-to-left language support</string>
</property> </property>
<property> </widget>
<name>sizeHint</name> <widget row="7" column="0" >
<size> <class>QCheckBox</class>
<width>20</width> <property stdset="1">
<height>20</height> <name>name</name>
</size> <cstring>autoEndCB</cstring>
</property> </property>
</spacer> <property stdset="1">
<spacer row="4" column="0" > <name>text</name>
<string>Auto &amp;end</string>
</property>
</widget>
<widget row="4" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>markForeignCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Mark &amp;foreign languages</string>
</property>
</widget>
<spacer row="8" column="0" >
<property> <property>
<name>name</name> <name>name</name>
<cstring>Spacer3</cstring> <cstring>Spacer3</cstring>
@ -247,6 +226,39 @@
</size> </size>
</property> </property>
</spacer> </spacer>
<spacer row="8" column="1" >
<property>
<name>name</name>
<cstring>Spacer2</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</grid> </grid>
</widget> </widget>
<tabstops>
<tabstop>defaultLanguageCO</tabstop>
<tabstop>languagePackageED</tabstop>
<tabstop>startCommandED</tabstop>
<tabstop>endCommandED</tabstop>
<tabstop>useBabelCB</tabstop>
<tabstop>globalCB</tabstop>
<tabstop>autoBeginCB</tabstop>
<tabstop>autoEndCB</tabstop>
<tabstop>markForeignCB</tabstop>
<tabstop>rtlCB</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>355</width> <width>347</width>
<height>237</height> <height>237</height>
</rect> </rect>
</property> </property>
@ -21,7 +21,7 @@
<name>caption</name> <name>caption</name>
<string>LaTeX settings</string> <string>LaTeX settings</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,58 +30,121 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<widget row="1" column="0" > <widget>
<class>QLabel</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>latexPaperSizeLA</cstring> <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>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="1" column="1" >
<class>QComboBox</class>
<property stdset="1">
<name>name</name>
<cstring>latexPaperSizeCO</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>latexEncodingED</cstring>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>latexEncodingLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Te&amp;X encoding:</string>
</property>
<property>
<name>buddy</name>
<cstring>latexEncodingED</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>latexPaperSizeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Default paper si&amp;ze:</string>
</property>
<property>
<name>buddy</name>
<cstring>latexPaperSizeCO</cstring>
</property>
</widget>
</grid>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer4</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>
</hbox>
</widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>latexAutoresetCB</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>text</name>
<string>Default paper si&amp;ze:</string> <string>&amp;Reset class options when document class changes</string>
</property> </property>
<property> <property>
<name>buddy</name> <name>toolTip</name>
<cstring>latexPaperSizeCO</cstring> <string>Set class options to default on class change</string>
</property> </property>
</widget> </widget>
<spacer row="3" column="1" > <widget>
<property>
<name>name</name>
<cstring>Spacer2</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>latexEncodingLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Te&amp;X encoding:</string>
</property>
<property>
<name>buddy</name>
<cstring>latexEncodingED</cstring>
</property>
</widget>
<widget row="4" column="0" rowspan="1" colspan="2" >
<class>QGroupBox</class> <class>QGroupBox</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -108,7 +171,7 @@
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>text</name>
<string>Chec&amp;kTeX:</string> <string>Chec&amp;kTeX command :</string>
</property> </property>
<property> <property>
<name>buddy</name> <name>buddy</name>
@ -123,7 +186,7 @@
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>text</name>
<string>DVI paper size:</string> <string>DVI viewer paper size options:</string>
</property> </property>
<property> <property>
<name>buddy</name> <name>buddy</name>
@ -154,35 +217,34 @@
</widget> </widget>
</grid> </grid>
</widget> </widget>
<widget row="2" column="1" > <spacer>
<class>QCheckBox</class> <property>
<property stdset="1">
<name>name</name> <name>name</name>
<cstring>latexAutoresetCB</cstring> <cstring>Spacer3</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>orientation</name>
<string>Auto&amp;reset class options</string> <enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property> </property>
<property> <property>
<name>toolTip</name> <name>sizeHint</name>
<string>Set class options to default on class change</string> <size>
<width>20</width>
<height>20</height>
</size>
</property> </property>
</widget> </spacer>
<widget row="1" column="1" > </vbox>
<class>QComboBox</class>
<property stdset="1">
<name>name</name>
<cstring>latexPaperSizeCO</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>latexEncodingED</cstring>
</property>
</widget>
</grid>
</widget> </widget>
<tabstops>
<tabstop>latexEncodingED</tabstop>
<tabstop>latexPaperSizeCO</tabstop>
<tabstop>latexAutoresetCB</tabstop>
<tabstop>latexChecktexED</tabstop>
<tabstop>latexDviPaperED</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,15 +13,15 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>387</width> <width>294</width>
<height>297</height> <height>196</height>
</rect> </rect>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>caption</name> <name>caption</name>
<string>Form1</string> <string>Form1</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,42 +30,208 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<spacer row="0" column="0" rowspan="1" colspan="3" > <widget>
<property> <class>QLayoutWidget</class>
<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 row="1" column="2" >
<class>QPushButton</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>wokingDirPB</cstring> <cstring>Layout2</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property> </property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="4" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>tempDirED</cstring>
</property>
</widget>
<widget row="1" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>templateDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
<widget row="0" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>workingDirED</cstring>
</property>
</widget>
<widget row="4" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>tempDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
<widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>templateDirED</cstring>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>backupDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Backup directory :</string>
</property>
<property>
<name>buddy</name>
<cstring>backupDirED</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>templateDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Document templates :</string>
</property>
<property>
<name>buddy</name>
<cstring>templateDirED</cstring>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>lyxserverDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Ly&amp;XServer pipe :</string>
</property>
<property>
<name>buddy</name>
<cstring>lyxserverDirED</cstring>
</property>
</widget>
<widget row="4" column="0" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>tempDirCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Use temporary directory</string>
</property>
</widget>
<widget row="3" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>backupDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>backupDirED</cstring>
</property>
</widget>
<widget row="0" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>workingDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>workingDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Working directory :</string>
</property>
<property>
<name>buddy</name>
<cstring>workingDirED</cstring>
</property>
</widget>
<widget row="3" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>lyxserverDirED</cstring>
</property>
</widget>
<widget row="2" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>lyxserverDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
<property stdset="1">
<name>autoDefault</name>
<bool>false</bool>
</property>
</widget>
</grid>
</widget> </widget>
<spacer row="8" column="1" > <spacer>
<property> <property>
<name>name</name> <name>name</name>
<cstring>Spacer2</cstring> <cstring>Spacer9</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>orientation</name> <name>orientation</name>
@ -83,266 +249,33 @@
</size> </size>
</property> </property>
</spacer> </spacer>
<spacer row="4" column="2" > </vbox>
<property>
<name>name</name>
<cstring>Spacer7</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget row="2" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>templateDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
</widget>
<widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>workingDirED</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>workingDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Working directory:</string>
</property>
<property>
<name>buddy</name>
<cstring>workingDirED</cstring>
</property>
</widget>
<widget row="4" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>tempDirCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Use temporary directory</string>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>tempDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Te&amp;mporary Directory:</string>
</property>
<property>
<name>buddy</name>
<cstring>tempDirED</cstring>
</property>
</widget>
<widget row="3" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>tempDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
</widget>
<widget row="6" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>backupDirCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Use backup &amp;directory</string>
</property>
</widget>
<widget row="5" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>backupDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Backups:</string>
</property>
<property>
<name>buddy</name>
<cstring>backupDirED</cstring>
</property>
</widget>
<widget row="5" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>backupDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
</widget>
<widget row="7" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>lyxserverDirPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Browse...</string>
</property>
</widget>
<widget row="7" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>lyxserverDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Ly&amp;XServer pipe:</string>
</property>
<property>
<name>buddy</name>
<cstring>lyxserverDirED</cstring>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>templateDirED</cstring>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>templateDirLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Templates:</string>
</property>
<property>
<name>buddy</name>
<cstring>templateDirED</cstring>
</property>
</widget>
<spacer row="6" column="0" >
<property>
<name>name</name>
<cstring>Spacer6</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="4" column="0" >
<property>
<name>name</name>
<cstring>Spacer5</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="6" column="2" >
<property>
<name>name</name>
<cstring>Spacer8</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget row="3" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>tempDirED</cstring>
</property>
</widget>
<widget row="5" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>backupDirED</cstring>
</property>
</widget>
<widget row="7" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>lyxserverDirED</cstring>
</property>
</widget>
</grid>
</widget> </widget>
<connections>
<connection>
<sender>tempDirCB</sender>
<signal>toggled(bool)</signal>
<receiver>tempDirED</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>tempDirCB</sender>
<signal>toggled(bool)</signal>
<receiver>tempDirPB</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>workingDirED</tabstop>
<tabstop>workingDirPB</tabstop>
<tabstop>templateDirED</tabstop>
<tabstop>templateDirPB</tabstop>
<tabstop>backupDirED</tabstop>
<tabstop>lyxserverDirPB</tabstop>
<tabstop>lyxserverDirED</tabstop>
<tabstop>backupDirPB</tabstop>
<tabstop>tempDirCB</tabstop>
<tabstop>tempDirED</tabstop>
<tabstop>tempDirPB</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,15 +13,15 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>324</width> <width>385</width>
<height>307</height> <height>384</height>
</rect> </rect>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>caption</name> <name>caption</name>
<string>Printer settings</string> <string>Printer settings</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,48 +30,125 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<widget row="0" column="0" > <widget>
<class>QLabel</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>printerNameLA</cstring> <cstring>Layout3</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Name:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerNameED</cstring>
</property> </property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout2</cstring>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerNameLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Printer &amp;name :</string>
</property>
<property>
<name>buddy</name>
<cstring>printerNameED</cstring>
</property>
</widget>
<widget row="2" column="2" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerCommandED</cstring>
</property>
</widget>
<widget row="2" column="0" rowspan="1" colspan="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerCommandLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Printer co&amp;mmand:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerCommandED</cstring>
</property>
</widget>
<widget row="0" column="1" rowspan="1" colspan="2" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerNameED</cstring>
</property>
<property>
<name>toolTip</name>
<string>Name of the default printer</string>
</property>
</widget>
<widget row="1" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>printerAdaptCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Adapt outp&amp;ut</string>
</property>
<property>
<name>toolTip</name>
<string>Use printer name explicitely</string>
</property>
</widget>
</grid>
</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>
</hbox>
</widget> </widget>
<widget row="0" column="1" > <widget>
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerNameED</cstring>
</property>
<property>
<name>toolTip</name>
<string>Name of the default printer</string>
</property>
</widget>
<widget row="0" column="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>printerAdaptCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Adapt outp&amp;ut</string>
</property>
<property>
<name>toolTip</name>
<string>Use printer name explicitely</string>
</property>
</widget>
<widget row="1" column="0" rowspan="1" colspan="3" >
<class>QGroupBox</class> <class>QGroupBox</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -79,7 +156,7 @@
</property> </property>
<property stdset="1"> <property stdset="1">
<name>title</name> <name>title</name>
<string>Commands and flags</string> <string>Command options</string>
</property> </property>
<grid> <grid>
<property stdset="1"> <property stdset="1">
@ -90,116 +167,7 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<widget row="1" column="0" > <widget row="4" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerPageRangeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Pa&amp;ge range:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerPageRangeED</cstring>
</property>
</widget>
<widget row="1" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerOddED</cstring>
</property>
</widget>
<widget row="0" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerEvenED</cstring>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerCommandLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Co&amp;mmand:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerCommandED</cstring>
</property>
</widget>
<widget row="6" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerSpoolPrefixED</cstring>
</property>
</widget>
<widget row="3" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerLandscapeED</cstring>
</property>
</widget>
<widget row="4" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerToFileED</cstring>
</property>
</widget>
<widget row="2" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerCollatedED</cstring>
</property>
</widget>
<widget row="5" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerExtraED</cstring>
</property>
</widget>
<widget row="2" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerCollatedLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Co&amp;llated:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerCollatedED</cstring>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerCopiesLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Co&amp;pies:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerCopiesED</cstring>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class> <class>QLabel</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -214,7 +182,21 @@
<cstring>printerReverseED</cstring> <cstring>printerReverseED</cstring>
</property> </property>
</widget> </widget>
<widget row="4" column="0" > <widget row="2" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerCollatedED</cstring>
</property>
</widget>
<widget row="4" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerReverseED</cstring>
</property>
</widget>
<widget row="5" column="0" >
<class>QLabel</class> <class>QLabel</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -229,174 +211,6 @@
<cstring>printerToPrinterED</cstring> <cstring>printerToPrinterED</cstring>
</property> </property>
</widget> </widget>
<widget row="5" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerExtensionLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>File ex&amp;tension:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerExtensionED</cstring>
</property>
</widget>
<widget row="3" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerLandscapeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Lan&amp;dscape:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerLandscapeED</cstring>
</property>
</widget>
<widget row="7" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerPaperTypeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Paper t&amp;ype:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerPaperTypeED</cstring>
</property>
</widget>
<widget row="0" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerEvenLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Even pages:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerEvenED</cstring>
</property>
</widget>
<widget row="1" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerOddLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Odd pages:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerOddED</cstring>
</property>
</widget>
<widget row="4" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerToFileLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>To &amp;file:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerToFileED</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerPageRangeED</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerCommandED</cstring>
</property>
</widget>
<widget row="7" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerPaperTypeED</cstring>
</property>
</widget>
<widget row="3" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerReverseED</cstring>
</property>
</widget>
<widget row="6" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerSpoolCommandED</cstring>
</property>
</widget>
<widget row="4" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerToPrinterED</cstring>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerCopiesED</cstring>
</property>
</widget>
<widget row="5" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerExtensionED</cstring>
</property>
</widget>
<widget row="6" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerSpoolCommandLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Spool &amp;command:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerSpoolCommandED</cstring>
</property>
</widget>
<widget row="7" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerPaperSizeED</cstring>
</property>
</widget>
<widget row="7" column="2" > <widget row="7" column="2" >
<class>QLabel</class> <class>QLabel</class>
<property stdset="1"> <property stdset="1">
@ -412,21 +226,129 @@
<cstring>printerPaperSizeED</cstring> <cstring>printerPaperSizeED</cstring>
</property> </property>
</widget> </widget>
<widget row="6" column="2" > <widget row="1" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerOddED</cstring>
</property>
</widget>
<widget row="7" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerPaperSizeED</cstring>
</property>
</widget>
<widget row="4" column="2" >
<class>QLabel</class> <class>QLabel</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>printerSpoolPrefixLA</cstring> <cstring>printerToFileLA</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>text</name>
<string>Spool pref&amp;ix:</string> <string>To &amp;file:</string>
</property> </property>
<property> <property>
<name>buddy</name> <name>buddy</name>
<cstring>printerToFileED</cstring>
</property>
</widget>
<widget row="6" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerExtensionED</cstring>
</property>
</widget>
<widget row="5" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerExtraED</cstring>
</property>
</widget>
<widget row="7" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerSpoolCommandED</cstring>
</property>
</widget>
<widget row="7" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerSpoolCommandLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Spool &amp;command:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerSpoolCommandED</cstring>
</property>
</widget>
<widget row="6" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerSpoolPrefixED</cstring> <cstring>printerSpoolPrefixED</cstring>
</property> </property>
</widget> </widget>
<widget row="3" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerCopiesED</cstring>
</property>
</widget>
<widget row="1" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerOddLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Odd pages:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerOddED</cstring>
</property>
</widget>
<widget row="4" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerToFileED</cstring>
</property>
</widget>
<widget row="8" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerPaperTypeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Paper t&amp;ype:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerPaperTypeED</cstring>
</property>
</widget>
<widget row="8" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerPaperTypeED</cstring>
</property>
</widget>
<widget row="5" column="2" > <widget row="5" column="2" >
<class>QLabel</class> <class>QLabel</class>
<property stdset="1"> <property stdset="1">
@ -442,8 +364,193 @@
<cstring>printerExtraED</cstring> <cstring>printerExtraED</cstring>
</property> </property>
</widget> </widget>
<widget row="6" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerSpoolPrefixLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Spool pref&amp;ix:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerSpoolPrefixED</cstring>
</property>
</widget>
<widget row="5" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerToPrinterED</cstring>
</property>
</widget>
<widget row="2" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerCollatedLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Co&amp;llated:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerCollatedED</cstring>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerPageRangeED</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerEvenLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Even pages:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerEvenED</cstring>
</property>
</widget>
<widget row="6" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerExtensionLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>File ex&amp;tension:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerExtensionED</cstring>
</property>
</widget>
<widget row="3" column="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerLandscapeED</cstring>
</property>
</widget>
<widget row="3" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerLandscapeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Lan&amp;dscape:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerLandscapeED</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>printerEvenED</cstring>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerCopiesLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Co&amp;pies:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerCopiesED</cstring>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>printerPageRangeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Pa&amp;ge range:</string>
</property>
<property>
<name>buddy</name>
<cstring>printerPageRangeED</cstring>
</property>
</widget>
<widget row="0" column="0" rowspan="1" colspan="4" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel1</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Specify the command option names for your printer command</string>
</property>
</widget>
</grid> </grid>
</widget> </widget>
</grid> <spacer>
<property>
<name>name</name>
<cstring>Spacer2</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</vbox>
</widget> </widget>
<tabstops>
<tabstop>printerNameED</tabstop>
<tabstop>printerAdaptCB</tabstop>
<tabstop>printerCommandED</tabstop>
<tabstop>printerEvenED</tabstop>
<tabstop>printerPageRangeED</tabstop>
<tabstop>printerCopiesED</tabstop>
<tabstop>printerReverseED</tabstop>
<tabstop>printerToPrinterED</tabstop>
<tabstop>printerExtensionED</tabstop>
<tabstop>printerSpoolCommandED</tabstop>
<tabstop>printerPaperTypeED</tabstop>
<tabstop>printerOddED</tabstop>
<tabstop>printerCollatedED</tabstop>
<tabstop>printerLandscapeED</tabstop>
<tabstop>printerToFileED</tabstop>
<tabstop>printerExtraED</tabstop>
<tabstop>printerSpoolPrefixED</tabstop>
<tabstop>printerPaperSizeED</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,15 +13,15 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>302</width> <width>278</width>
<height>296</height> <height>353</height>
</rect> </rect>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>caption</name> <name>caption</name>
<string>Screen Fonts</string> <string>Screen Fonts</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,66 +30,230 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<widget row="1" column="5" rowspan="1" colspan="2" > <widget>
<class>QPushButton</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>screenSansPB</cstring> <cstring>Layout17</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>C&amp;hoose...</string>
</property> </property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="1" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>screenSansPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>C&amp;hoose...</string>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>screenTypewriterED</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>screenSansED</cstring>
</property>
</widget>
<widget row="0" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>screenRomanPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Ch&amp;oose...</string>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>screenRomanLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Roman:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenRomanED</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>screenRomanED</cstring>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>screenTypewriterLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>T&amp;ypewriter:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenTypewriterED</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>screenSansLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Sa&amp;ns Serif:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenSansED</cstring>
</property>
</widget>
<widget row="2" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>screenTypewriterPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Choos&amp;e...</string>
</property>
</widget>
</grid>
</widget> </widget>
<widget row="4" column="0" > <widget>
<class>QLabel</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>screenZoomLA</cstring> <cstring>Layout19</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Zoom %:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenZoomSB</cstring>
</property> </property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout18</cstring>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>scrrenDpiLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Screen &amp;DPI:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenDpiSB</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>screenDpiSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>999</number>
</property>
</widget>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>screenZoomLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Zoom %:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenZoomSB</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>screenZoomSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>999</number>
</property>
</widget>
</grid>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer23</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>
</hbox>
</widget> </widget>
<widget row="2" column="5" rowspan="1" colspan="2" > <widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>screenTypewriterPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Choos&amp;e...</string>
</property>
</widget>
<widget row="0" column="5" rowspan="1" colspan="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>screenRomanPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Ch&amp;oose...</string>
</property>
</widget>
<widget row="4" column="1" rowspan="1" colspan="2" >
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>screenZoomSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>999</number>
</property>
</widget>
<widget row="3" column="0" rowspan="1" colspan="7" >
<class>QGroupBox</class> <class>QGroupBox</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
@ -97,7 +261,7 @@
</property> </property>
<property stdset="1"> <property stdset="1">
<name>title</name> <name>title</name>
<string>Size</string> <string>Font sizes</string>
</property> </property>
<grid> <grid>
<property stdset="1"> <property stdset="1">
@ -330,119 +494,26 @@
</widget> </widget>
</grid> </grid>
</widget> </widget>
<widget row="4" column="6" > </vbox>
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>screenDpiSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>999</number>
</property>
</widget>
<widget row="4" column="4" rowspan="1" colspan="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>scrrenDpiLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Screen &amp;dpi:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenDpiSB</cstring>
</property>
</widget>
<spacer row="4" column="3" >
<property>
<name>name</name>
<cstring>Spacer3</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 row="0" column="0" rowspan="1" colspan="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>screenRomanLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Roman:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenRomanED</cstring>
</property>
</widget>
<widget row="1" column="0" rowspan="1" colspan="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>screenSansLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Sa&amp;ns Serif:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenSansED</cstring>
</property>
</widget>
<widget row="2" column="0" rowspan="1" colspan="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>screenTypewriterLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>T&amp;ypewriter:</string>
</property>
<property>
<name>buddy</name>
<cstring>screenTypewriterED</cstring>
</property>
</widget>
<widget row="0" column="2" rowspan="1" colspan="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>screenRomanED</cstring>
</property>
</widget>
<widget row="1" column="2" rowspan="1" colspan="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>screenSansED</cstring>
</property>
</widget>
<widget row="2" column="2" rowspan="1" colspan="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>screenTypewriterED</cstring>
</property>
</widget>
</grid>
</widget> </widget>
<tabstops>
<tabstop>screenRomanED</tabstop>
<tabstop>screenRomanPB</tabstop>
<tabstop>screenSansED</tabstop>
<tabstop>screenSansPB</tabstop>
<tabstop>screenTypewriterED</tabstop>
<tabstop>screenTypewriterPB</tabstop>
<tabstop>screenZoomSB</tabstop>
<tabstop>screenDpiSB</tabstop>
<tabstop>scrrenTinyED</tabstop>
<tabstop>screenSmallestED</tabstop>
<tabstop>screenSmallerED</tabstop>
<tabstop>screenSmallED</tabstop>
<tabstop>screenNormalED</tabstop>
<tabstop>screenLargeED</tabstop>
<tabstop>screenLargerED</tabstop>
<tabstop>screenLargestED</tabstop>
<tabstop>screenHugeED</tabstop>
<tabstop>screenHugerED</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,7 +13,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>345</width> <width>341</width>
<height>213</height> <height>213</height>
</rect> </rect>
</property> </property>
@ -21,7 +21,7 @@
<name>caption</name> <name>caption</name>
<string>Spell checker</string> <string>Spell checker</string>
</property> </property>
<grid> <vbox>
<property stdset="1"> <property stdset="1">
<name>margin</name> <name>margin</name>
<number>11</number> <number>11</number>
@ -30,7 +30,220 @@
<name>spacing</name> <name>spacing</name>
<number>6</number> <number>6</number>
</property> </property>
<spacer row="4" column="1" > <widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout16</cstring>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>spellCommandLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Spell chec&amp;ker program:</string>
</property>
<property>
<name>buddy</name>
<cstring>spellCommandCO</cstring>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>escapeCharactersED</cstring>
</property>
</widget>
<spacer row="0" column="2" >
<property>
<name>name</name>
<cstring>Spacer13</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 row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>altLanguageED</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>altLanguageLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Al&amp;ternative language:</string>
</property>
<property>
<name>buddy</name>
<cstring>altLanguageED</cstring>
</property>
</widget>
<widget row="3" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>persDictionaryPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Br&amp;owse...</string>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>escapeCharactersLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Escape Cha&amp;racters:</string>
</property>
<property>
<name>buddy</name>
<cstring>escapeCharactersED</cstring>
</property>
</widget>
<spacer row="2" column="2" >
<property>
<name>name</name>
<cstring>Spacer11</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 row="3" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>persDictionaryED</cstring>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>persDictionaryLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Personal &amp;dictionary:</string>
</property>
<property>
<name>buddy</name>
<cstring>persDictionaryED</cstring>
</property>
</widget>
<widget row="0" column="1" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>ispell</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>aspell</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>spellCommandCO</cstring>
</property>
</widget>
<spacer row="1" column="2" >
<property>
<name>name</name>
<cstring>Spacer12</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>compoundWordCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Accept compound &amp;words</string>
</property>
</widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>inputEncodingCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Use input encod&amp;ing</string>
</property>
</widget>
<spacer>
<property> <property>
<name>name</name> <name>name</name>
<cstring>Spacer17</cstring> <cstring>Spacer17</cstring>
@ -51,202 +264,15 @@
</size> </size>
</property> </property>
</spacer> </spacer>
<widget row="0" column="0" > </vbox>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>spellCommandLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Spell chec&amp;ker program:</string>
</property>
<property>
<name>buddy</name>
<cstring>spellCommandCO</cstring>
</property>
</widget>
<spacer row="0" column="2" >
<property>
<name>name</name>
<cstring>Spacer13</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="1" column="2" >
<property>
<name>name</name>
<cstring>Spacer12</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 row="1" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>altLanguageED</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>altLanguageLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Al&amp;ternative language:</string>
</property>
<property>
<name>buddy</name>
<cstring>altLanguageED</cstring>
</property>
</widget>
<widget row="6" column="0" rowspan="1" colspan="3" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>inputEncodingCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Use input encod&amp;ing</string>
</property>
</widget>
<spacer row="2" column="2" >
<property>
<name>name</name>
<cstring>Spacer11</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 row="5" column="0" rowspan="1" colspan="3" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>compoundWordCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Accept compound &amp;words</string>
</property>
</widget>
<widget row="0" column="1" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>ispell</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>aspell</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>spellCommandCO</cstring>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>escapeCharactersLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Escape Cha&amp;racters:</string>
</property>
<property>
<name>buddy</name>
<cstring>escapeCharactersED</cstring>
</property>
</widget>
<widget row="2" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>escapeCharactersED</cstring>
</property>
</widget>
<widget row="3" column="1" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>persDictionaryED</cstring>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>persDictionaryLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Personal &amp;dictionary:</string>
</property>
<property>
<name>buddy</name>
<cstring>persDictionaryED</cstring>
</property>
</widget>
<widget row="3" column="2" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>persDictionaryPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Br&amp;owse...</string>
</property>
</widget>
</grid>
</widget> </widget>
<tabstops>
<tabstop>spellCommandCO</tabstop>
<tabstop>altLanguageED</tabstop>
<tabstop>escapeCharactersED</tabstop>
<tabstop>persDictionaryED</tabstop>
<tabstop>persDictionaryPB</tabstop>
<tabstop>compoundWordCB</tabstop>
<tabstop>inputEncodingCB</tabstop>
</tabstops>
</UI> </UI>

View File

@ -13,8 +13,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>336</width> <width>329</width>
<height>294</height> <height>250</height>
</rect> </rect>
</property> </property>
<property stdset="1"> <property stdset="1">
@ -117,7 +117,7 @@
<class>QLayoutWidget</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>Layout1</cstring> <cstring>Layout15</cstring>
</property> </property>
<hbox> <hbox>
<property stdset="1"> <property stdset="1">
@ -129,35 +129,84 @@
<number>6</number> <number>6</number>
</property> </property>
<widget> <widget>
<class>QLabel</class> <class>QGroupBox</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>lastfilesLA</cstring> <cstring>scrollGB</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>title</name>
<string>&amp;Maximum last files :</string> <string>Scrolling</string>
</property>
<property>
<name>buddy</name>
<cstring>lastfilesSB</cstring>
</property>
</widget>
<widget>
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>lastfilesSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>20</number>
</property> </property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout14</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>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>wheelMouseLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>W&amp;heel mouse scroll :</string>
</property>
<property>
<name>buddy</name>
<cstring>wheelMouseSB</cstring>
</property>
</widget>
<widget>
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>wheelMouseSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>250</number>
</property>
</widget>
</hbox>
</widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>cursorFollowsCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Cursor follo&amp;ws scrollbar</string>
</property>
</widget>
</vbox>
</widget> </widget>
<spacer> <spacer>
<property> <property>
<name>name</name> <name>name</name>
<cstring>Spacer9</cstring> <cstring>Spacer30</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>orientation</name> <name>orientation</name>
@ -181,7 +230,7 @@
<class>QLayoutWidget</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>Layout8</cstring> <cstring>Layout17</cstring>
</property> </property>
<hbox> <hbox>
<property stdset="1"> <property stdset="1">
@ -196,7 +245,7 @@
<class>QLayoutWidget</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>Layout7</cstring> <cstring>Layout12</cstring>
</property> </property>
<vbox> <vbox>
<property stdset="1"> <property stdset="1">
@ -211,7 +260,7 @@
<class>QLayoutWidget</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>Layout5</cstring> <cstring>Layout10</cstring>
</property> </property>
<hbox> <hbox>
<property stdset="1"> <property stdset="1">
@ -223,49 +272,102 @@
<number>6</number> <number>6</number>
</property> </property>
<widget> <widget>
<class>QLabel</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>autoSaveLA</cstring> <cstring>Layout9</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>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>autoSaveCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>B&amp;ackup documents </string>
</property>
</widget>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>autoSaveLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string> every</string>
</property>
<property>
<name>buddy</name>
<cstring>autoSaveSB</cstring>
</property>
</widget>
<widget>
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>autoSaveSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>300</number>
</property>
<property stdset="1">
<name>minValue</name>
<number>1</number>
</property>
</widget>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel1</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>minutes</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer4</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>orientation</name>
<string>B&amp;ackup document every</string> <enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property> </property>
<property> <property>
<name>buddy</name> <name>sizeHint</name>
<cstring>autoSaveSB</cstring> <size>
<width>20</width>
<height>20</height>
</size>
</property> </property>
</widget> </spacer>
<widget>
<class>QSpinBox</class>
<property stdset="1">
<name>name</name>
<cstring>autoSaveSB</cstring>
</property>
<property stdset="1">
<name>maxValue</name>
<number>1200</number>
</property>
</widget>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>TextLabel1</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>minutes</string>
</property>
</widget>
</hbox> </hbox>
</widget> </widget>
<widget> <widget>
<class>QLayoutWidget</class> <class>QLayoutWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>Layout6</cstring> <cstring>Layout1</cstring>
</property> </property>
<hbox> <hbox>
<property stdset="1"> <property stdset="1">
@ -280,28 +382,49 @@
<class>QLabel</class> <class>QLabel</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>wheelMouseLA</cstring> <cstring>lastfilesLA</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>text</name> <name>text</name>
<string>W&amp;heel mouse jump:</string> <string>&amp;Maximum last files :</string>
</property> </property>
<property> <property>
<name>buddy</name> <name>buddy</name>
<cstring>wheelMouseSB</cstring> <cstring>lastfilesSB</cstring>
</property> </property>
</widget> </widget>
<widget> <widget>
<class>QSpinBox</class> <class>QSpinBox</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>wheelMouseSB</cstring> <cstring>lastfilesSB</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>maxValue</name> <name>maxValue</name>
<number>250</number> <number>20</number>
</property> </property>
</widget> </widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer9</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox> </hbox>
</widget> </widget>
</vbox> </vbox>
@ -309,7 +432,7 @@
<spacer> <spacer>
<property> <property>
<name>name</name> <name>name</name>
<cstring>Spacer2_2</cstring> <cstring>Spacer31</cstring>
</property> </property>
<property stdset="1"> <property stdset="1">
<name>orientation</name> <name>orientation</name>
@ -329,17 +452,6 @@
</spacer> </spacer>
</hbox> </hbox>
</widget> </widget>
<widget>
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>cursorFollowsCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Cursor follo&amp;ws scrollbar</string>
</property>
</widget>
<spacer> <spacer>
<property> <property>
<name>name</name> <name>name</name>
@ -363,4 +475,35 @@
</spacer> </spacer>
</vbox> </vbox>
</widget> </widget>
<connections>
<connection>
<sender>autoSaveCB</sender>
<signal>toggled(bool)</signal>
<receiver>autoSaveLA</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>autoSaveCB</sender>
<signal>toggled(bool)</signal>
<receiver>autoSaveSB</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>autoSaveCB</sender>
<signal>toggled(bool)</signal>
<receiver>TextLabel1</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>uiFileED</tabstop>
<tabstop>uiFilePB</tabstop>
<tabstop>bindFileED</tabstop>
<tabstop>bindFilePB</tabstop>
<tabstop>wheelMouseSB</tabstop>
<tabstop>cursorFollowsCB</tabstop>
<tabstop>autoSaveCB</tabstop>
<tabstop>autoSaveSB</tabstop>
<tabstop>lastfilesSB</tabstop>
</tabstops>
</UI> </UI>