lyx_mirror/src/frontends/qt2
Jürgen Spitzmüller 5f3e824d2c QParagraph: remove lines & pagebreaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8010 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 12:39:59 +00:00
..
moc allow to compile several frontends at once (and produce several binaries) 2003-08-02 20:01:52 +00:00
ui QParagraph: remove lines & pagebreaks 2003-11-01 12:39:59 +00:00
.cvsignore The big renaming. Yowser. 2001-08-19 13:25:15 +00:00
Alert_pimpl.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BulletsModule.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BulletsModule.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
ChangeLog QParagraph: remove lines & pagebreaks 2003-11-01 12:39:59 +00:00
Dialogs2.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
Dialogs.C qt branch support 2003-10-23 11:58:01 +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 The std::string mammoth path. 2003-10-06 15:43:21 +00:00
FileDialog_private.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
FileDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
floatplacement.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
floatplacement.h Qt compilation fixes. 2003-10-06 19:57:16 +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 Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
lengthcombo.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
lyx_gui.C Turn LyX into a singleton class. Kill the BufferView cache. 2003-10-14 21:30:23 +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 qt branch support 2003-10-23 11:58:01 +00:00
Makefile.dialogs qt branch support 2003-10-23 11:58:01 +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 The std::string mammoth path. 2003-10-06 15:43:21 +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
QBranch.C qt branch support 2003-10-23 11:58:01 +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 The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QCitation.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QCitationDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QCitationDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +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 some configure output changes, fix a new bug 2003-09-21 16:02:54 +00:00
QContentPane.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +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 qt branches: color fixes 2003-10-27 07:05:07 +00:00
QDocument.h qt branch support 2003-10-23 11:58:01 +00:00
QDocumentDialog.C qt branches: color fixes 2003-10-27 07:05:07 +00:00
QDocumentDialog.h qt branch support 2003-10-23 11:58:01 +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 Give InsetExternal the ability to preview its contents. 2003-10-22 22:26:47 +00:00
QExternal.h Add transformations to InsetExternal. 2003-10-07 22:59:58 +00:00
QExternalDialog.C Add transformations to InsetExternal. 2003-10-07 22:59:58 +00:00
QExternalDialog.h Add transformations to InsetExternal. 2003-10-07 22:59:58 +00:00
QFloat.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +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 Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +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 small osx-related bits 2003-10-08 14:46:05 +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 The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QGraphics.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QGraphicsDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLMenubar.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLog.C The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLToolbar.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
QLyXKeySym.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QLyXKeySym.h The std::string mammoth path. 2003-10-06 15:43:21 +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
QMinipage.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QMinipage.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QMinipageDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QMinipageDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QNote.C The std::string mammoth path. 2003-10-06 15:43:21 +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 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK 2003-10-27 12:41:26 +00:00
QParagraph.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QParagraphDialog.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
QParagraphDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QPrefs.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QPrefs.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QPrefsDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QPrefsDialog.h Rename EnumLColor as LColor_color. 2003-09-18 11:48:11 +00:00
QPrint.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QPrint.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QRef.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QRef.h The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QSearch.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QSearchDialog.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QSearchDialog.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
QSendto.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QSendto.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +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 The std::string mammoth path. 2003-10-06 15:43:21 +00:00
QSpellchecker.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +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
Qt2Base.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Qt2Base.h The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +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 The std::string mammoth path. 2003-10-06 15:43:21 +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
QVCLog.C Fix compilaton issues by including debug.h first. 2003-09-29 10:50:51 +00:00
QVCLog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QVCLogDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QVCLogDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QWorkArea.C The std::string mammoth path. 2003-10-06 15:43:21 +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
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.