lyx_mirror/src/frontends/qt4
Richard Heck 687bc61934 Reorganize dialogs along lines suggested by Abdel to give more room to line edit boxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17775 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-11 13:45:44 +00:00
..
ui Reorganize dialogs along lines suggested by Abdel to give more room to line edit boxes. 2007-04-11 13:45:44 +00:00
Action.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
Action.h Cleanup Action class: The mother should be the main window (GuiView). This will hopefully fix bug 3107 (Tooltips not showing on main window). 2007-01-22 11:31:42 +00:00
Alert_pimpl.C With this commit, errors and warnings can use message box even before LyX is properly initialized. This is especially useful for missing sysdir and/or userdir directory. 2007-01-23 12:38:20 +00:00
BulletsModule.C * src/frontends/qt4/BulletModule.C: remove unneeded debug include. 2007-03-27 06:57:50 +00:00
BulletsModule.h * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
ChangeLog
checkedwidgets.C Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00
checkedwidgets.h Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00
ColorCache.C
ColorCache.h
Dialogs.C add GuiView parent to QToc for proper memory management. 2007-04-07 00:04:38 +00:00
DockView.h Present for Bo: Cleanup ViewSource and make it a DockWidget. 2007-03-25 01:25:29 +00:00
emptytable.C
emptytable.h
FileDialog_private.C
FileDialog_private.h
FileDialog.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
FloatPlacement.C only whitespace 2007-02-07 01:14:36 +00:00
FloatPlacement.h
GuiApplication.C Implement Angus suggestion. 2007-04-02 10:18:12 +00:00
GuiApplication.h Fix bug 3288: 2007-04-01 16:06:43 +00:00
GuiClipboard.C explain why ownsClipbiard() does not work on Windows and OS X 2007-04-03 08:27:23 +00:00
GuiClipboard.h Fix bug 2138: copy and paste should preserve formatting between different 2007-01-13 18:29:50 +00:00
GuiFontLoader.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:35:42 +00:00
GuiFontLoader.h
GuiFontMetrics.C Cache char right bearings 2007-03-21 23:13:32 +00:00
GuiFontMetrics.h Cache char right bearings 2007-03-21 23:13:32 +00:00
GuiImplementation.C
GuiImplementation.h
GuiSelection.C Normalize everything that comes from 'outside' (plain text import, 2007-04-03 08:15:39 +00:00
GuiSelection.h Fix enabling of LFUN_PRIMARY_SELECTION_PASTE: It was always disabled, because 2007-01-08 18:37:40 +00:00
GuiView.C don't allow negative window positions on non-virtual desktops 2007-03-28 21:12:50 +00:00
GuiView.h fix bug: vert. maximized window is completely maximized after restart 2007-03-17 12:28:26 +00:00
GuiWorkArea.C Restore the version number position on the splash screen 2007-04-07 01:07:51 +00:00
GuiWorkArea.h Improved input method support by M. Iwami. I fixed some typo, and simplified the code a bit. 2007-04-01 09:14:08 +00:00
iconpalette.C Limit the work-around in rev. 16874 to Windows. 2007-01-27 10:24:15 +00:00
iconpalette.h
InsertTableWidget.C remove "BufferView.h" 2007-04-04 12:58:40 +00:00
InsertTableWidget.h
lengthcombo.C
lengthcombo.h
LyXKeySymFactory.C
Makefile.am * ControlToc: 2007-03-12 14:23:44 +00:00
Makefile.dialogs compile fix 2007-03-26 07:38:33 +00:00
panelstack.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
panelstack.h
pch.h
QAbout.C * src/frontends/controllers/ControlAboutlyx.[Ch]: 2007-03-26 15:58:00 +00:00
QAbout.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QAboutDialog.C
QAboutDialog.h
QBibitem.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QBibitem.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QBibitemDialog.C While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QBibitemDialog.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QBibtex.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QBibtex.h
QBibtexDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QBibtexDialog.h
QBox.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QBox.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QBoxDialog.C
QBoxDialog.h
QBranch.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QBranch.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QBranchDialog.C
QBranchDialog.h
QBranches.C
QBranches.h
QChanges.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QChanges.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QChangesDialog.C While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QChangesDialog.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QCharacter.C * src/frontends/qt4/QCharacter.C: 2007-03-26 14:06:20 +00:00
QCharacter.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QCharacterDialog.C While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QCharacterDialog.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QCitation.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
QCitation.h Cleanup and polish of the Citation dialog: 2007-03-25 01:32:12 +00:00
QCitationDialog.C add missing #include 2007-03-25 15:22:54 +00:00
QCitationDialog.h Cleanup and polish of the Citation dialog: 2007-03-25 01:32:12 +00:00
QCommandBuffer.C make up/down vuttons in command bar narrower 2007-03-29 22:12:34 +00:00
QCommandBuffer.h
QCommandEdit.C
QCommandEdit.h
QDelimiterDialog.C Fix remaining issues with big delimiters 2007-04-11 00:27:35 +00:00
QDelimiterDialog.h Use case: 2007-04-05 12:39:22 +00:00
QDialogView.C Made sizeHint const. 2007-04-03 21:47:00 +00:00
QDialogView.h It seems that commit 17167 was not enough to ensure that the proper hide/show/update methods are called. 2007-02-15 10:16:35 +00:00
QDocument.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QDocument.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QDocumentDialog.C * src/frontends/qt4/QCharacter.C: 2007-03-26 14:06:20 +00:00
QDocumentDialog.h It seems that commit 17167 was not enough to ensure that the proper hide/show/update methods are called. 2007-02-15 10:16:35 +00:00
QErrorList.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QErrorList.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QErrorListDialog.C * QErrorList::update_contents(): avoid touching the dialog here. 2007-01-25 10:21:02 +00:00
QErrorListDialog.h * QErrorList::update_contents(): avoid touching the dialog here. 2007-01-25 10:21:02 +00:00
QERT.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QERT.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QERTDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QERTDialog.h
QExternal.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QExternal.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QExternalDialog.C Fix a bunch of focus proxy. 2007-03-28 21:17:47 +00:00
QExternalDialog.h
QFloat.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QFloat.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QFloatDialog.C
QFloatDialog.h
qfontexample.C
qfontexample.h
QGraphics.C Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00
QGraphics.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QGraphicsDialog.C Fix small bug with new graphics dialog. 2007-04-06 12:38:23 +00:00
QGraphicsDialog.h Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00
QGraphicsUi.h
QInclude.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QInclude.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QIncludeDialog.C Fix a bunch of focus proxy. 2007-03-28 21:17:47 +00:00
QIncludeDialog.h
QIndex.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QIndex.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QIndexDialog.C Fix bug 3225 and maybe others as well. 2007-02-13 18:20:07 +00:00
QIndexDialog.h Fix bug 3225 and maybe others as well. 2007-02-13 18:20:07 +00:00
QLImage.C restore the old LyX banner in preparation of the next release; 2007-04-01 20:33:40 +00:00
QLImage.h
qlkey.h
QLMenubar.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
QLMenubar.h
QLog.C Present to the eyes. 2007-03-28 00:26:04 +00:00
QLog.h Present to Abdel: Syntax highlighting for LaTeX Log. (I know I should have been reading windows installers :-) 2007-03-26 04:25:49 +00:00
QLogDialog.C
QLogDialog.h
QLPainter.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:35:42 +00:00
QLPainter.h * support/qstring_helpers.h: erase ucs4_to_qstring() method. 2007-02-26 15:13:08 +00:00
QLPopupMenu.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
QLPopupMenu.h
QLPrintDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QLPrintDialog.h
QLToolbar.C * src/frontends/qt4/QLToolbar.C: whitespace only 2007-01-29 17:03:21 +00:00
QLToolbar.h
QLyXKeySym.C remove redundant lyxerr.debugging checks; macro LYXERR already checks whether the output is actually needed 2007-04-01 14:35:42 +00:00
QLyXKeySym.h We use char_type, not size_t for storing UCS4 characters. 2007-01-24 14:01:34 +00:00
QMath.C
QMath.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QMathDialog.C Fix bug 3345 2007-03-18 17:05:18 +00:00
QMathDialog.h Fix bug 3345 2007-03-18 17:05:18 +00:00
QMathMatrixDialog.C
QMathMatrixDialog.h
QNomencl.C Fix bug 3413: 2007-04-06 16:27:10 +00:00
QNomencl.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QNomenclDialog.C Fix bug 3413: 2007-04-06 16:27:10 +00:00
QNomenclDialog.h
QNote.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QNote.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QNoteDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QNoteDialog.h
QParagraph.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QParagraph.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QParagraphDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QParagraphDialog.h
QPrefs.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QPrefs.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QPrefsDialog.C Fix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regarding longer-term issues with this code. 2007-03-30 04:24:54 +00:00
QPrefsDialog.h Fix for bug 3109: http://bugzilla.lyx.org/show_bug.cgi?id=3109. Added comments regarding longer-term issues with this code. 2007-03-30 04:24:54 +00:00
QPrint.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QPrint.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QRef.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QRef.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QRefDialog.C Fix a bunch of focus proxy. 2007-03-28 21:17:47 +00:00
QRefDialog.h Fix bug 3246 by Richard Heck: 2007-03-28 17:02:20 +00:00
QSearch.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QSearch.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QSearchDialog.C Fix a bunch of focus proxy. 2007-03-28 21:17:47 +00:00
QSearchDialog.h
QSendto.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QSendto.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QSendtoDialog.C
QSendtoDialog.h
qsetborder.C
qsetborder.h
QShowFile.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QShowFile.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QShowFileDialog.C
QShowFileDialog.h
QSpellchecker.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QSpellchecker.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QSpellcheckerDialog.C
QSpellcheckerDialog.h
Qt2BC.C
Qt2BC.h
qt_helpers.C Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00
qt_helpers.h Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00
QTabular.C * src/frontends/qt4/ui/QTabularUi.ui: 2007-04-01 21:51:17 +00:00
QTabular.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QTabularCreate.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QTabularCreate.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QTabularCreateDialog.C
QTabularCreateDialog.h
QTabularDialog.C * avoid signal triggered by setChecked(bool) 2007-01-16 12:24:49 +00:00
QTabularDialog.h * avoid signal triggered by setChecked(bool) 2007-01-16 12:24:49 +00:00
QTexinfo.C Fix unreported bug related to 3246 by Richard Heck: 2007-03-28 16:58:08 +00:00
QTexinfo.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QTexinfoDialog.C Fix unreported bug related to 3246 by Richard Heck: 2007-03-28 16:58:08 +00:00
QTexinfoDialog.h It seems that commit 17167 was not enough to ensure that the proper hide/show/update methods are called. 2007-02-15 10:16:35 +00:00
QThesaurus.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QThesaurus.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QThesaurusDialog.C
QThesaurusDialog.h
QToc.C add GuiView parent to QToc for proper memory management. 2007-04-07 00:04:38 +00:00
QToc.h add GuiView parent to QToc for proper memory management. 2007-04-07 00:04:38 +00:00
qtTimeout.C
qtTimeout.h
QURLDialog.C Fix focus proxy. 2007-03-28 20:14:50 +00:00
QURLDialog.h
QViewSource.C Present to the eyes. 2007-03-28 00:26:04 +00:00
QViewSource.h fix typo: LateX => LaTeX 2007-03-27 17:40:05 +00:00
QViewSourceDialog.C Fix crash in debug mode (MSVC) due to an assertion in Qt. 2007-03-25 23:22:25 +00:00
QViewSourceDialog.h Present for Bo: Cleanup ViewSource and make it a DockWidget. 2007-03-25 01:25:29 +00:00
QVSpace.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QVSpace.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QVSpaceDialog.C
QVSpaceDialog.h
QWrap.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
QWrap.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
QWrapDialog.C
QWrapDialog.h
README Completed table on naming conventions for widgets 2007-03-30 04:06:16 +00:00
socket_callback.C
socket_callback.h
TocModel.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
TocModel.h
TocWidget.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
TocWidget.h Cleanup of the Toc model and controller: The objective is to let the View (TocWidget) decide which kind of list it want to show. The type given by InsetCommandParam() (as read by the controller (ControlToc) then just becomes a hint to the View. Most of the commit is about getting rid of the controller maintained list of types. 2007-03-16 14:14:55 +00:00
UrlView.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +00:00
UrlView.h While working on bug 3227, I noticed that from()->show() called QDialog::show() instead of QIndexDialog::show(), hence the bug. While I solved this bug differently, I believe that some other bugs like this one might appear. So I removed the cast in QView<GUIDialog>::form() and included the dialogs where needed. 2007-02-13 18:27:46 +00:00
validators.C Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00
validators.h Fix for bug 3215. All changes in src/frontends/qt4/. 2007-04-05 14:58:15 +00:00

This file contains some do's and dont's for the Qt4 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.

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_

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
GB - group box
LA - label
LC - LengthCombo
LV - QListView
ML - QTextBrowser
PB - push button
RB - radio button
SB - spin box
SL - slider
TE - text edit
TW - tree widget (FIXME: also TV in some files)


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 uses a different encoding (UCS4) than Qt (UTF16), therefore there are a
number of conversion functions in qt_helpers.[Ch]. Read the doxygen
documentation for details when to use which function.

Additionally, you should follow these simple rules :

o Use qt_() not _() in code
o Use the conversion functions of qt_helpers.h, NOT .latin1() / .c_str() etc.