2001-08-19 13:25:15 +00:00
|
|
|
This file contains some do's and dont's for the Qt2 frontend.
|
|
|
|
|
|
|
|
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 -
|
2001-08-23 21:21:50 +00:00
|
|
|
ED - line edit
|
|
|
|
LA - label
|
2001-08-19 13:25:15 +00:00
|
|
|
ML -
|
|
|
|
PB - push button
|
|
|
|
(FIXME: complete this)
|
|
|
|
|
|
|
|
|
|
|
|
Dialog Maintainer MVC conversion
|
|
|
|
----------------------------------------------
|
|
|
|
Character Edwin
|
2001-08-23 21:21:50 +00:00
|
|
|
Citation Kalle Done ?
|
2001-08-19 13:25:15 +00:00
|
|
|
Document Kalle In progress (Not yet prepared)
|
2001-08-23 21:21:50 +00:00
|
|
|
Index Kalle Done
|
2001-08-19 13:25:15 +00:00
|
|
|
Paragraph Edwin Not yet prepared
|
|
|
|
Print Edwin
|
|
|
|
Ref Kalle
|
|
|
|
Search Edwin
|
|
|
|
Splash Edwin
|
|
|
|
Tabular Not yet prepared
|
|
|
|
TabularCreate Edwin
|
|
|
|
Toc Kalle
|
|
|
|
Url Kalle
|