lyx_mirror/src/frontends/qt2
Jürgen Spitzmüller 780ee52866 float2string #3 (lyxrc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9432 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 10:54:31 +00:00
..
moc Remove trailing slash from -Ifoo/ in the AM_CPPFLAGS rules in the various 2004-12-14 10:41:09 +00:00
ui improve trick to avoid touching a lot of unneeded files 2005-01-05 10:07:32 +00:00
.cvsignore some pch work 2004-08-18 15:59:50 +00:00
Alert_pimpl.C Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
BulletsModule.C make the custom bullet fix compile on SuSE 9.0 2004-08-19 06:30:43 +00:00
BulletsModule.h
ChangeLog float2string #3 (lyxrc) 2005-01-05 10:54:31 +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 Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +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 Clean-up FileFilterList API. 2004-11-26 12:31:39 +00:00
floatplacement.C Fix a crash when trying to open the qdocument dialog. Sorry all! 2004-04-05 10:38:04 +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
lengthvalidator.C length validators for the remaining qt dialogs 2004-12-03 11:02:06 +00:00
lengthvalidator.h glue length validator for qt 2004-11-22 12:22:19 +00:00
lyx_gui.C float2string #3 (lyxrc) 2005-01-05 10:54:31 +00:00
LyXKeySymFactory.C
LyXScreenFactory.C
Makefile.am Remove trailing slash from -Ifoo/ in the AM_CPPFLAGS rules in the various 2004-12-14 10:41:09 +00:00
Makefile.dialogs The Movers patch. 2004-10-26 18:39:13 +00:00
panelstack.C
panelstack.h
pch.h some support for pch 2004-08-15 21:45:30 +00:00
QAbout.C change "support/std_sstream.h" to <sstream> 2004-07-24 10:55:30 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 do not use QFileDialog directly 2004-08-08 13:17:22 +00:00
QBibtexDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QBox.C Length validators for the graphics and box dialogs 2004-11-27 18:47:41 +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 Length validators for the graphics and box dialogs 2004-11-27 18:47:41 +00:00
QBoxDialog.h Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
QBranch.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Whitespace, only whitespace. 2004-10-05 10:11:42 +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 Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +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 fix wheel handling for xforms 2004-08-01 21:24:03 +00:00
QContentPane.h
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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
QDialogView.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QDocument.C length validators for the remaining qt dialogs 2004-12-03 11:02:06 +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 length validators for the remaining qt dialogs 2004-12-03 11:02:06 +00:00
QDocumentDialog.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 float2string #2 and insetexternal \sclaebox fix 2005-01-04 10:59:49 +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 length validators for the remaining qt dialogs 2004-12-03 11:02:06 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 float2string #3 (lyxrc) 2005-01-05 10:54:31 +00:00
qfont_loader.h Whitespace, nothing but whitespace. 2004-10-26 21:16:44 +00:00
qfont_metrics.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
qfontexample.C
qfontexample.h some support for pch 2004-08-15 21:45:30 +00:00
QGraphics.C float2string #2 and insetexternal \sclaebox fix 2005-01-04 10:59:49 +00:00
QGraphics.h Wrap most of the frontend code up inside namespace lyx::frontend. 2004-05-19 15:11:37 +00:00
QGraphicsDialog.C length validators for the remaining qt dialogs 2004-12-03 11:02:06 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13: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 * lyxfunctional.h: delete compare_memfun and helper classes 2004-11-06 16:14:22 +00:00
QLImage.h Store and use QImage rather than QPixmap. 2004-05-02 12:45:26 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
QLPainter.h the 'fitCursor fix' 2004-04-07 20:20:15 +00:00
QLPopupMenu.C correctly disable buffer-related menu entries when a dialog has focus (bug 1720) 2004-11-16 10:46:23 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 float2string #3 (lyxrc) 2005-01-05 10:54:31 +00:00
QPrefs.h The Movers patch. 2004-10-26 18:39:13 +00:00
QPrefsDialog.C length validators for the remaining qt dialogs 2004-12-03 11:02:06 +00:00
QPrefsDialog.h disable conecpt checks for gtk dir, fix concept checks for qt 2004-11-16 23:18:46 +00:00
QPrint.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Reverse yesterday's attempt to squash b_u_g 1530. 2004-06-02 20:13:18 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
qscreen.h
QSearch.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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
QShowFile.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Prevent invocation of std::string(0); 2004-12-16 16:04:52 +00:00
qt_helpers.h Length validators for the graphics and box dialogs 2004-11-27 18:47:41 +00:00
QTabular.C use better index types for tabular rows, columns and cells than int 2004-12-03 13:57:50 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 length validators for the remaining qt dialogs 2004-12-03 11:02:06 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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
qttableview.h
qtTimeout.C Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +00:00
qtTimeout.h
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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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 Whitespace, only whitespace. 2004-11-26 14:52:54 +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 Whitespace, only whitespace. 2004-11-26 14:52:54 +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 Sane ordering of the files #included in the Qt frontend. 2004-05-20 09:36:28 +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
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.