lyx_mirror/src/frontends/qt2
Georg Baum 4c772b2376 QContentPane::mouseMoveEvent: Use qt wide scroll wheel setting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13401 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:26:44 +00:00
..
moc Delete all .cvsignore files from trunk 2006-02-10 22:09:45 +00:00
ui Delete all .cvsignore files from trunk 2006-02-10 22:09:45 +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 fix bug 2212: First change is skipped in Merge changes... dialog 2006-03-10 16:46:03 +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
FileDialog_private.C Clean-up FileFilterList API. 2004-11-26 12:31:39 +00:00
FileDialog_private.h
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
lcolorcache.C
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
lyx_gui.C Don't unlock QApplication's mutex as it leads to undefined behaviour (and crashes NetBSD). 2005-10-19 15:07:36 +00:00
LyXKeySymFactory.C
LyXScreenFactory.C
Makefile.am make sure to dist pch.h and mark PCH_FILE as a built file 2005-07-12 23:42:23 +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
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 Sort the files in the TeXInfo and BibTeX dialogs correctly and remove empty items (bug 1936) 2005-07-27 17:46:15 +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
QChanges.C fix bug 2212: First change is skipped in Merge changes... dialog 2006-03-10 16:46:03 +00:00
QChanges.h fix "change tracker microbug" reported by Helge 2005-07-01 17:19:42 +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 code cosmetics to the iterator fix 2006-02-15 14:12:54 +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
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 QContentPane::mouseMoveEvent: Use qt wide scroll wheel setting 2006-03-16 15:26:44 +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 fix bug 1950: Spellchecker runs twice 2005-07-28 10:26:33 +00:00
QDialogView.h The processEvents / screen update recursion bug fix. 2005-05-11 07:44:20 +00:00
QDocument.C remove the paperpackage widgets from the qt and xforms frontend (bug 1929). John S., could you please do this in the gtk document dialog, too? 2005-07-20 06:51:24 +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 remove the paperpackage widgets from the qt and xforms frontend (bug 1929). John S., could you please do this in the gtk document dialog, too? 2005-07-20 06:51:24 +00:00
QDocumentDialog.h remove the paperpackage widgets from the qt and xforms frontend (bug 1929). John S., could you please do this in the gtk document dialog, too? 2005-07-20 06:51:24 +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 Fix bug 886 and others not reported related with the document paper size. 2005-07-16 16:57:55 +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 probably fixed bug 1561 2005-07-17 23:03:01 +00:00
qfont_loader.h probably fixed bug 1561 2005-07-17 23:03:01 +00:00
qfont_metrics.C probably fixed bug 1561 2005-07-17 23:03:01 +00:00
qfontexample.C
qfontexample.h some support for pch 2004-08-15 21:45:30 +00:00
QGraphics.C fix compiler warnings (bug 1927) 2005-09-20 08:31:37 +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
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
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 rename qfont_loader and font_info to mathc LyX naming conventions 2005-07-16 15:43:33 +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 cleanup some debug messages 2006-01-19 15:49:21 +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 add boldsymbol to Qt math panel 2005-07-06 12:22:59 +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 make the dbg messages a tiny bit clearer 2005-12-18 18:39:42 +00:00
QPrefs.h The Movers patch. 2004-10-26 18:39:13 +00:00
QPrefsDialog.C Ensure that the grammar used to invoke the spellchecker is consistent. 2005-09-08 09:20:16 +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 restore double clicking in the QRefs dialog (bug 2194), plus some small ui fixes. 2006-01-08 10:57:31 +00:00
QRef.h restore double clicking in the QRefs dialog (bug 2194), plus some small ui fixes. 2006-01-08 10:57:31 +00:00
QRefDialog.C restore double clicking in the QRefs dialog (bug 2194), plus some small ui fixes. 2006-01-08 10:57:31 +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 other people's work 2005-07-16 15:55:36 +00:00
qt_helpers.h Length validators for the graphics and box dialogs 2004-11-27 18:47:41 +00:00
QTabular.C fix disabling of newpageCB 2005-09-26 18:42:54 +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 Sort the files in the TeXInfo and BibTeX dialogs correctly and remove empty items (bug 1936) 2005-07-27 17:46:15 +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 Sort the files in the TeXInfo and BibTeX dialogs correctly and remove empty items (bug 1936) 2005-07-27 17:46:15 +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
QToc.C Fix bug 2038 for all three frontends (gtk untested) 2005-10-02 16:35:56 +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 do not try to se the icon under Qt/Mac 2005-09-22 08:33:19 +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 fix bug 1955 2006-03-10 14:51: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.