lyx_mirror/src/frontends/qt2
Angus Leeming 4f0019dfd7 Separate interface from implementation; make GraphicsImage's pure virtual
functions private.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7775 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:34:39 +00:00
..
moc allow to compile several frontends at once (and produce several binaries) 2003-08-02 20:01:52 +00:00
ui fix typo in tooltip 2003-09-03 16:02:57 +00:00
.cvsignore The big renaming. Yowser. 2001-08-19 13:25:15 +00:00
Alert_pimpl.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
BulletsModule.C BOOST_ASSERT compile fixes. 2003-09-09 18:19:34 +00:00
BulletsModule.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
ChangeLog Separate interface from implementation; make GraphicsImage's pure virtual 2003-09-16 15:34:39 +00:00
Dialogs2.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
Dialogs.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
FileDialog_private.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
FileDialog.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
floatplacement.C Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
floatplacement.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
iconpalette.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
iconpalette.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +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 The EnumLColor patch, free of macros. 2003-09-15 15:20:22 +00:00
lcolorcache.h The EnumLColor patch, free of macros. 2003-09-15 15:20:22 +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 lyxfont.h no longer #includes LColor.h. 2003-09-16 09:01:15 +00:00
LyXKeySymFactory.C Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
LyXScreenFactory.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
Makefile.am allow to compile several frontends at once (and produce several binaries) 2003-08-02 20:01:52 +00:00
Makefile.dialogs towards saner frontends. Part I: the toolbar 2003-07-25 18:10:34 +00:00
panelstack.C BOOST_ASSERT compile fixes. 2003-09-09 18:19:34 +00:00
panelstack.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
QAbout.C Compilation fixes (remove STRCONV). 2003-09-15 12:00:03 +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 Strip out another 350 redundant #includes. 2003-09-05 14:56: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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +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
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 If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +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 lyxfont.h no longer #includes LColor.h. 2003-09-16 09:01:15 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QCitation.h Ensure that the header files can be compiled stand-alone. 2003-09-05 15:06:13 +00:00
QCitationDialog.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +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 Removed all redundant using directives from the source. 2003-09-08 00:33:41 +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 Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QDelimiterDialog.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
QDialogView.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QDialogView.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QDocument.C Change Assert to BOOST_ASSERT. 2003-09-09 17:25:35 +00:00
QDocument.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QDocumentDialog.C Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QDocumentDialog.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QErrorList.C Strip out another 350 redundant #includes. 2003-09-05 14:56: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 Strip out another 350 redundant #includes. 2003-09-05 14:56: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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QExternal.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QExternalDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QExternalDialog.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QFloat.C Strip out another 350 redundant #includes. 2003-09-05 14:56: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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +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 All .C files should #include there own .h file I guess ;-) 2003-09-05 16:18:57 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QGraphics.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QGraphicsDialog.C Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +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 Strip out another 350 redundant #includes. 2003-09-05 14:56: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 If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QIndex.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +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 Separate interface from implementation; make GraphicsImage's pure virtual 2003-09-16 15:34:39 +00:00
QLImage.h Separate interface from implementation; make GraphicsImage's pure virtual 2003-09-16 15:34:39 +00:00
qlkey.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
QLMenubar.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
QLMenubar.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
QLog.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +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 EnumLColor patch, free of macros. 2003-09-15 15:20:22 +00:00
QLPainter.h The EnumLColor patch, free of macros. 2003-09-15 15:20:22 +00:00
QLPopupMenu.C Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QLPopupMenu.h some includes needed to build on gcc-2.96 + qt-2.3 2003-09-08 16:23:31 +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 Pimpl Buffer. 2003-09-09 11:24:33 +00:00
QLToolbar.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QLyXKeySym.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
QLyXKeySym.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +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 Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
QMathDialog.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
QMathMatrixDialog.C Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QMathMatrixDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QMinipage.C Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +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 Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QParagraph.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +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 lyxfont.h no longer #includes LColor.h. 2003-09-16 09:01:15 +00:00
QPrefs.h Ensure that the header files can be compiled stand-alone. 2003-09-05 15:06:13 +00:00
QPrefsDialog.C The EnumLColor patch, free of macros. 2003-09-15 15:20:22 +00:00
QPrefsDialog.h The EnumLColor patch, free of macros. 2003-09-15 15:20:22 +00:00
QPrint.C Strip out another 350 redundant #includes. 2003-09-05 14:56: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 Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
QRef.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +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 The EnumLColor patch, free of macros. 2003-09-15 15:20:22 +00:00
qscreen.h Ensure that the header files can be compiled stand-alone. 2003-09-05 15:06:13 +00:00
QSearch.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QSearch.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QSearchDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
QSearchDialog.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
QSendto.C Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +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 If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +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 Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +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 Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
Qt2Base.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
Qt2BC.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
Qt2BC.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
qt_helpers.C some includes needed to build on gcc-2.96 + qt-2.3 2003-09-08 16:23:31 +00:00
qt_helpers.h Replace LString.h with support/std_string.h, 2003-09-05 17:23:11 +00:00
QTabular.C Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QTabular.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QTabularCreate.C Strip out another 350 redundant #includes. 2003-09-05 14:56: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 Remove unnecessary using std::endl directive that is breaking compilation. 2003-09-07 16:49:41 +00:00
QTabularDialog.h Remove all unnecessary #includes from header files. 2003-09-07 01:45:40 +00:00
QTexinfo.C Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QTexinfo.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QTexinfoDialog.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +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 Strip out another 350 redundant #includes. 2003-09-05 14:56: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 Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +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 Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
QToc.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +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 If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +00:00
QtView.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
QURL.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +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 Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +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 EnumLColor patch, free of macros. 2003-09-15 15:20:22 +00:00
QWorkArea.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
QWrap.C Replace 'using namespace abc;' with 'using abc::xyz;' 2003-09-09 22:13:45 +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.