lyx_mirror/src/frontends/qt4
Richard Heck 8c56bd3ac9 Fix compilation problem on some systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 19:17:53 +00:00
..
ui layout tweak 2007-04-14 09:49:52 +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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ColorCache.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
emptytable.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FileDialog_private.C undo last acedential checkin 2006-12-30 10:30:02 +00:00
FileDialog_private.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 This commit is a big rework of the FontLoader/FontMetrics interaction. Only Qt4 for now, I would be grateful is somebody steps up for qt3 and gtk. 2006-10-07 16:15:06 +00:00
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 Fix this error message on startup: 2006-12-21 12:01:35 +00:00
GuiImplementation.h Clean up quit code. 2006-12-02 17:39:31 +00:00
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 lastFilePos: save bottom level pit and pos 2007-04-15 04:50:42 +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 * allow resizing of detached panel 2006-11-21 09:06:12 +00:00
InsertTableWidget.C remove "BufferView.h" 2007-04-04 12:58:40 +00:00
InsertTableWidget.h make sure eol-style native is set and fix eol style 2006-06-30 14:50:44 +00:00
lengthcombo.C * qt4/QExternal.C: 2006-12-03 01:11:37 +00:00
lengthcombo.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LyXKeySymFactory.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 small cosmetic cleanups: 2006-10-30 14:39:05 +00:00
pch.h delete some Qt "signals" macro reference. 2006-07-10 17:44:36 +00:00
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 Remove quite a few compiler warnings: 2006-07-06 08:18:51 +00:00
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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
QBibtexDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QBibtexDialog.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 * src/frontends/qt4/QBoxDialog.C: 2006-11-12 11:25:20 +00:00
QBoxDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
QBranches.C * src/frontends/qt4/QBranches.C: 2006-11-04 15:08:53 +00:00
QBranches.h * src/frontends/qt4/QBranches.C: 2006-11-04 15:08:53 +00:00
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 Fix focus on WorkArea after mini-buffer command. 2006-12-23 17:09:50 +00:00
QCommandEdit.C make macrfos readable again 2006-10-22 14:37:32 +00:00
QCommandEdit.h make macrfos readable again 2006-10-22 14:37:32 +00:00
QDelimiterDialog.C Fix bugs 3458: 2007-04-14 16:19:05 +00:00
QDelimiterDialog.h Fix bug 3450: 2007-04-12 16:49:01 +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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 minimal effort implementation of: 2006-08-25 13:40:01 +00:00
QFloatDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
qfontexample.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
qfontexample.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
qlkey.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
QLMenubar.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
QLMenubar.h Change MenuBackend and the other menuclasses to store a docstring. Do the required updates to lstrings/convert. 2006-09-09 22:27:22 +00:00
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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 * QLMenubar.C (macxMenuBarInit): fix workaround for menu merging 2006-12-20 14:28:06 +00:00
QLPrintDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QLPrintDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
QLToolbar.C * src/frontends/qt4/QLToolbar.C: whitespace only 2007-01-29 17:03:21 +00:00
QLToolbar.h Session/Toolbars: 2006-11-02 16:01:36 +00:00
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 Patch 1 Log: 2006-10-09 10:35:14 +00:00
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 * src/frontends/qt4/QMathMatrixDialog.C: 2007-01-03 21:51:10 +00:00
QMathMatrixDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
QParagraph.C Disable signals on programmatic checks to prevent unnecessary trigger of slots. 2007-04-13 02:09:50 +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 Fix compilation problem on some systems. 2007-04-15 19:17:53 +00:00
QParagraphDialog.h make LyX compile again after changeset 17776 2007-04-11 19:35:35 +00:00
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 Reorder panels in Preference Settings dialog. 2007-04-13 10:10:10 +00:00
QPrefsDialog.h * QPrefConvertersUi.ui 2007-04-13 09:16:06 +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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
qsetborder.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
qsetborder.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 get rid of QT3_SUPPORT and some cleanup 2006-08-17 09:00:11 +00:00
QSpellcheckerDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
Qt2BC.C even more unicode work... 2006-10-09 13:28:32 +00:00
Qt2BC.h even more unicode work... 2006-10-09 13:28:32 +00:00
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 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 convert thesaurus and spellchecker to docstring 2006-12-10 11:52:46 +00:00
QThesaurusDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
qtTimeout.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
QURLDialog.C Fix focus proxy. 2007-03-28 20:14:50 +00:00
QURLDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 undo last acedential checkin 2006-12-30 10:30:02 +00:00
QVSpaceDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
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 undo last acedential checkin 2006-12-30 10:30:02 +00:00
QWrapDialog.h Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS 2006-06-30 14:37:33 +00:00
README Completed table on naming conventions for widgets 2007-03-30 04:06:16 +00:00
socket_callback.C undo last acedential checkin 2006-12-30 10:30:02 +00:00
socket_callback.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
TocModel.C avoid evalutation of lyxerr arguments unless really needed 2007-04-01 10:09:49 +00:00
TocModel.h Toc Slider fixes from Ugras Baran. 2006-11-25 22:16:22 +00:00
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.