lyx_mirror/src/frontends/qt2
Angus Leeming ceff8c17ef Realize Allan Rae's PreferencesPolicy correctly and return the
preferences dialogs of all three frontends to it. The 'Save' button
should now behave as expected when the dialog is closed and reopened.
Squashes bug 1274 for the 1.4.x tree.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8612 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 18:34:36 +00:00
..
moc allow to compile several frontends at once (and produce several binaries) 2003-08-02 20:01:52 +00:00
ui add bibtopic support (bug 870). 2004-03-29 13:17:25 +00:00
.cvsignore
Alert_pimpl.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BulletsModule.C Squash a bunch of warnings thrown up by g++. 2003-11-20 01:22:51 +00:00
BulletsModule.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
ChangeLog Realize Allan Rae's PreferencesPolicy correctly and return the 2004-04-05 18:34:36 +00:00
checkedwidgets.C simple ws changes only 2004-04-03 08:37:12 +00:00
checkedwidgets.h The External dialog for Qt, + a validator for LyXLength + Widget checking. 2003-12-05 02:49:22 +00:00
Dialogs.C Realize Allan Rae's PreferencesPolicy correctly and return the 2004-04-05 18:34:36 +00:00
emptytable.C Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
emptytable.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
FileDialog_private.C Handle Qt-style file filters like 2004-01-08 10:59:51 +00:00
FileDialog_private.h Handle Qt-style file filters like 2004-01-08 10:59:51 +00:00
FileDialog.C Handle Qt-style file filters like 2004-01-08 10:59:51 +00:00
floatplacement.C Fix a crash when trying to open the qdocument dialog. Sorry all! 2004-04-05 10:38:04 +00:00
floatplacement.h Fix a crash when trying to open the qdocument dialog. Sorry all! 2004-04-05 10:38:04 +00:00
iconpalette.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
iconpalette.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
io_callback.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
io_callback.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
lcolorcache.C Rename EnumLColor as LColor_color. 2003-09-18 11:48:11 +00:00
lcolorcache.h Rename EnumLColor as LColor_color. 2003-09-18 11:48:11 +00:00
lengthcombo.C Cleanup usage of contains and simplify a bit. 2004-02-01 12:46:14 +00:00
lengthcombo.h qboxes falling downward through the chimney... 2003-12-05 16:22:36 +00:00
lengthvalidator.C Compile fix. 2003-12-10 09:26:18 +00:00
lengthvalidator.h Compile fix. 2003-12-10 09:26:18 +00:00
lyx_gui.C simple ws changes only 2004-04-03 08:37:12 +00:00
LyXKeySymFactory.C some configure output changes, fix a new bug 2003-09-21 16:02:54 +00:00
LyXScreenFactory.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
Makefile.am Remove all the cruft needed by the original MVC dialog code. 2004-03-31 22:09:52 +00:00
Makefile.dialogs Remove all the cruft needed by the original MVC dialog code. 2004-03-31 22:09:52 +00:00
panelstack.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
panelstack.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
QAbout.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QAbout.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QAboutDialog.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QAboutDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QBibitem.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QBibitem.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QBibitemDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QBibitemDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QBibtex.C simple ws changes only 2004-04-03 08:37:12 +00:00
QBibtex.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QBibtexDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QBibtexDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QBox.C qboxes falling downward through the chimney... 2003-12-05 16:22:36 +00:00
QBox.h qboxes falling downward through the chimney... 2003-12-05 16:22:36 +00:00
QBoxDialog.C qboxes falling downward through the chimney... 2003-12-05 16:22:36 +00:00
QBoxDialog.h qboxes falling downward through the chimney... 2003-12-05 16:22:36 +00:00
QBranch.C two small qbranch ui fixes 2004-03-05 13:08:08 +00:00
QBranch.h qt branch support 2003-10-23 11:58:01 +00:00
QBranchDialog.C qt branch support 2003-10-23 11:58:01 +00:00
QBranchDialog.h qt branch support 2003-10-23 11:58:01 +00:00
QBrowseBox.C A few more compilation fixes. 2003-09-06 10:16:15 +00:00
QBrowseBox.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QChanges.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QChanges.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QChangesDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QChangesDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QCharacter.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QCharacter.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QCharacterDialog.C Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QCharacterDialog.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QCitation.C simple ws changes only 2004-04-03 08:37:12 +00:00
QCitation.h various qt fixes (bug 1146, bug 1037, bug 1511) 2004-02-18 14:02:49 +00:00
QCitationDialog.C simple ws changes only 2004-04-03 08:37:12 +00:00
QCitationDialog.h various qt fixes (bug 1146, bug 1037, bug 1511) 2004-02-18 14:02:49 +00:00
qcoloritem.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
qcoloritem.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QCommandBuffer.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QCommandBuffer.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QCommandEdit.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QCommandEdit.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QContentPane.C Smooth, controllable scrolling in the Qt frontend. 2003-12-02 10:10:15 +00:00
QContentPane.h Smooth, controllable scrolling in the Qt frontend. 2003-12-02 10:10:15 +00:00
QDelimiterDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QDelimiterDialog.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
QDialogView.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QDialogView.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QDocument.C Move the document dialog over to the Dialog-based scheme. 2004-03-30 19:18:14 +00:00
QDocument.h Move the document dialog over to the Dialog-based scheme. 2004-03-30 19:18:14 +00:00
QDocumentDialog.C Move the document dialog over to the Dialog-based scheme. 2004-03-30 19:18:14 +00:00
QDocumentDialog.h The qbranch fixes, the lengthcombo enhancement and removal of dead code in QParagraph.C 2003-12-01 07:54:02 +00:00
QErrorList.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QErrorList.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QErrorListDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QErrorListDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QERT.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QERT.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QERTDialog.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QERTDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QExternal.C Add a 'draft' option to InsetExternal. 2003-12-11 11:16:19 +00:00
QExternal.h The External dialog for Qt, + a validator for LyXLength + Widget checking. 2003-12-05 02:49:22 +00:00
QExternalDialog.C Handle Qt-style file filters like 2004-01-08 10:59:51 +00:00
QExternalDialog.h The External dialog for Qt, + a validator for LyXLength + Widget checking. 2003-12-05 02:49:22 +00:00
QFloat.C support for sidewaysfloats and fix for bug 1016 (float placement allows impossible settings). 2004-03-29 11:38:39 +00:00
QFloat.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QFloatDialog.C simple ws changes only 2004-04-03 08:37:12 +00:00
QFloatDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
qfont_loader.C simple ws changes only 2004-04-03 08:37:12 +00:00
qfont_loader.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
qfont_metrics.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
qfontexample.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
qfontexample.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QGraphics.C Squash bug 1345 in the 14x tree: xforms frontend doesn't have 2004-04-05 14:05:03 +00:00
QGraphics.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QGraphicsDialog.C Handle Qt-style file filters like 2004-01-08 10:59:51 +00:00
QGraphicsDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
qgridview.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
qgridview.h ws changes 2002-12-01 22:59:25 +00:00
QInclude.C Handle Qt-style file filters like 2004-01-08 10:59:51 +00:00
QInclude.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QIncludeDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QIncludeDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QIndex.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QIndex.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QIndexDialog.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QIndexDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QLImage.C Squash a bunch of warnings thrown up by g++. 2003-11-20 01:22:51 +00:00
QLImage.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
qlkey.h Self-consistent header files. 2003-10-07 08:16:04 +00:00
QLMenubar.C allow mac os x to find its fonts 2004-01-15 16:07:17 +00:00
QLMenubar.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLog.C Rationalize the interface to the log dialog. 2003-12-05 13:37:23 +00:00
QLog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QLogDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QLogDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QLPainter.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLPainter.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLPopupMenu.C split LyXFunc::getStatus() into inset specific chunks 2004-03-18 13:57:20 +00:00
QLPopupMenu.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLPrintDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QLPrintDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QLToolbar.C split LyXFunc::getStatus() into inset specific chunks 2004-03-18 13:57:20 +00:00
QLToolbar.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
QLyXKeySym.C display key binding in native UI style 2004-03-26 15:12:35 +00:00
QLyXKeySym.h display key binding in native UI style 2004-03-26 15:12:35 +00:00
QMath.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QMath.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QMathDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QMathDialog.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
QMathMatrixDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QMathMatrixDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QNote.C InsetNote clean-up. 2003-12-10 17:28:14 +00:00
QNote.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QNoteDialog.C Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QNoteDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QParagraph.C The qbranch fixes, the lengthcombo enhancement and removal of dead code in QParagraph.C 2003-12-01 07:54:02 +00:00
QParagraph.h The qbranch fixes, the lengthcombo enhancement and removal of dead code in QParagraph.C 2003-12-01 07:54:02 +00:00
QParagraphDialog.C QVSpace dialog/QBranches: some minor (uncontroversial) bugfixes 2003-11-29 17:25:31 +00:00
QParagraphDialog.h move space above/below from Paragraph into a separate vspace inset. 2003-11-28 15:53:34 +00:00
QPrefs.C Convert the prefs dialog to the Dialog-based scheme. 2004-03-31 18:51:11 +00:00
QPrefs.h Convert the prefs dialog to the Dialog-based scheme. 2004-03-31 18:51:11 +00:00
QPrefsDialog.C A new LFUN_LYXRC_APPLY lfun, together with a bit of a clean-up of the 2004-03-31 16:50:59 +00:00
QPrefsDialog.h Rename EnumLColor as LColor_color. 2003-09-18 11:48:11 +00:00
QPrint.C Introduce LFUN_PRINT. 2004-03-28 14:12:33 +00:00
QPrint.h Introduce LFUN_PRINT. 2004-03-28 14:12:33 +00:00
QRef.C simple ws changes only 2004-04-03 08:37:12 +00:00
QRef.h simple ws changes only 2004-04-03 08:37:12 +00:00
QRefDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QRefDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
qscreen.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
qscreen.h Ensure that the header files can be compiled stand-alone. 2003-09-05 15:06:13 +00:00
QSearch.C Convert the Search/Replace dialog to the cleaner MCV scheme. 2004-01-26 00:43:56 +00:00
QSearch.h Convert the Search/Replace dialog to the cleaner MCV scheme. 2004-01-26 00:43:56 +00:00
QSearchDialog.C the spellcheck cleanup 2003-11-04 12:01:15 +00:00
QSearchDialog.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
QSendto.C New LFUN_EXPORT_CUSTOM. 2004-03-27 23:11:46 +00:00
QSendto.h New LFUN_EXPORT_CUSTOM. 2004-03-27 23:11:46 +00:00
QSendtoDialog.C Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QSendtoDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
qsetborder.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
qsetborder.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QShowFile.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QShowFile.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QShowFileDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QShowFileDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QSpellchecker.C Convert the spellchecker dialog to the Dialog-based scheme. 2004-03-31 19:51:55 +00:00
QSpellchecker.h Convert the spellchecker dialog to the Dialog-based scheme. 2004-03-31 19:51:55 +00:00
QSpellcheckerDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QSpellcheckerDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
Qt2BC.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Qt2BC.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
qt_helpers.C QVSpace dialog/QBranches: some minor (uncontroversial) bugfixes 2003-11-29 17:25:31 +00:00
qt_helpers.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QTabular.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QTabular.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QTabularCreate.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QTabularCreate.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QTabularCreateDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QTabularCreateDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QTabularDialog.C Squash a bunch of warnings thrown up by g++. 2003-11-20 01:22:51 +00:00
QTabularDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QTexinfo.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QTexinfo.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QTexinfoDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QTexinfoDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QThesaurus.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QThesaurus.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QThesaurusDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QThesaurusDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QtLyXView.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QToc.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QToc.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QTocDialog.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QTocDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
qttableview.C A few more compilation fixes. 2003-09-06 10:16:15 +00:00
qttableview.h support for Qt3 2001-12-01 02:24:28 +00:00
qtTimeout.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
qtTimeout.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QtView.C rename a function 2004-02-20 08:44:11 +00:00
QtView.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QURL.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QURL.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QURLDialog.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QURLDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QVSpace.C Flotsam from Michael Schmidt's VSpace fixes... 2003-12-01 21:24:18 +00:00
QVSpace.h QVSpace dialog/QBranches: some minor (uncontroversial) bugfixes 2003-11-29 17:25:31 +00:00
QVSpaceDialog.C simple ws changes only 2004-04-03 08:37:12 +00:00
QVSpaceDialog.h QVSpace dialog 2003-11-29 09:39:35 +00:00
QWorkArea.C simple ws changes only 2004-04-03 08:37:12 +00:00
QWorkArea.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QWrap.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QWrap.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QWrapDialog.C Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QWrapDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
README Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +00:00
socket_callback.C bring lyxsocket to qt 2003-11-05 08:40:45 +00:00
socket_callback.h bring lyxsocket to qt 2003-11-05 08:40:45 +00:00
WorkAreaFactory.C All .C files should #include there own .h file I guess ;-) 2003-09-05 16:18:57 +00:00

This file contains some do's and dont's for the Qt2 frontend.

General rules
-------------

Every editable field that affects the state of the dialog contents
from LyX's point of view should connect its xxxChanged() signal to
a the dialog's changed_adaptor() slot, which in turn should call
form_->changed(). If you are using a more complicated thing anyway,
then remember to call form_->changed() at the end (if it has changed !)

Every non-trivial widget should have a tooltip. If you don't know
what to write, write "FIXME", and it can fixed later. Don't be afraid
to use QWhatsThis too, but this must be done in the derived class's
constructor, and use _("..."). Non-trivial means that things like "OK"
/must not/ have a tooltip.

*DO NOT USE DESIGNER FROM Qt 3*. You must use a designer from Qt 2 to
maintain compatibility.

Remember to check tab order on a dialog (third icon, with blue bars in designer).

Remember to check sensible resizing behaviour on a dialog.

Remember to use Edit->Check Accelerators

If necessary, you should override Qt2Base::isValid() for determining the validity
of the current dialog's contents.

OK/Apply/Restore/Close should be connected in the derived class's constructor
to call form_->slotOK() etc. Refer to close/cancel as close in the source.

Override update_contents() to update the dialog, not update(), and build_dialog(),
not build(). Only these functions may change dialog widgets that may emit changed()
during initialisation, to prevent the button controller from changing its state.

Never call buttoncontroller functions directly from dialogs. In general, you
should use Qt2Base::changed() in all circumstances. However, if you must call
the buttoncontroller, make sure to respect Qt2Base::updating_

Don't #undef emit - #include "QtLyXView.h" instead

Naming conventions
------------------

QFoo.[Ch]              The file that interacts with the controller
QFooDialog.[Ch]        The implementation of the dialog, derived from the generated files
ui/QFooDialog.ui       The designer file
ui/QFooDialogBase.[Ch] Generated files from QFooDialog.ui

slots should be named e.g. slotFooClicked(), slotFooSelected(), where foo is the name
of the widget.

Widgets should be named like "fooXX", where XX is one of the following
widget types :

CB - check box
CO - combo box
ED - line edit
LA - label
ML -
PB - push button
(FIXME: complete this)


Stuff to be aware of
--------------------

The connect statement in Qt is a macro and its arguments does not follow
the C++ standard as it should. Using the construct "Type const &" as
argument will lead to runtime-errors, use "const Type &" instead.

ex.

--right--

	connect(list, SIGNAL(selected(const QString &)),
		this, SLOT(complete_selected(const QString &)));

--wrong--

	connect(list, SIGNAL(selected(QString const &)),
		this, SLOT(complete_selected(QString const &)));

Qt, Unicode, and LyX
--------------------

LyX isn't unicoded yet. But you should follow these simple rules :

o Use qt_() not _() in code
o Use fromqstr and toqstr NOT .latin1() / .c_str()

Using these functions (in qt_helpers.h) will make sure we use
the right locale for converting to Qt's QString, which is unicode.