lyx_mirror/src/frontends/qt2
Lars Gullik Bjønnes bcbfc72c47 transpose const char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-15 18:29:01 +00:00
..
moc Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
ui Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
.cvsignore The big renaming. Yowser. 2001-08-19 13:25:15 +00:00
Alert_pimpl.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
BulletsModule.C Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
BulletsModule.h Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
ChangeLog transpose const char 2002-10-15 18:29:01 +00:00
Dialogs2.C Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
Dialogs_impl.h Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
Dialogs.C Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
emptytable.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
emptytable.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
FileDialog_private.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
FileDialog_private.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
FileDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
iconpalette.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
iconpalette.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
io_callback.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
io_callback.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
lengthcombo.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
lengthcombo.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
lyx_gui.C Implement getDPI 2002-10-14 20:20:34 +00:00
LyXKeySymFactory.C doxygen fixes. 2002-09-26 08:57:43 +00:00
LyXScreenFactory.C doxygen fixes. 2002-09-26 08:57:43 +00:00
Makefile.am Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
Makefile.dialogs Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
Menubar_pimpl.C doxygen fixes. 2002-09-26 08:57:43 +00:00
Menubar_pimpl.h doxygen fixes. 2002-09-26 08:57:43 +00:00
QAbout.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QAbout.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QAboutDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QAboutDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibitem.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibitem.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibitemDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibitemDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibtex.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibtex.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibtexDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBibtexDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QBrowseBox.C transpose const char 2002-10-15 18:29:01 +00:00
QBrowseBox.h Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
QCharacter.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCharacter.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCharacterDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCharacterDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCitation.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCitation.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCitationDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCitationDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCommandBuffer.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCommandBuffer.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QCommandEdit.C fix build. 2002-09-24 14:44:52 +00:00
QCommandEdit.h fix build. 2002-09-24 14:44:52 +00:00
QContentPane.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QContentPane.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QDelimiterDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QDelimiterDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QDocument.C transpose const char 2002-10-15 18:29:01 +00:00
QDocument.h Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
QDocumentDialog.C Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
QDocumentDialog.h Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
QError.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QError.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QErrorDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QErrorDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QERT.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QERT.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QERTDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QERTDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QExternal.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QExternal.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QExternalDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QExternalDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QFloat.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QFloat.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QFloatDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QFloatDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
qfont_loader.C Fix qfont_loader::available for QT2. 2002-10-15 12:59:08 +00:00
qfont_loader.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
qfont_metrics.C Compilation fix for QT2 2002-10-15 16:48:53 +00:00
QGraphics.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QGraphics.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QGraphicsDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QGraphicsDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
qgridview.cpp Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
qgridview.h Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
QInclude.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QInclude.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QIncludeDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QIncludeDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QIndex.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QIndex.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QIndexDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QIndexDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLImage.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLImage.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
qlkey.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLogDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLogDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLPainter.C Compilation fix for QT2 2002-10-15 16:48:53 +00:00
QLPainter.h Unicode support 2002-10-15 15:13:49 +00:00
QLPopupMenu.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLPopupMenu.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLyXKeySym.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QLyXKeySym.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMath.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMath.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMathDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMathDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMinipage.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMinipage.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMinipageDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QMinipageDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QParagraph.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QParagraph.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QParagraphDialog.C Copyright notices 2002-09-25 14:26:13 +00:00
QParagraphDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QPreamble.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QPreamble.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QPreambleDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QPreambleDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QPrint.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QPrint.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QPrintDialog.C Copyright notices 2002-09-25 14:26:13 +00:00
QPrintDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QRef.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QRef.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QRefDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QRefDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
qscreen.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
qscreen.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSearch.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSearch.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSearchDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSearchDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QShowFile.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QShowFile.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QShowFileDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QShowFileDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSpellchecker.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSpellchecker.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSpellcheckerDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QSpellcheckerDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
Qt2Base.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
Qt2Base.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
Qt2BC.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
Qt2BC.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTabularCreate.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTabularCreate.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTabularCreateDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTabularCreateDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTexinfo.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTexinfo.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTexinfoDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTexinfoDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QThesaurus.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QThesaurus.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QThesaurusDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QThesaurusDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QtLyXView.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QToc.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QToc.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTocDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QTocDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
qttableview.C ws cleanup 2002-03-21 21:21:28 +00:00
qttableview.h support for Qt3 2001-12-01 02:24:28 +00:00
QtView.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QtView.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QURL.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QURL.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QURLDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QURLDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QVCLog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QVCLog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QVCLogDialog.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QVCLogDialog.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QWorkArea.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QWorkArea.h Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
QWrap.C Juergen's wrap dialog for Qt 2002-10-07 16:41:10 +00:00
QWrap.h Juergen's wrap dialog for Qt 2002-10-07 16:41:10 +00:00
QWrapDialog.C Juergen's wrap dialog for Qt 2002-10-07 16:41:10 +00:00
QWrapDialog.h Juergen's wrap dialog for Qt 2002-10-07 16:41:10 +00:00
README incomplete key mapping stuff. Introduces some breakage. 2002-07-30 00:53:57 +00:00
Timeout_pimpl.C Lots and lots of little trivial bits. 2002-09-24 13:57:09 +00:00
Timeout_pimpl.h doxygen fixes. 2002-09-26 08:57:43 +00:00
TODO Brand new qt document dialog. Not finished yet though. TODO is updated and lists 2002-10-09 08:59:02 +00:00
Toolbar_pimpl.C doxygen fixes. 2002-09-26 08:57:43 +00:00
Toolbar_pimpl.h doxygen fixes. 2002-09-26 08:57:43 +00:00
WorkAreaFactory.C doxygen fixes. 2002-09-26 08:57:43 +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.
 
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)

 
Dialog		Maintainer	MVC conversion
----------------------------------------------
About		John		Done
Bibitem		John		Done
Bibtex		John		Done
Character	Edwin		Done
Citation	Kalle		Done
Document	Kalle		Waiting for MVC
ERT		John		Done
Error		John		Done 
External	John		Done 
Graphics	John		Done
Include		John		Done 
Index		Kalle		Done
Log		John		Done
Minipage	John		Done 
Paragraph	Edwin		Waiting to be updated
Preamble	John		Done
Print		Edwin		Done
Ref		Kalle		Done
Search		Edwin		Done
Spellchecker	John		Done
Splash		Edwin
Tabular				Waiting for MVC
TabularCreate	Edwin		Done
Thesaurus	John		Done
Toc		Kalle		Waiting to be updated
Url		Kalle		Done
VCLog		John		Done