Convert the prefs dialog to the Dialog-based scheme.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8573 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-03-31 18:51:11 +00:00
parent 3d1fe03e56
commit 2f10d02e30
28 changed files with 249 additions and 219 deletions

View File

@ -1,3 +1,9 @@
2004-03-31 Angus Leeming <leeming@lyx.org>
* ui/classic.ui:
* ui/stdmenus.ui: bring up the preferences dialog with
"dialog-show prefs" rather than "dialog-show preferences".
2004-03-30 Angus Leeming <leeming@lyx.org> 2004-03-30 Angus Leeming <leeming@lyx.org>
* bind/aqua.bind: * bind/aqua.bind:

View File

@ -103,7 +103,7 @@ Menuset
Item "Open/Close Float|l" "inset-toggle" Item "Open/Close Float|l" "inset-toggle"
Submenu "Change Tracking|g" "edit_change" Submenu "Change Tracking|g" "edit_change"
Separator Separator
Item "Preferences...|P" "dialog-show preferences" Item "Preferences...|P" "dialog-show prefs"
Item "Reconfigure|R" "reconfigure" Item "Reconfigure|R" "reconfigure"
End End

View File

@ -418,7 +418,7 @@ Menuset
# should be rarely used - Edit menu is not a good place to # should be rarely used - Edit menu is not a good place to
# have it. # have it.
Item "Reconfigure|R" "reconfigure" Item "Reconfigure|R" "reconfigure"
Item "Preferences...|P" "dialog-show preferences" Item "Preferences...|P" "dialog-show prefs"
End End
# #

View File

@ -1,3 +1,7 @@
2004-03-31 Angus Leeming <leeming@lyx.org>
* lyxfunc.C (getStatus, dispatch): changed invocation of the
preferences dialog.
2004-03-31 Alfredo Braunstein <abraunst@lyx.org> 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>

View File

@ -1,3 +1,8 @@
2004-03-31 Angus Leeming <leeming@lyx.org>
* Dialogs.h (showPreferences):
* guiapi.[Ch] (gui_ShowPreferences): removed.
2004-03-30 Angus Leeming <leeming@lyx.org> 2004-03-30 Angus Leeming <leeming@lyx.org>
* Dialogs.h (showDocument): removed. * Dialogs.h (showDocument): removed.

View File

@ -67,8 +67,6 @@ public:
//@{ //@{
/// ///
void showPreamble(); void showPreamble();
///
void showPreferences();
/// bring up the spellchecker /// bring up the spellchecker
void showSpellchecker(); void showSpellchecker();
//@} //@}

View File

@ -1,3 +1,12 @@
2004-03-31 Angus Leeming <leeming@lyx.org>
* ControlPrefs.[Ch]: converted to the dialog-based scheme.
* Dialog.C (apply): bug fix. Enable the dispatch of dialogs
which aren't dependent on a buffer when no buffer is open.
Kernel.[Ch] (redrawGUI): new function.
2004-03-31 Angus Leeming <leeming@lyx.org> 2004-03-31 Angus Leeming <leeming@lyx.org>
* ControlPrefs.C: a bit of an overhaul, moving the local Converters * ControlPrefs.C: a bit of an overhaul, moving the local Converters

View File

@ -13,24 +13,19 @@
#include "ControlPrefs.h" #include "ControlPrefs.h"
#include "helper_funcs.h" #include "helper_funcs.h"
#include "ViewBase.h" #include "Kernel.h"
#include "bufferlist.h" #include "bufferlist.h"
#include "gettext.h" #include "gettext.h"
#include "funcrequest.h" #include "funcrequest.h"
#include "LColor.h" #include "LColor.h"
#include "frontends/Dialogs.h"
#include "frontends/LyXView.h"
#include "support/filetools.h" #include "support/filetools.h"
#include "support/globbing.h" #include "support/globbing.h"
#include "support/path_defines.h" #include "support/path_defines.h"
#include "support/std_sstream.h" #include "support/std_sstream.h"
#include <utility>
using lyx::support::AddName; using lyx::support::AddName;
using lyx::support::FileFilterList; using lyx::support::FileFilterList;
using lyx::support::system_lyxdir; using lyx::support::system_lyxdir;
@ -44,14 +39,14 @@ using std::vector;
extern BufferList bufferlist; extern BufferList bufferlist;
ControlPrefs::ControlPrefs(LyXView & lv, Dialogs & d) ControlPrefs::ControlPrefs(Dialog & parent)
: ControlDialogBI(lv, d), : Dialog::Controller(parent),
redraw_gui_(false), redraw_gui_(false),
update_screen_font_(false) update_screen_font_(false)
{} {}
void ControlPrefs::setParams() bool ControlPrefs::initialiseParams(std::string const &)
{ {
rc_ = lyxrc; rc_ = lyxrc;
formats_ = ::formats; formats_ = ::formats;
@ -60,16 +55,16 @@ void ControlPrefs::setParams()
colors_.clear(); colors_.clear();
redraw_gui_ = false; redraw_gui_ = false;
update_screen_font_ = false; update_screen_font_ = false;
return true;
} }
void ControlPrefs::apply() void ControlPrefs::dispatchParams()
{ {
view().apply();
ostringstream ss; ostringstream ss;
rc_.write(ss); rc_.write(ss);
lv_.dispatch(FuncRequest(LFUN_LYXRC_APPLY, ss.str())); kernel().dispatch(FuncRequest(LFUN_LYXRC_APPLY, ss.str()));
// FIXME: these need lfuns // FIXME: these need lfuns
bufferlist.setCurrentAuthor(rc_.user_name, rc_.user_email); bufferlist.setCurrentAuthor(rc_.user_name, rc_.user_email);
@ -83,22 +78,22 @@ void ControlPrefs::apply()
vector<string>::const_iterator it = colors_.begin(); vector<string>::const_iterator it = colors_.begin();
vector<string>::const_iterator const end = colors_.end(); vector<string>::const_iterator const end = colors_.end();
for (; it != end; ++it) for (; it != end; ++it)
lv_.dispatch(FuncRequest(LFUN_SET_COLOR, *it)); kernel().dispatch(FuncRequest(LFUN_SET_COLOR, *it));
colors_.clear(); colors_.clear();
if (redraw_gui_) { if (redraw_gui_) {
lv_.getDialogs().redrawGUI(); kernel().redrawGUI();
redraw_gui_ = false; redraw_gui_ = false;
} }
if (update_screen_font_) { if (update_screen_font_) {
lv_.dispatch(FuncRequest(LFUN_SCREEN_FONT_UPDATE)); kernel().dispatch(FuncRequest(LFUN_SCREEN_FONT_UPDATE));
update_screen_font_ = false; update_screen_font_ = false;
} }
// The Save button has been pressed // The Save button has been pressed
if (isClosing()) { if (dialog().isClosing()) {
lv_.dispatch(FuncRequest(LFUN_SAVEPREFERENCES)); kernel().dispatch(FuncRequest(LFUN_SAVEPREFERENCES));
} }
} }

View File

@ -12,7 +12,7 @@
#ifndef CONTROLPREFS_H #ifndef CONTROLPREFS_H
#define CONTROLPREFS_H #define CONTROLPREFS_H
#include "ControlDialog_impl.h" #include "Dialog.h"
#include "converter.h" #include "converter.h"
#include "format.h" #include "format.h"
#include "lyxrc.h" #include "lyxrc.h"
@ -23,9 +23,17 @@
class LColor_color; class LColor_color;
class ControlPrefs : public ControlDialogBI { class ControlPrefs : public Dialog::Controller {
public: public:
ControlPrefs(LyXView &, Dialogs &); ControlPrefs(Dialog &);
///
virtual bool initialiseParams(std::string const &);
///
virtual void clearParams() {}
///
virtual void dispatchParams();
///
virtual bool isBufferDependent() const { return false; }
LyXRC & rc() { return rc_; } LyXRC & rc() { return rc_; }
LyXRC const & rc() const { return rc_; } LyXRC const & rc() const { return rc_; }
@ -60,12 +68,6 @@ public:
void updateScreenFonts(); void updateScreenFonts();
private: private:
/// get current lyxrc
virtual void setParams();
/// apply current lyxrc
virtual void apply();
/// temporary lyxrc /// temporary lyxrc
LyXRC rc_; LyXRC rc_;

View File

@ -116,8 +116,11 @@ void Dialog::hide()
void Dialog::apply() void Dialog::apply()
{ {
if (kernel().isBufferReadonly()) if (controller().isBufferDependent()) {
if (!kernel().isBufferAvailable() ||
kernel().isBufferReadonly())
return; return;
}
view().apply(); view().apply();
controller().dispatchParams(); controller().dispatchParams();

View File

@ -80,6 +80,12 @@ Kernel::DocTypes Kernel::docType() const
} }
void Kernel::redrawGUI() const
{
lyxview_.getDialogs().redrawGUI();
}
BufferView * Kernel::bufferview() BufferView * Kernel::bufferview()
{ {
return lyxview_.view().get(); return lyxview_.view().get();

View File

@ -78,6 +78,10 @@ public:
/// The type of the current buffer. /// The type of the current buffer.
DocTypes docType() const; DocTypes docType() const;
/** A request that the GUI be redrawn,
* e.g. because the colors have been remapped.
*/
void redrawGUI() const;
/** \name Kernel Nasties /** \name Kernel Nasties
* Unpleasantly public internals of the LyX kernel. * Unpleasantly public internals of the LyX kernel.

View File

@ -1,3 +1,7 @@
2004-03-31 Angus Leeming <leeming@lyx.org>
* Dialogs.C (build): added preferences dialog.
2004-03-30 Angus Leeming <leeming@lyx.org> 2004-03-30 Angus Leeming <leeming@lyx.org>
* Dialogs.C (build) added document dialog. * Dialogs.C (build) added document dialog.

View File

@ -34,6 +34,7 @@
#include "ControlMath.h" #include "ControlMath.h"
#include "ControlNote.h" #include "ControlNote.h"
#include "ControlParagraph.h" #include "ControlParagraph.h"
#include "ControlPrefs.h"
#include "ControlPrint.h" #include "ControlPrint.h"
#include "ControlRef.h" #include "ControlRef.h"
#include "ControlSearch.h" #include "ControlSearch.h"
@ -71,6 +72,7 @@
#include "FormMathsStyle.h" #include "FormMathsStyle.h"
#include "FormNote.h" #include "FormNote.h"
#include "FormParagraph.h" #include "FormParagraph.h"
#include "FormPreferences.h"
#include "FormPrint.h" #include "FormPrint.h"
#include "FormRef.h" #include "FormRef.h"
#include "FormSearch.h" #include "FormSearch.h"
@ -130,13 +132,14 @@ char const * const dialognames[] = {
"mathgreek", "mathmisc", "mathdots", "mathbigoperators", "mathamsmisc", "mathgreek", "mathmisc", "mathdots", "mathbigoperators", "mathamsmisc",
"mathamsarrows", "mathamsrelations", "mathamsnegatedrelations", "mathamsarrows", "mathamsrelations", "mathamsnegatedrelations",
"mathamsoperators", "mathdelimiter", "mathmatrix", "mathspace", "mathstyle", "mathamsoperators", "mathdelimiter", "mathmatrix", "mathspace", "mathstyle",
"box", "note", "paragraph", "print", "ref", "sendto", "tabular", "tabularcreate", "note", "paragraph", "prefs", "print", "ref", "sendto", "tabular",
"tabularcreate", "texinfo",
#ifdef HAVE_LIBAIKSAURUS #ifdef HAVE_LIBAIKSAURUS
"thesaurus", "thesaurus",
#endif #endif
"texinfo", "toc", "url", "vspace", "wrap" }; "toc", "url", "vspace", "wrap" };
char const * const * const end_dialognames = char const * const * const end_dialognames =
dialognames + (sizeof(dialognames) / sizeof(char *)); dialognames + (sizeof(dialognames) / sizeof(char *));
@ -445,6 +448,10 @@ Dialog * Dialogs::build(string const & name)
dialog->setController(new ControlParagraph(*dialog)); dialog->setController(new ControlParagraph(*dialog));
dialog->setView(new FormParagraph(*dialog)); dialog->setView(new FormParagraph(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy); dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "prefs") {
dialog->setController(new ControlPrefs(*dialog));
dialog->setView(new FormPreferences(*dialog));
dialog->bc().bp(new OkApplyCancelPolicy);
} else if (name == "print") { } else if (name == "print") {
dialog->setController(new ControlPrint(*dialog)); dialog->setController(new ControlPrint(*dialog));
dialog->setView(new FormPrint(*dialog)); dialog->setView(new FormPrint(*dialog));

View File

@ -28,12 +28,6 @@ void gui_ShowPreamble(Dialogs & d)
} }
void gui_ShowPreferences(Dialogs & d)
{
d.showPreferences();
}
void gui_ShowSpellchecker(Dialogs & d) void gui_ShowSpellchecker(Dialogs & d)
{ {
d.showSpellchecker(); d.showSpellchecker();

View File

@ -21,7 +21,6 @@ extern "C" {
void gui_show_dialog(Dialogs *, char const * name, char const * data); void gui_show_dialog(Dialogs *, char const * name, char const * data);
void gui_ShowPreamble(Dialogs &); void gui_ShowPreamble(Dialogs &);
void gui_ShowPreferences(Dialogs &);
void gui_ShowSpellchecker(Dialogs &); void gui_ShowSpellchecker(Dialogs &);
} // extern "C" } // extern "C"

View File

@ -1,3 +1,10 @@
2004-03-31 Angus Leeming <leeming@lyx.org>
* Dialogs.C (build): added preferences dialog.
* Dialogs2.C (showPreferences): removed.
* QPrefs.[Ch]: converted to the Dialog-based scheme.
2004-03-31 Angus Leeming <leeming@lyx.org> 2004-03-31 Angus Leeming <leeming@lyx.org>
* QPrefs.[Ch]: * QPrefs.[Ch]:

View File

@ -30,6 +30,7 @@
#include "ControlMath.h" #include "ControlMath.h"
#include "ControlNote.h" #include "ControlNote.h"
#include "ControlParagraph.h" #include "ControlParagraph.h"
#include "ControlPrefs.h"
#include "ControlPrint.h" #include "ControlPrint.h"
#include "ControlRef.h" #include "ControlRef.h"
#include "ControlSearch.h" #include "ControlSearch.h"
@ -67,6 +68,7 @@
#include "QMath.h" #include "QMath.h"
#include "QNote.h" #include "QNote.h"
#include "QParagraph.h" #include "QParagraph.h"
#include "QPrefs.h"
#include "QPrint.h" #include "QPrint.h"
#include "QRef.h" #include "QRef.h"
#include "QSearch.h" #include "QSearch.h"
@ -96,8 +98,8 @@ char const * const dialognames[] = {
"aboutlyx", "bibitem", "bibtex", "box", "branch", "changes", "character", "aboutlyx", "bibitem", "bibtex", "box", "branch", "changes", "character",
"citation", "document", "error", "errorlist", "ert", "external", "file", "citation", "document", "error", "errorlist", "ert", "external", "file",
"findreplace", "float", "graphics", "include", "index", "label", "log", "findreplace", "float", "graphics", "include", "index", "label", "log",
"mathpanel", "mathdelimiter", "mathmatrix", "note", "paragraph", "print", "mathpanel", "mathdelimiter", "mathmatrix", "note", "paragraph", "prefs",
"ref", "sendto", "tabular", "tabularcreate", "texinfo", "print", "ref", "sendto", "tabular", "tabularcreate", "texinfo",
#ifdef HAVE_LIBAIKSAURUS #ifdef HAVE_LIBAIKSAURUS
"thesaurus", "thesaurus",
@ -240,6 +242,10 @@ Dialog * Dialogs::build(string const & name)
dialog->setController(new ControlParagraph(*dialog)); dialog->setController(new ControlParagraph(*dialog));
dialog->setView(new QParagraph(*dialog)); dialog->setView(new QParagraph(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy); dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "prefs") {
dialog->setController(new ControlPrefs(*dialog));
dialog->setView(new QPrefs(*dialog));
dialog->bc().bp(new OkApplyCancelPolicy);
} else if (name == "print") { } else if (name == "print") {
dialog->setController(new ControlPrint(*dialog)); dialog->setController(new ControlPrint(*dialog));
dialog->setView(new QPrint(*dialog)); dialog->setView(new QPrint(*dialog));

View File

@ -25,31 +25,24 @@
// of the Qt headers, those most fucked up of disgusting ratholes. // of the Qt headers, those most fucked up of disgusting ratholes.
// But I won't. // But I won't.
#undef signals #undef signals
#include "QPrefs.h"
#include "QPrefsDialog.h"
#include "QSpellchecker.h" #include "QSpellchecker.h"
#include "QSpellcheckerDialog.h" #include "QSpellcheckerDialog.h"
typedef GUI<ControlPrefs, QPrefs, OkApplyCancelPolicy, Qt2BC>
PrefsDialog;
typedef GUI<ControlSpellchecker, QSpellchecker, NoRepeatedApplyReadOnlyPolicy, Qt2BC> typedef GUI<ControlSpellchecker, QSpellchecker, NoRepeatedApplyReadOnlyPolicy, Qt2BC>
SpellcheckerDialog; SpellcheckerDialog;
struct Dialogs::Impl { struct Dialogs::Impl {
Impl(LyXView & lv, Dialogs & d); Impl(LyXView & lv, Dialogs & d);
PrefsDialog prefs;
SpellcheckerDialog spellchecker; SpellcheckerDialog spellchecker;
}; };
Dialogs::Impl::Impl(LyXView & lv, Dialogs & d) Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
: prefs(lv, d), : spellchecker(lv, d)
spellchecker(lv, d)
{} {}
@ -73,12 +66,6 @@ void Dialogs::showPreamble()
} }
void Dialogs::showPreferences()
{
pimpl_->prefs.controller().show();
}
void Dialogs::showSpellchecker() void Dialogs::showSpellchecker()
{ {
pimpl_->spellchecker.controller().show(); pimpl_->spellchecker.controller().show();

View File

@ -65,10 +65,10 @@ using std::pair;
using std::vector; using std::vector;
typedef Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> > base_class; typedef QController<ControlPrefs, QView<QPrefsDialog> > base_class;
QPrefs::QPrefs() QPrefs::QPrefs(Dialog & parent)
: base_class(_("LyX: Preferences")) : base_class(parent, _("LyX: Preferences"))
{ {
} }

View File

@ -12,11 +12,7 @@
#ifndef QPREFS_H #ifndef QPREFS_H
#define QPREFS_H #define QPREFS_H
#include "QDialogView.h"
#include "ControlPrefs.h"
#include "Qt2Base.h"
#include <vector> #include <vector>
class QPrefsDialog; class QPrefsDialog;
@ -24,13 +20,13 @@ class Controllers;
class Formats; class Formats;
class QPrefs class QPrefs
: public Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> > : public QController<ControlPrefs, QView<QPrefsDialog> >
{ {
public: public:
friend class QPrefsDialog; friend class QPrefsDialog;
QPrefs(); QPrefs(Dialog &);
private: private:
/// Apply changes /// Apply changes

View File

@ -1,3 +1,11 @@
2004-03-31 Angus Leeming <leeming@lyx.org>
* Dialogs.C (build): added preferences dialog.
* Dialogs2.C (showPreferences): removed.
* FormPreferences.[Ch]:
* forms/form_preferences.fd: converted to the Dialog-based scheme.
2004-03-31 Angus Leeming <leeming@lyx.org> 2004-03-31 Angus Leeming <leeming@lyx.org>
* FormPreferences.[Ch]: changes due to the changed ControlPrefs * FormPreferences.[Ch]: changes due to the changed ControlPrefs

View File

@ -31,6 +31,7 @@
#include "ControlMath.h" #include "ControlMath.h"
#include "ControlNote.h" #include "ControlNote.h"
#include "ControlParagraph.h" #include "ControlParagraph.h"
#include "ControlPrefs.h"
#include "ControlPrint.h" #include "ControlPrint.h"
#include "ControlRef.h" #include "ControlRef.h"
#include "ControlSearch.h" #include "ControlSearch.h"
@ -66,6 +67,7 @@
#include "FormMathsStyle.h" #include "FormMathsStyle.h"
#include "FormNote.h" #include "FormNote.h"
#include "FormParagraph.h" #include "FormParagraph.h"
#include "FormPreferences.h"
#include "FormPrint.h" #include "FormPrint.h"
#include "FormRef.h" #include "FormRef.h"
#include "FormTabular.h" #include "FormTabular.h"
@ -125,13 +127,14 @@ char const * const dialognames[] = {
"mathgreek", "mathmisc", "mathdots", "mathbigoperators", "mathamsmisc", "mathgreek", "mathmisc", "mathdots", "mathbigoperators", "mathamsmisc",
"mathamsarrows", "mathamsrelations", "mathamsnegatedrelations", "mathamsarrows", "mathamsrelations", "mathamsnegatedrelations",
"mathamsoperators", "mathdelimiter", "mathmatrix", "mathspace", "mathstyle", "mathamsoperators", "mathdelimiter", "mathmatrix", "mathspace", "mathstyle",
"note", "paragraph", "print", "ref", "sendto", "tabular", "tabularcreate", "note", "paragraph", "prefs", "print", "ref", "sendto", "tabular",
"tabularcreate", "texinfo",
#ifdef HAVE_LIBAIKSAURUS #ifdef HAVE_LIBAIKSAURUS
"thesaurus", "thesaurus",
#endif #endif
"texinfo", "toc", "url", "vspace", "wrap" }; "toc", "url", "vspace", "wrap" };
char const * const * const end_dialognames = char const * const * const end_dialognames =
dialognames + (sizeof(dialognames) / sizeof(char *)); dialognames + (sizeof(dialognames) / sizeof(char *));
@ -435,6 +438,10 @@ Dialog * Dialogs::build(string const & name)
dialog->setController(new ControlParagraph(*dialog)); dialog->setController(new ControlParagraph(*dialog));
dialog->setView(new FormParagraph(*dialog)); dialog->setView(new FormParagraph(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy); dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "prefs") {
dialog->setController(new ControlPrefs(*dialog));
dialog->setView(new FormPreferences(*dialog));
dialog->bc().bp(new OkApplyCancelPolicy);
} else if (name == "print") { } else if (name == "print") {
dialog->setController(new ControlPrint(*dialog)); dialog->setController(new ControlPrint(*dialog));
dialog->setView(new FormPrint(*dialog)); dialog->setView(new FormPrint(*dialog));

View File

@ -22,11 +22,6 @@
#include "FormPreamble.h" #include "FormPreamble.h"
#include "forms/form_preamble.h" #include "forms/form_preamble.h"
#include "ControlPrefs.h"
#include "FormPreferences.h"
#include "FormColorpicker.h"
#include "forms/form_preferences.h"
#include "ControlSpellchecker.h" #include "ControlSpellchecker.h"
#include "FormSpellchecker.h" #include "FormSpellchecker.h"
#include "forms/form_spellchecker.h" #include "forms/form_spellchecker.h"
@ -34,9 +29,6 @@
typedef GUI<ControlPreamble, FormPreamble, NoRepeatedApplyReadOnlyPolicy, xformsBC> typedef GUI<ControlPreamble, FormPreamble, NoRepeatedApplyReadOnlyPolicy, xformsBC>
PreambleDialog; PreambleDialog;
typedef GUI<ControlPrefs, FormPreferences, OkApplyCancelPolicy, xformsBC>
PreferencesDialog;
typedef GUI<ControlSpellchecker, FormSpellchecker, NoRepeatedApplyReadOnlyPolicy, xformsBC> typedef GUI<ControlSpellchecker, FormSpellchecker, NoRepeatedApplyReadOnlyPolicy, xformsBC>
SpellcheckerDialog; SpellcheckerDialog;
@ -45,14 +37,12 @@ struct Dialogs::Impl {
Impl(LyXView & lv, Dialogs & d); Impl(LyXView & lv, Dialogs & d);
PreambleDialog preamble; PreambleDialog preamble;
PreferencesDialog preferences;
SpellcheckerDialog spellchecker; SpellcheckerDialog spellchecker;
}; };
Dialogs::Impl::Impl(LyXView & lv, Dialogs & d) Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
: preamble(lv, d), : preamble(lv, d),
preferences(lv, d),
spellchecker(lv, d) spellchecker(lv, d)
{} {}
@ -75,12 +65,6 @@ void Dialogs::showPreamble()
} }
void Dialogs::showPreferences()
{
pimpl_->preferences.controller().show();
}
void Dialogs::showSpellchecker() void Dialogs::showSpellchecker()
{ {
pimpl_->spellchecker.controller().show(); pimpl_->spellchecker.controller().show();

View File

@ -84,11 +84,11 @@ bool const scalableTabfolders = true;
} // namespace anon } // namespace anon
typedef FormCB<ControlPrefs, FormDB<FD_preferences> > base_class; typedef FormController<ControlPrefs, FormView<FD_preferences> > base_class;
FormPreferences::FormPreferences() FormPreferences::FormPreferences(Dialog & parent)
: base_class(_("Preferences"), scalableTabfolders), : base_class(parent, _("Preferences"), scalableTabfolders),
colors_(*this), converters_(*this), inputs_misc_(*this), colors_(*this), converters_(*this), inputs_misc_(*this),
formats_(*this), interface_(*this), language_(*this), formats_(*this), interface_(*this), language_(*this),
lnf_misc_(*this), identity_(*this), outputs_misc_(*this), lnf_misc_(*this), identity_(*this), outputs_misc_(*this),
@ -137,7 +137,7 @@ void FormPreferences::hide()
FL_FORM * inner_form = fl_get_active_folder(dialog_->tabfolder_prefs); FL_FORM * inner_form = fl_get_active_folder(dialog_->tabfolder_prefs);
if (inner_form && inner_form->visible) if (inner_form && inner_form->visible)
fl_hide_form(inner_form); fl_hide_form(inner_form);
FormBase::hide(); FormDialogView::hide();
} }
@ -297,7 +297,7 @@ void FormPreferences::apply()
spelloptions_.apply(rc); spelloptions_.apply(rc);
// The "Save" button has been pressed. // The "Save" button has been pressed.
if (controller().isClosing() && colors_.modifiedXformsPrefs) { if (dialog().isClosing() && colors_.modifiedXformsPrefs) {
string const filename = string const filename =
AddName(user_lyxdir(), "preferences.xform"); AddName(user_lyxdir(), "preferences.xform");
colors_.modifiedXformsPrefs = !XformsColor::write(filename); colors_.modifiedXformsPrefs = !XformsColor::write(filename);

View File

@ -13,7 +13,7 @@
#ifndef FORMPREFERENCES_H #ifndef FORMPREFERENCES_H
#define FORMPREFERENCES_H #define FORMPREFERENCES_H
#include "FormBase.h" #include "FormDialogView.h"
#include "lyx_forms.h" #include "lyx_forms.h"
@ -51,9 +51,10 @@ struct FD_preferences_spelloptions;
/** This class provides an XForms implementation of the FormPreferences Dialog. /** This class provides an XForms implementation of the FormPreferences Dialog.
* The preferences dialog allows users to set/save their preferences. * The preferences dialog allows users to set/save their preferences.
*/ */
class FormPreferences : public FormCB<ControlPrefs, FormDB<FD_preferences> > { class FormPreferences
: public FormController<ControlPrefs, FormView<FD_preferences> > {
public: public:
FormPreferences(); FormPreferences(Dialog &);
private: private:
/** Redraw the form (on receipt of a Signal indicating, for example, /** Redraw the form (on receipt of a Signal indicating, for example,

View File

@ -64,7 +64,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_restore name: button_restore
callback: C_FormBaseRestoreCB callback: C_FormDialogView_RestoreCB
argument: 0 argument: 0
-------------------- --------------------
@ -82,7 +82,7 @@ shortcut: ^M
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_ok name: button_ok
callback: C_FormBaseOKCB callback: C_FormDialogView_OKCB
argument: 0 argument: 0
-------------------- --------------------
@ -100,7 +100,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_apply name: button_apply
callback: C_FormBaseApplyCB callback: C_FormDialogView_ApplyCB
argument: 0 argument: 0
-------------------- --------------------
@ -118,7 +118,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_close name: button_close
callback: C_FormBaseCancelCB callback: C_FormDialogView_CancelCB
argument: 0 argument: 0
-------------------- --------------------
@ -274,7 +274,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_roman name: input_roman
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -292,7 +292,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_sans name: input_sans
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -310,7 +310,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_typewriter name: input_typewriter
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -328,7 +328,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_screen_encoding name: input_screen_encoding
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -346,7 +346,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_scalable name: check_scalable
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
value: 1 value: 1
@ -365,7 +365,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: counter_zoom name: counter_zoom
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
bounds: 0 999 bounds: 0 999
precision: 0 precision: 0
@ -387,7 +387,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: counter_dpi name: counter_dpi
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
bounds: 0 999 bounds: 0 999
precision: 0 precision: 0
@ -409,7 +409,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_tiny name: input_tiny
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -427,7 +427,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_script name: input_script
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -445,7 +445,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_footnote name: input_footnote
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -463,7 +463,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_small name: input_small
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -481,7 +481,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_normal name: input_normal
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -499,7 +499,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_large name: input_large
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -517,7 +517,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_larger name: input_larger
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -535,7 +535,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_largest name: input_largest
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -553,7 +553,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_huge name: input_huge
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -571,7 +571,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_huger name: input_huger
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -649,7 +649,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_popup_normal_font name: input_popup_normal_font
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -667,7 +667,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_popup_bold_font name: input_popup_bold_font
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -685,7 +685,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_popup_font_encoding name: input_popup_font_encoding
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -721,7 +721,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_ui_file name: input_ui_file
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -739,7 +739,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_ui_file_browse name: button_ui_file_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -757,7 +757,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_bind_file name: input_bind_file
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -775,7 +775,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_bind_file_browse name: button_bind_file_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -817,7 +817,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: browser_lyx_objs name: browser_lyx_objs
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -853,7 +853,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_modify name: button_modify
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -895,7 +895,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_auto_region_delete name: check_auto_region_delete
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
value: 1 value: 1
@ -914,7 +914,7 @@ shortcut:
resize: FL_RESIZE_NONE resize: FL_RESIZE_NONE
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_cursor_follows_scrollbar name: check_cursor_follows_scrollbar
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
value: 1 value: 1
@ -933,7 +933,7 @@ shortcut:
resize: FL_RESIZE_NONE resize: FL_RESIZE_NONE
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_dialogs_iconify_with_main name: check_dialogs_iconify_with_main
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
value: 1 value: 1
@ -952,7 +952,7 @@ shortcut:
resize: FL_RESIZE_NONE resize: FL_RESIZE_NONE
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: counter_wm_jump name: counter_wm_jump
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
bounds: 0 250 bounds: 0 250
precision: 0 precision: 0
@ -974,7 +974,7 @@ shortcut:
resize: FL_RESIZE_NONE resize: FL_RESIZE_NONE
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: counter_autosave name: counter_autosave
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
bounds: 0 1200 bounds: 0 1200
precision: 0 precision: 0
@ -996,7 +996,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_preview_latex name: check_preview_latex
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
value: 1 value: 1
@ -1015,7 +1015,7 @@ shortcut:
resize: FL_RESIZE_NONE resize: FL_RESIZE_NONE
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: choice_display name: choice_display
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -1057,7 +1057,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_user_name name: input_user_name
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1075,7 +1075,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_user_email name: input_user_email
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -1117,7 +1117,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: choice_spell_command name: choice_spell_command
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1135,7 +1135,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_alt_lang name: check_alt_lang
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1153,7 +1153,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_alt_lang name: input_alt_lang
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1171,7 +1171,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_escape_chars name: check_escape_chars
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1189,7 +1189,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_escape_chars name: input_escape_chars
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1207,7 +1207,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_personal_dict name: check_personal_dict
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1225,7 +1225,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_personal_dict name: input_personal_dict
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1243,7 +1243,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_personal_dict name: button_personal_dict
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1261,7 +1261,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_compound_words name: check_compound_words
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1279,7 +1279,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_input_enc name: check_input_enc
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1393,7 +1393,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_package name: input_package
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1411,7 +1411,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: combox_default_lang name: combox_default_lang
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1429,7 +1429,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_use_kbmap name: check_use_kbmap
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1447,7 +1447,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_kbmap1 name: input_kbmap1
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1465,7 +1465,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_kbmap2 name: input_kbmap2
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1483,7 +1483,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_kbmap1_browse name: button_kbmap1_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1501,7 +1501,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_kbmap2_browse name: button_kbmap2_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1519,7 +1519,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_rtl_support name: check_rtl_support
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1537,7 +1537,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_auto_begin name: check_auto_begin
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1555,7 +1555,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_use_babel name: check_use_babel
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1573,7 +1573,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_mark_foreign name: check_mark_foreign
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1591,7 +1591,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_auto_end name: check_auto_end
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1609,7 +1609,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_global_options name: check_global_options
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1627,7 +1627,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_command_begin name: input_command_begin
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1645,7 +1645,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_command_end name: input_command_end
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1741,7 +1741,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: browser_all name: browser_all
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1759,7 +1759,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_format name: input_format
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1777,7 +1777,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_gui_name name: input_gui_name
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1795,7 +1795,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_shrtcut name: input_shrtcut
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1813,7 +1813,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_extension name: input_extension
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1831,7 +1831,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_viewer name: input_viewer
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1849,7 +1849,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_add name: button_add
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1867,7 +1867,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_delete name: button_delete
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -1909,7 +1909,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: browser_all name: browser_all
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1927,7 +1927,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: choice_from name: choice_from
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1945,7 +1945,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: choice_to name: choice_to
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1963,7 +1963,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_converter name: input_converter
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1981,7 +1981,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_flags name: input_flags
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -1999,7 +1999,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_add name: button_add
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2017,7 +2017,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_delete name: button_delete
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -2059,7 +2059,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_default_path name: input_default_path
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2077,7 +2077,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_default_path_browse name: button_default_path_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2095,7 +2095,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_template_path name: input_template_path
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2113,7 +2113,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_template_path_browse name: button_template_path_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2131,7 +2131,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_temp_dir name: input_temp_dir
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2149,7 +2149,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_temp_dir_browse name: button_temp_dir_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2167,7 +2167,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_last_files name: check_last_files
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
value: 1 value: 1
@ -2186,7 +2186,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_lastfiles name: input_lastfiles
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2204,7 +2204,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_lastfiles_browse name: button_lastfiles_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2222,7 +2222,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: counter_lastfiles name: counter_lastfiles
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
bounds: 0 9 bounds: 0 9
precision: 0 precision: 0
@ -2244,7 +2244,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_make_backups name: check_make_backups
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
value: 1 value: 1
@ -2263,7 +2263,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_backup_path name: input_backup_path
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2281,7 +2281,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_backup_path_browse name: button_backup_path_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2299,7 +2299,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_serverpipe name: input_serverpipe
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2317,7 +2317,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: button_serverpipe_browse name: button_serverpipe_browse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -2359,7 +2359,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_date_format name: input_date_format
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
=============== FORM =============== =============== FORM ===============
@ -2401,7 +2401,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_name name: input_name
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2419,7 +2419,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_adapt_output name: check_adapt_output
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2455,7 +2455,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_command name: input_command
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2473,7 +2473,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_page_range name: input_page_range
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2491,7 +2491,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_copies name: input_copies
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2509,7 +2509,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_reverse name: input_reverse
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2527,7 +2527,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_to_printer name: input_to_printer
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2545,7 +2545,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_file_extension name: input_file_extension
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2563,7 +2563,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_spool_command name: input_spool_command
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2581,7 +2581,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_paper_type name: input_paper_type
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2599,7 +2599,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_even_pages name: input_even_pages
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2617,7 +2617,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_odd_pages name: input_odd_pages
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2635,7 +2635,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_collated name: input_collated
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2653,7 +2653,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_landscape name: input_landscape
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2671,7 +2671,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_to_file name: input_to_file
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2689,7 +2689,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_extra_options name: input_extra_options
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2707,7 +2707,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_spool_prefix name: input_spool_prefix
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2725,7 +2725,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_paper_size name: input_paper_size
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2803,7 +2803,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: counter_line_len name: counter_line_len
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
bounds: 0 120 bounds: 0 120
precision: 0 precision: 0
@ -2825,7 +2825,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_tex_encoding name: input_tex_encoding
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2843,7 +2843,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: choice_default_papersize name: choice_default_papersize
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2879,7 +2879,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_ascii_roff name: input_ascii_roff
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2897,7 +2897,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_checktex name: input_checktex
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2915,7 +2915,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_paperoption name: input_paperoption
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2933,7 +2933,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: check_autoreset_classopt name: check_autoreset_classopt
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
-------------------- --------------------
@ -2951,7 +2951,7 @@ shortcut:
resize: FL_RESIZE_ALL resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity gravity: FL_NoGravity FL_NoGravity
name: input_bibtex name: input_bibtex
callback: C_FormBaseInputCB callback: C_FormDialogView_InputCB
argument: 0 argument: 0
============================== ==============================

View File

@ -436,7 +436,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
enable = name == "aboutlyx" enable = name == "aboutlyx"
|| name == "file" || name == "file"
|| name == "forks" || name == "forks"
|| name == "preferences" || name == "prefs"
|| name == "texinfo"; || name == "texinfo";
else if (name == "print") else if (name == "print")
enable = Exporter::IsExportable(*buf, "dvi") enable = Exporter::IsExportable(*buf, "dvi")
@ -1051,8 +1051,6 @@ void LyXFunc::dispatch(FuncRequest const & cmd, bool verbose)
} }
else if (name == "preamble") else if (name == "preamble")
owner->getDialogs().showPreamble(); owner->getDialogs().showPreamble();
else if (name == "preferences")
owner->getDialogs().showPreferences();
else if (name == "spellchecker") else if (name == "spellchecker")
owner->getDialogs().showSpellchecker(); owner->getDialogs().showSpellchecker();