lyx_mirror/src/frontends/qt4
Abdelrazak Younes 6a742b7aa0 This patch removes qscreen.[Ch] and simplify the cursor drawing on screen. Basically, we paint now only if needed. So there's no need anymore to handle the "no cursor" pixmap saving.
SConscript: removed qscreen.C
frontends/qt4/Makefile.am: removed qscreen.C
frontends/screen.h: remove workarea() constness
frontends/qt3/qscreen.[Ch]: ditto
frontends/gtk/GScreen.[Ch]: ditto
frontends/xforms/xscreen.[Ch]: ditto
frontends/qt4/LyXScreenFactory.C: now return the QWorkarea directly
frontends/qt4/QWorkArea.[Ch]: inherits LyXScreen, handle the cursor painting
frontends/qt4/qscreen.[Ch]: removed 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13981 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-02 12:01:28 +00:00
..
ui Add new tableinsertwidget 2006-05-31 12:53:05 +00:00
Alert_pimpl.C change string "qt2" to "qt4" 2006-04-24 13:25:50 +00:00
BiblioModuleBase.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
BulletsModule.C Some MSVC2003/2005 compatibility fixes, from Bo Peng (ben.bob@gmail.com) 2006-05-29 14:56:08 +00:00
BulletsModule.h replaced last convenience class in iconpallete 2006-05-08 11:44:37 +00:00
ChangeLog set svn:eol-style to native in qt4 frontend 2006-03-21 19:56:57 +00:00
checkedwidgets.C change string "qt2" to "qt4" 2006-04-24 13:25:50 +00:00
checkedwidgets.h change string "qt2" to "qt4" 2006-04-24 13:25:50 +00:00
Dialogs.C getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
emptytable.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
emptytable.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
FileDialog_private.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
FileDialog_private.h getting rid of qt4 convenience classes: 2006-05-07 10:20:43 +00:00
FileDialog.C getting rid of qt4 convenience classes: 2006-05-07 10:20:43 +00:00
floatplacement.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
floatplacement.h getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
iconpalette.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
iconpalette.h replaced last convenience class in iconpallete 2006-05-08 11:44:37 +00:00
InsertTableWidget.C small cleanup: we don't need to store the funcrequest 2006-06-01 20:34:22 +00:00
InsertTableWidget.h small cleanup: we don't need to store the funcrequest 2006-06-01 20:34:22 +00:00
lcolorcache.C added "none" color special case. 2006-04-11 09:59:56 +00:00
lcolorcache.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
lengthcombo.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
lengthcombo.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
lyx_gui.C * src/frontends/*/lyx_gui.C: 2006-05-30 10:20:35 +00:00
LyXKeySymFactory.C change string "qt2" to "qt4" 2006-04-24 13:25:50 +00:00
LyXScreenFactory.C This patch removes qscreen.[Ch] and simplify the cursor drawing on screen. Basically, we paint now only if needed. So there's no need anymore to handle the "no cursor" pixmap saving. 2006-06-02 12:01:28 +00:00
Makefile.am This patch removes qscreen.[Ch] and simplify the cursor drawing on screen. Basically, we paint now only if needed. So there's no need anymore to handle the "no cursor" pixmap saving. 2006-06-02 12:01:28 +00:00
Makefile.dialogs Add new tableinsertwidget 2006-05-31 12:53:05 +00:00
panelstack.C * QPrefsDialog.[Ch]: Split up of QPrefsDialog into different modules (one per .ui file) 2006-05-20 11:49:53 +00:00
panelstack.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
pch.h Remove <climits> for pch.h as this header is not used anywhere in the qt4 frontend. 2006-05-06 14:41:23 +00:00
QAbout.C getting rid of qt4 convenience classes: 2006-05-07 10:20:43 +00:00
QAbout.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QAboutDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QAboutDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibitem.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibitem.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibitemDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QBibitemDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibtex.C Replace Q3ListBox with QListWidget: 2006-05-02 19:17:59 +00:00
QBibtex.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibtexDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QBibtexDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBox.C getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
QBox.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBoxDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QBoxDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranch.C getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
QBranch.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranchDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QBranchDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranches.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QBranches.h getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
QBrowseBox.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
QBrowseBox.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QChanges.C getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
QChanges.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QChangesDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QChangesDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCharacter.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCharacter.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCharacterDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QCharacterDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCitation.C I have continued a bit on my track to do a real model view separation for the Citation Dialog. In this new scheme, QCitation is the controller and the model at the same time, it inherits ControlCitation and it doesn't know about the view. QCitationDialog is the view, it is using QCitation to get its model and for communication with the core; it is inheriting Dialog::View directly. 2006-04-11 08:26:43 +00:00
QCitation.h I have continued a bit on my track to do a real model view separation for the Citation Dialog. In this new scheme, QCitation is the controller and the model at the same time, it inherits ControlCitation and it doesn't know about the view. QCitationDialog is the view, it is using QCitation to get its model and for communication with the core; it is inheriting Dialog::View directly. 2006-04-11 08:26:43 +00:00
QCitationDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QCitationDialog.h getting rid of qt4 convenience classes: 2006-05-07 10:20:43 +00:00
QCommandBuffer.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QCommandBuffer.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCommandEdit.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QCommandEdit.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDelimiterDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QDelimiterDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDialogView.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QDialogView.h Changelog: 2006-03-22 18:59:17 +00:00
QDocument.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
QDocument.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDocumentDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QDocumentDialog.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
QErrorList.C get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QErrorList.h get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QErrorListDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QErrorListDialog.h get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QERT.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QERT.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QERTDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QERTDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QExternal.C get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QExternal.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QExternalDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QExternalDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QFloat.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QFloat.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QFloatDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QFloatDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qfont_loader.C Enable Font width caching. 2006-05-25 22:37:01 +00:00
qfont_loader.h Enable Font width caching. 2006-05-25 22:37:01 +00:00
qfont_metrics.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
qfontexample.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qfontexample.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QGraphics.C clean up of the graphics dialog: 2006-04-06 21:04:27 +00:00
QGraphics.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QGraphicsDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QGraphicsDialog.h clean up of the graphics dialog: 2006-04-06 21:04:27 +00:00
QGraphicsUi.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QInclude.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QInclude.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIncludeDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QIncludeDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIndex.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIndex.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIndexDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QIndexDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLAction.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QLAction.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLImage.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
QLImage.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qlkey.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLMenubar.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QLMenubar.h change string "qt2" to "qt4" 2006-04-24 13:25:50 +00:00
QLog.C getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
QLog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLogDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QLogDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLPainter.C clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QLPainter.h clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QLPopupMenu.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QLPopupMenu.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
QLPrintDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QLPrintDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLToolbar.C small cleanup: we don't need to store the funcrequest 2006-06-01 20:34:22 +00:00
QLToolbar.h Add new tableinsertwidget 2006-05-31 12:53:05 +00:00
QLyXKeySym.C getting rid of qt4 convenience classes: 2006-05-07 10:20:43 +00:00
QLyXKeySym.h getting rid of qt4 convenience classes: 2006-05-07 10:20:43 +00:00
QMath.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMath.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMathDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QMathDialog.h Porting work from Edwin Leuven: 2006-04-05 15:10:34 +00:00
QMathMatrixDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QMathMatrixDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QNote.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QNote.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QNoteDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QNoteDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QParagraph.C getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
QParagraph.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QParagraphDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QParagraphDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QPrefs.C 2006-04-06 Bo Peng <ben.bob@gmail.com> 2006-04-05 22:56:18 +00:00
QPrefs.h Changelog: 2006-03-22 18:59:17 +00:00
QPrefsDialog.C * src/format.[Ch] 2006-05-20 12:03:40 +00:00
QPrefsDialog.h * QPrefsDialog.[Ch]: Split up of QPrefsDialog into different modules (one per .ui file) 2006-05-20 11:49:53 +00:00
QPrint.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QPrint.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QRef.C get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QRef.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QRefDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QRefDialog.h get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QSearch.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSearch.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSearchDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QSearchDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSendto.C get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QSendto.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSendtoDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QSendtoDialog.h get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
qsetborder.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
qsetborder.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QShowFile.C getting rid of even more qt3 convenience classes and unused headers... 2006-05-04 07:31:46 +00:00
QShowFile.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QShowFileDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QShowFileDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSpellchecker.C get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QSpellchecker.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSpellcheckerDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QSpellcheckerDialog.h get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
Qt2BC.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
Qt2BC.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qt_helpers.C Remove qt2 support in the following files: 2006-03-17 19:02:43 +00:00
qt_helpers.h change string "qt2" to "qt4" 2006-04-24 13:25:50 +00:00
QTabular.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabular.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularCreate.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularCreate.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularCreateDialog.C Add new tableinsertwidget 2006-05-31 12:53:05 +00:00
QTabularCreateDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularDialog.C don't crash: apply values before closing 2006-06-01 20:33:37 +00:00
QTabularDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTexinfo.C get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QTexinfo.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTexinfoDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QTexinfoDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QThesaurus.C get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QThesaurus.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QThesaurusDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QThesaurusDialog.h get rid of convenience classes in the following dialogs (and associated implementation files): 2006-05-03 19:51:15 +00:00
QtLyXView.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QToc.C * QToc.[Ch], QTocDialog.[Ch]: adaptation to ControlToc changes in r13772 2006-04-28 09:16:48 +00:00
QToc.h * QToc.[Ch], QTocDialog.[Ch]: adaptation to ControlToc changes in r13772 2006-04-28 09:16:48 +00:00
QTocDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QTocDialog.h * QToc.[Ch], QTocDialog.[Ch]: adaptation to ControlToc changes in r13772 2006-04-28 09:16:48 +00:00
qtTimeout.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qtTimeout.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QtView.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QtView.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QURL.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QURL.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QURLDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QURLDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QViewSource.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QViewSource.h Initial Qt4 support for view-source feature (r13610), from Bo Peng (ben.bob@gmail.com) 2006-04-15 14:13:41 +00:00
QViewSourceDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QViewSourceDialog.h Initial Qt4 support for view-source feature (r13610), from Bo Peng (ben.bob@gmail.com) 2006-04-15 14:13:41 +00:00
QVSpace.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QVSpace.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QVSpaceDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QVSpaceDialog.h Fix enableCustom 2006-04-11 10:51:59 +00:00
QWorkArea.C This patch removes qscreen.[Ch] and simplify the cursor drawing on screen. Basically, we paint now only if needed. So there's no need anymore to handle the "no cursor" pixmap saving. 2006-06-02 12:01:28 +00:00
QWorkArea.h This patch removes qscreen.[Ch] and simplify the cursor drawing on screen. Basically, we paint now only if needed. So there's no need anymore to handle the "no cursor" pixmap saving. 2006-06-02 12:01:28 +00:00
QWrap.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QWrap.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QWrapDialog.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
QWrapDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
README Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
socket_callback.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
socket_callback.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
TocModel.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
TocModel.h * QToc.[Ch], QTocDialog.[Ch]: adaptation to ControlToc changes in r13772 2006-04-28 09:16:48 +00:00
validators.C Qt4 compilation speedup patch by Bo Peng and me. 2006-05-18 08:51:12 +00:00
validators.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
WorkAreaFactory.C change string "qt2" to "qt4" 2006-04-24 13:25:50 +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.

moc is incredibly stupid and sometimes you need a fully qualified
"std::string" for .connect() statements to work. Be very, very careful.

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.