lyx_mirror/src/frontends/qt4
Abdelrazak Younes d04cc9302f Fix bug 3246 by Richard Heck:
Problem was that SIGNAL itemSelectionChanged was not connected to anything.

* QRefDialog::selectionChanged(): new slot for itemSelectionChanged signal.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17615 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 17:02:20 +00:00
..
ui Fix unreported bug related to 3246 by Richard Heck: 2007-03-28 16:58:08 +00:00
Action.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +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
checkedwidgets.h
ColorCache.C
ColorCache.h
Dialogs.C fix typo: LateX => LaTeX 2007-03-27 17:40:05 +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 undo last acedential checkin 2006-12-30 10:30:02 +00:00
FileDialog_private.h
FileDialog.C Fix confirm overwrite asked twice, from Bernhard 2007-01-28 15:19:20 +00:00
FloatPlacement.C only whitespace 2007-02-07 01:14:36 +00:00
FloatPlacement.h
GuiApplication.C remove dead code that is no longer needed 2007-02-18 11:23:37 +00:00
GuiApplication.h * GuiApplication.C (GuiApplication): make sure that the Qtranslator 2007-01-04 11:05:57 +00:00
GuiClipboard.C Fix bug 3255 2007-02-21 21:47:44 +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 cmake: 2007-03-25 22:03:59 +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 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 Fix enabling of LFUN_PRIMARY_SELECTION_PASTE: It was always disabled, because 2007-01-08 18:37:40 +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 fix bug: vert. maximized window is completely maximized after restart 2007-03-17 12:28:26 +00:00
GuiView.h fix bug: vert. maximized window is completely maximized after restart 2007-03-17 12:28:26 +00:00
GuiWorkArea.C * src/frontends/qt4/GuiWorkArea.C: 2007-03-27 17:31:29 +00:00
GuiWorkArea.h * src/frontends/qt4/GuiWorkArea.[Ch]: 2007-03-27 17:26:11 +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
InsertTableWidget.h
lengthcombo.C * qt4/QExternal.C: 2006-12-03 01:11:37 +00:00
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 Make string conversion work with non-ucs2-characters if using qt 4.2 2006-12-04 13:50:46 +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 fix compiler warning 2007-03-25 10:32:22 +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 undo last acedential checkin 2006-12-30 10:30:02 +00:00
QCommandBuffer.h Fix focus on WorkArea after mini-buffer command. 2006-12-23 17:09:50 +00:00
QCommandEdit.C
QCommandEdit.h
QDelimiterDialog.C po/de.po: 2006-12-10 10:07:31 +00:00
QDelimiterDialog.h
QDialogView.C Fix bug 3225 and maybe others as well. 2007-02-13 18:20:07 +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
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 compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +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 - whitespace for Lars 2007-03-04 01:56:58 +00:00
QGraphicsDialog.h
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 small cleanup of the include dialog: 2007-03-18 03:42:40 +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 Get rid of some locale dependant functions 2007-02-26 18:54:03 +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
QLMenubar.C add "Reconfigure" to the LyX menu. 2007-02-27 15:30:29 +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 Document symbol fonts hack (text from Georg Baum). 2007-02-26 16:22:54 +00:00
QLPainter.h * support/qstring_helpers.h: erase ucs4_to_qstring() method. 2007-02-26 15:13:08 +00:00
QLPopupMenu.C Make the shortcuts work correctly with the mac. 2007-01-04 17:10:24 +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
QLToolbar.C * src/frontends/qt4/QLToolbar.C: whitespace only 2007-01-29 17:03:21 +00:00
QLToolbar.h
QLyXKeySym.C remove dead code that is no longer needed 2007-02-18 11:23:37 +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 * src/frontends/qt4/QMathMatrixDialog.C: 2007-01-03 21:51:10 +00:00
QMathMatrixDialog.h
QNomencl.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +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
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 * src/frontends/qt4/QCharacter.C: 2007-03-26 14:06:20 +00:00
QPrefsDialog.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
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 bug 3246 by Richard Heck: 2007-03-28 17:02:20 +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 bug 2483: 2007-02-28 14:36:38 +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 several filename and environment variable encoding problems 2007-01-18 20:47:27 +00:00
qt_helpers.h Fix several filename and environment variable encoding problems 2007-01-18 20:47:27 +00:00
QTabular.C compile qt4 three times faster with msvc: 2007-03-22 23:07:24 +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 convert thesaurus and spellchecker to docstring 2006-12-10 11:52:46 +00:00
QThesaurusDialog.h
QToc.C 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
QToc.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
qtTimeout.C
qtTimeout.h
QURLDialog.C undo last acedential checkin 2006-12-30 10:30:02 +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 undo last acedential checkin 2006-12-30 10:30:02 +00:00
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 undo last acedential checkin 2006-12-30 10:30:02 +00:00
QWrapDialog.h
README Fix incorrect conversion from QString to std::string. lyxerr output is wrong 2006-12-08 08:57:57 +00:00
socket_callback.C undo last acedential checkin 2006-12-30 10:30:02 +00:00
socket_callback.h
TocModel.C Toc Slider fixes from Ugras Baran. 2006-11-25 22:16:22 +00:00
TocModel.h Toc Slider fixes from Ugras Baran. 2006-11-25 22:16:22 +00:00
TocWidget.C 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
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 typo: LateX => LaTeX 2007-03-27 17:40:05 +00:00
validators.h

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
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 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.