lyx_mirror/src/frontends/qt2
Jean-Marc Lasgouttes 810fbe89aa plug two memory leaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10069 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 09:44:13 +00:00
..
moc the AM_* flags patch 2005-05-20 16:56:28 +00:00
ui UI fixes from Michael 2005-05-29 08:31:27 +00:00
.cvsignore some pch work 2004-08-18 15:59:50 +00:00
Alert_pimpl.C Make the Qt Alert boxes recognize their parent. 2005-05-12 22:37:43 +00:00
BulletsModule.C Improve feedback when trying to create a custom bullet. 2005-04-28 15:34:19 +00:00
BulletsModule.h Improve feedback when trying to create a custom bullet. 2005-04-28 15:34:19 +00:00
ChangeLog plug two memory leaks 2005-06-16 09:44:13 +00:00
checkedwidgets.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
checkedwidgets.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
Dialogs.C more text cleanups from Michael 2005-05-19 18:53:09 +00:00
emptytable.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Clean-up FileFilterList API. 2004-11-26 12:31:39 +00:00
FileDialog_private.h Handle Qt-style file filters like 2004-01-08 10:59:51 +00:00
FileDialog.C Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
floatplacement.C fix bugs discovered by msvc 2005-01-20 14:38:45 +00:00
floatplacement.h some support for pch 2004-08-15 21:45:30 +00:00
iconpalette.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
iconpalette.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
lcolorcache.C Rename EnumLColor as LColor_color. 2003-09-18 11:48:11 +00:00
lcolorcache.h disable conecpt checks for gtk dir, fix concept checks for qt 2004-11-16 23:18:46 +00:00
lengthcombo.C glue length validator for qt 2004-11-22 12:22:19 +00:00
lengthcombo.h qboxes falling downward through the chimney... 2003-12-05 16:22:36 +00:00
lyx_gui.C Whitespace only. 2005-05-13 08:33:01 +00:00
LyXKeySymFactory.C some configure output changes, fix a new bug 2003-09-21 16:02:54 +00:00
LyXScreenFactory.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
Makefile.am the AM_* flags patch 2005-05-20 16:56:28 +00:00
Makefile.dialogs Make the Qt Alert boxes recognize their parent. 2005-05-12 22:37:43 +00:00
panelstack.C fix qt dialog list resizing (bug 1033) 2005-04-11 07:00:03 +00:00
panelstack.h Qt compilation fixes. 2003-10-06 19:57:16 +00:00
pch.h Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
QAbout.C Fix display of CREDITS info in Help->About dialog. 2005-04-08 15:11:47 +00:00
QAbout.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QAboutDialog.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QAboutDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBibitem.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QBibitem.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBibitemDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QBibitemDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBibtex.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QBibtex.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBibtexDialog.C Fix QString -> std::string compilation problem. 2005-05-31 22:06:07 +00:00
QBibtexDialog.h Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QBox.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QBox.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBoxDialog.C Make the Qt Alert boxes recognize their parent. 2005-05-12 22:37:43 +00:00
QBoxDialog.h Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
QBranch.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QBranch.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBranchDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QBranchDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBrowseBox.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QChanges.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QChangesDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QChangesDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QCharacter.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QCharacter.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QCharacterDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QCharacterDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QCitation.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QCitation.h disallow the insertion of incomplete citation references, prevent crash (bug 1617) 2004-06-21 08:56:43 +00:00
QCitationDialog.C fix qcitation search feature 2005-05-21 10:36:10 +00:00
QCitationDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
qcoloritem.C Strip out another 350 redundant #includes. 2003-09-05 14:56:51 +00:00
qcoloritem.h some support for pch 2004-08-15 21:45:30 +00:00
QCommandBuffer.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
QCommandBuffer.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QCommandEdit.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QCommandEdit.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QContentPane.C Lars's key input queue 2005-06-06 12:34:28 +00:00
QContentPane.h Lars's key input queue 2005-06-06 12:34:28 +00:00
QDelimiterDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QDelimiterDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QDialogView.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QDialogView.h The processEvents / screen update recursion bug fix. 2005-05-11 07:44:20 +00:00
QDocument.C Whitespace only. 2005-05-13 08:33:01 +00:00
QDocument.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QDocumentDialog.C Whitespace only. 2005-05-13 08:33:01 +00:00
QDocumentDialog.h various toc-related fixes 2005-05-12 10:16:04 +00:00
QErrorList.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
QErrorList.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QErrorListDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QErrorListDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QERT.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QERT.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QERTDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QERTDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QExternal.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QExternal.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QExternalDialog.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QExternalDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QFloat.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QFloat.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QFloatDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QFloatDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
qfont_loader.C plug two memory leaks 2005-06-16 09:44:13 +00:00
qfont_loader.h do not cache font width with recent Qt versions 2005-06-10 14:53:42 +00:00
qfont_metrics.C Get rid of extraneous whitespace. 2005-01-12 10:30:46 +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 some support for pch 2004-08-15 21:45:30 +00:00
QGraphics.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QGraphics.h Remove unused 'public slot: void slotEdit();' 2005-01-31 10:19:22 +00:00
QGraphicsDialog.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QGraphicsDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +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 remove invalid Q_EXPORT declaration as it breaks compilation of the 2004-12-14 11:05:44 +00:00
QInclude.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QInclude.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QIncludeDialog.C Enable the user to input "file names with spaces" only if LaTeX can 2005-05-16 09:14:18 +00:00
QIncludeDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QIndex.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QIndex.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QIndexDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QIndexDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QLImage.C Make typing responsive when an image is on the screen. 2005-04-28 09:39:51 +00:00
QLImage.h Make typing responsive when an image is on the screen. 2005-04-28 09:39:51 +00:00
qlkey.h Self-consistent header files. 2003-10-07 08:16:04 +00:00
QLMenubar.C the Qt/Mac merge menu patch; this is actually different from macmove8, so I hope it still works... 2004-08-14 18:06:10 +00:00
QLMenubar.h the Qt/Mac merge menu patch; this is actually different from macmove8, so I hope it still works... 2004-08-14 18:06:10 +00:00
QLog.C change "support/std_sstream.h" to <sstream> 2004-07-24 10:55:30 +00:00
QLog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QLogDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QLogDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QLPainter.C Make typing responsive when an image is on the screen. 2005-04-28 09:39:51 +00:00
QLPainter.h the 'fitCursor fix' 2004-04-07 20:20:15 +00:00
QLPopupMenu.C processEvents tweaks 2005-05-12 09:34:14 +00:00
QLPopupMenu.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QLPrintDialog.C do not use QFileDialog directly 2004-08-08 13:17:22 +00:00
QLPrintDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QLToolbar.C code refactorization in toolbars 2004-11-09 12:40:34 +00:00
QLToolbar.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QLyXKeySym.C make bindings appear in LyX/Mac menus 2004-07-07 09:32:19 +00:00
QLyXKeySym.h make bindings appear in LyX/Mac menus 2004-07-07 09:32:19 +00:00
QMath.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QMath.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QMathDialog.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QMathDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QMathMatrixDialog.C change "support/std_sstream.h" to <sstream> 2004-07-24 10:55:30 +00:00
QMathMatrixDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QNote.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QNote.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QNoteDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QNoteDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QParagraph.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QParagraph.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QParagraphDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QParagraphDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QPrefs.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QPrefs.h The Movers patch. 2004-10-26 18:39:13 +00:00
QPrefsDialog.C Michael's "ASCII->Plain Text" changes (bug 1572) 2005-05-21 13:26:13 +00:00
QPrefsDialog.h Whitespace, only whitespace. 2005-04-26 11:12:20 +00:00
QPrint.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QPrint.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QRef.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QRef.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QRefDialog.C fix QRef dialog 2005-02-10 21:47:53 +00:00
QRefDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
qscreen.C Cache and re-use cursor pixmaps. 2005-05-19 16:34:02 +00:00
qscreen.h Cache and re-use cursor pixmaps. 2005-05-19 16:34:02 +00:00
QSearch.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QSearch.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QSearchDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QSearchDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QSendto.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QSendto.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QSendtoDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QSendtoDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
qsetborder.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
qsetborder.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
QShowFile.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QShowFile.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QShowFileDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QShowFileDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QSpellchecker.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QSpellchecker.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QSpellcheckerDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QSpellcheckerDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
Qt2BC.C Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
Qt2BC.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
qt_helpers.C missed some tostr.h -> convert.h places 2005-01-06 16:44:04 +00:00
qt_helpers.h Length validators for the graphics and box dialogs 2004-11-27 18:47:41 +00:00
QTabular.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QTabular.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QTabularCreate.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QTabularCreate.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QTabularCreateDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QTabularCreateDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QTabularDialog.C Make the Qt Alert boxes recognize their parent. 2005-05-12 22:37:43 +00:00
QTabularDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QTexinfo.C more text cleanups from Michael 2005-05-19 18:53:09 +00:00
QTexinfo.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QTexinfoDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QTexinfoDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QThesaurus.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QThesaurus.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QThesaurusDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QThesaurusDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +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 Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QToc.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QTocDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QTocDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
qttableview.C Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
qttableview.h
qtTimeout.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
qtTimeout.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
QtView.C correctly disable buffer-related menu entries when a dialog has focus (bug 1720) 2004-11-16 10:46:23 +00:00
QtView.h correctly disable buffer-related menu entries when a dialog has focus (bug 1720) 2004-11-16 10:46:23 +00:00
QURL.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QURL.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QURLDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QURLDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QVSpace.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QVSpace.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QVSpaceDialog.C Make the Qt Alert boxes recognize their parent. 2005-05-12 22:37:43 +00:00
QVSpaceDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QWorkArea.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
QWorkArea.h A layout engine for XForms. 2004-04-28 17:22:05 +00:00
QWrap.C Michael's dialog title patch. 2005-05-12 23:12:43 +00:00
QWrap.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QWrapDialog.C Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +00:00
QWrapDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
README Make symbol insertion / delimiters work for Qt again 2004-04-18 18:42:43 +00:00
socket_callback.C the lyxsocket changes 2004-07-21 19:03:21 +00:00
socket_callback.h the lyxsocket changes 2004-07-21 19:03:21 +00:00
validators.C Allow ':' characters in file names. 2005-05-31 19:38:44 +00:00
validators.h Make the Qt Alert boxes recognize their parent. 2005-05-12 22:37:43 +00:00
WorkAreaFactory.C A layout engine for XForms. 2004-04-28 17:22:05 +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.