lyx_mirror/src/frontends/qt2
Lars Gullik Bjønnes e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
..
moc qt command buffer stuff, some image fixes 2002-07-19 23:04:55 +00:00
ui Texinfo path issue repaired, Bibtex style combo, Citation, External re-layout. 2002-07-23 13:12:55 +00:00
.cvsignore
Alert_pimpl.C xforms ? what xforms ? 2002-07-14 01:44:15 +00:00
ChangeLog fix tooltips in toolbar 2002-07-25 05:04:01 +00:00
Dialogs.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
emptytable.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
emptytable.h ws cleanup 2002-03-21 21:21:28 +00:00
FileDialog_private.C Trivial compilation fixes. 2002-07-24 07:35:59 +00:00
FileDialog_private.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
FileDialog.C ws cleanup 2002-03-21 21:21:28 +00:00
guiapi.C Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better but it works. 2002-07-17 15:51:23 +00:00
io_callback.h make lyxserver work 2002-07-14 02:04:19 +00:00
lengthcombo.C ws cleanup 2002-03-21 21:21:28 +00:00
lengthcombo.h ws cleanup 2002-03-21 21:21:28 +00:00
lyx_gui.C remove some unneeded version of functions from lstrings, 2002-07-28 18:13:51 +00:00
LyXKeySymFactory.C Missing files, get keyboard partly working 2002-06-19 05:20:29 +00:00
LyXScreenFactory.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
Makefile.am qt command buffer stuff, some image fixes 2002-07-19 23:04:55 +00:00
Makefile.dialogs Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better but it works. 2002-07-17 15:51:23 +00:00
Menubar_pimpl.C Step by step .. 2002-07-25 02:24:36 +00:00
Menubar_pimpl.h Step by step .. 2002-07-25 02:24:36 +00:00
QAbout.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QAbout.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QAboutDialog.C ws cleanup 2002-03-21 21:21:28 +00:00
QAboutDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QBibitem.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QBibitem.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QBibitemDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QBibitemDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QBibtex.C Trivial compilation fixes. 2002-07-24 07:35:59 +00:00
QBibtex.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QBibtexDialog.C Trivial compilation fixes. 2002-07-24 07:35:59 +00:00
QBibtexDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QCharacter.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QCharacter.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QCharacterDialog.C ws cleanup 2002-03-21 21:21:28 +00:00
QCharacterDialog.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QCitation.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QCitation.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QCitationDialog.C Fix loop search in cite dialog. Also info update fix. 2002-07-22 15:30:24 +00:00
QCitationDialog.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QCommandBuffer.C Trivial compilation fixes. 2002-07-24 07:35:59 +00:00
QCommandBuffer.h added files 2002-07-19 23:05:24 +00:00
QCommandEdit.C make tab work 2002-07-25 04:41:11 +00:00
QCommandEdit.h added files 2002-07-19 23:05:24 +00:00
QContentPane.C Yet more (minor) compilation fixes. 2002-06-21 16:40:54 +00:00
QContentPane.h remove focus/unfocus events - unused 2002-06-19 22:11:20 +00:00
QDocument.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QDocument.h use more specific smart_ptr headers 2002-05-22 01:16:37 +00:00
QDocumentDialog.C ws cleanup 2002-03-21 21:21:28 +00:00
QDocumentDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QError.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QError.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QErrorDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QErrorDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QERT.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QERT.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QERTDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QERTDialog.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QExternal.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QExternal.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QExternalDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QExternalDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QFloat.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QFloat.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QFloatDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QFloatDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
qfont_loader.C Missing files, get keyboard partly working 2002-06-19 05:20:29 +00:00
qfont_loader.h Move fontloader into lyx_gui stuff. Now Qt should compile out of the box 2002-07-12 03:05:13 +00:00
qfont_metrics.C Yet more (minor) compilation fixes. 2002-06-21 16:40:54 +00:00
QGraphics.C Add style browser to bibtex and document combo to refs. Also some altered dialog layouts and a compilation fix. 2002-07-22 14:04:38 +00:00
QGraphics.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QGraphicsDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QGraphicsDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QInclude.C Add style browser to bibtex and document combo to refs. Also some altered dialog layouts and a compilation fix. 2002-07-22 14:04:38 +00:00
QInclude.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QIncludeDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QIncludeDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QIndex.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QIndex.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QIndexDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QIndexDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QLImage.C qt command buffer stuff, some image fixes 2002-07-19 23:04:55 +00:00
QLImage.h remove getPixmap() from GraphicsImage 2002-07-15 17:17:57 +00:00
qlkey.h various small fixes 2002-07-22 18:22:35 +00:00
QLog.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QLog.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QLogDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QLogDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QLPainter.C Basic Qt image loader support, clipboard support 2002-07-12 01:48:53 +00:00
QLPainter.h Asymptotic approach to a well-designed graphics loader. 2002-06-28 11:22:56 +00:00
QLyXKeySym.C don't crash when you press Alt Gr etc. :) 2002-07-22 22:07:16 +00:00
QLyXKeySym.h various small fixes 2002-07-22 18:22:35 +00:00
QMinipage.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QMinipage.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QMinipageDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QMinipageDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QParagraph.C Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better but it works. 2002-07-17 15:51:23 +00:00
QParagraph.h Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better but it works. 2002-07-17 15:51:23 +00:00
QParagraphDialog.C Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better but it works. 2002-07-17 15:51:23 +00:00
QParagraphDialog.h Add paragraph dialog to qt2 frontend. First commit, I am sure it can be done better but it works. 2002-07-17 15:51:23 +00:00
QPreamble.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QPreamble.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QPreambleDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QPreambleDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QPrint.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QPrint.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QPrintDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QPrintDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QRef.C Add style browser to bibtex and document combo to refs. Also some altered dialog layouts and a compilation fix. 2002-07-22 14:04:38 +00:00
QRef.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QRefDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QRefDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
qscreen.C qt command buffer stuff, some image fixes 2002-07-19 23:04:55 +00:00
qscreen.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QSearch.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QSearch.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QSearchDialog.C ws cleanup 2002-03-21 21:21:28 +00:00
QSearchDialog.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QShowFile.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QShowFile.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QShowFileDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QShowFileDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QSpellchecker.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QSpellchecker.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QSpellcheckerDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QSpellcheckerDialog.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
Qt2Base.C ws cleanup 2002-03-21 21:21:28 +00:00
Qt2Base.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
Qt2BC.C handle some tmpl files in a more sane way 2002-06-10 17:33:05 +00:00
Qt2BC.h some small updates 2001-08-23 21:21:50 +00:00
QTabularCreate.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QTabularCreate.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QTabularCreateDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QTabularCreateDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QTexinfo.C Texinfo path issue repaired, Bibtex style combo, Citation, External re-layout. 2002-07-23 13:12:55 +00:00
QTexinfo.h Trivial compilation fixes. 2002-07-24 07:35:59 +00:00
QTexinfoDialog.C Texinfo path issue repaired, Bibtex style combo, Citation, External re-layout. 2002-07-23 13:12:55 +00:00
QTexinfoDialog.h Texinfo path issue repaired, Bibtex style combo, Citation, External re-layout. 2002-07-23 13:12:55 +00:00
QThesaurus.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QThesaurus.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QThesaurusDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QThesaurusDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QtLyXView.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QToc.C compile fies, tiny QToc improvement 2002-07-21 18:13:13 +00:00
QToc.h compile fies, tiny QToc improvement 2002-07-21 18:13:13 +00:00
QTocDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QTocDialog.h ws cleanup 2002-03-21 21:21:28 +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 toolbar - remove dead code 2002-07-22 21:43:27 +00:00
QtView.h qt command buffer stuff, some image fixes 2002-07-19 23:04:55 +00:00
QURL.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QURL.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QURLDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QURLDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QVCLog.C Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QVCLog.h Compile fixes. Qt2 should now build (and fail immediately when you start it, 2002-07-11 01:01:38 +00:00
QVCLogDialog.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
QVCLogDialog.h ws cleanup 2002-03-21 21:21:28 +00:00
QWorkArea.C qt command buffer stuff, some image fixes 2002-07-19 23:04:55 +00:00
QWorkArea.h resize/redraw changes 2002-06-21 02:58:54 +00:00
README The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
Timeout_pimpl.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
Timeout_pimpl.h The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +00:00
TODO Texinfo path issue repaired, Bibtex style combo, Citation, External re-layout. 2002-07-23 13:12:55 +00:00
Toolbar_pimpl.C fix tooltips in toolbar 2002-07-25 05:04:01 +00:00
Toolbar_pimpl.h toolbar - remove dead code 2002-07-22 21:43:27 +00:00
WorkAreaFactory.C The initial merge of the Qt frontend, and the necessary compile fixes. 2002-06-19 03:38:44 +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 _("...").
 
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