lyx_mirror/src/frontends/qt4
Peter Kümmel 38cdcd70c1 fix bug: vert. maximized window is completely maximized after restart
src/frontends/Application.h : enum for maximized
src/frontends/LyXView.h     : enum for maximized
src/frontends/qt4/GuiView.h : enum for maximized
src/frontends/Application.C : enum for maximized
src/lyx_main.C              : enum for maximized
src/frontends/qt4/GuiView.C : restore complete, vert. hor. maximized window



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 12:28:26 +00:00
..
ui adjust keyboard shortcuts for buttons. 2007-03-12 14:49:27 +00:00
Action.C * src/frontends/qt4/QLMenubar.C (macxMenuBarInit): use the new support 2007-02-26 19:54:41 +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 * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +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 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 * ControlToc: 2007-03-12 14:23:44 +00:00
DockView.h Make r17416 compile. 2007-03-12 15:11:18 +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 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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 convert LyXFont::stateText and LColor::getGUIName to docstring, 2006-12-21 14:31:19 +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 Document symbol fonts hack (text from Georg Baum). 2007-02-26 16:22:54 +00:00
GuiFontMetrics.h * support/qstring_helpers.h: erase ucs4_to_qstring() method. 2007-02-26 15:13:08 +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 Fix bug 3231 (hopefully). 2007-02-14 14:51:47 +00:00
GuiWorkArea.h * LyXView.C: 2007-01-18 21:47:27 +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 This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
InsertTableWidget.h
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 * ControlToc: 2007-03-12 14:23:44 +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 small cosmetic cleanups: 2006-10-30 14:39:05 +00:00
pch.h
QAbout.C Convert the CREDITS file to utf8 and spell Ugras' name correctly. 2006-11-04 12:46: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 Use the new InsetCommandParams interface (frontend part), from Ugras and me 2006-10-20 13:53:43 +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 move everything into namespace lyx 2006-10-21 00:16:43 +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 * qt4/QExternal.C: 2006-12-03 01:11:37 +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
QBranch.C Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +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 * 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 * frontends/qt4/QChanges.C: 2007-02-01 20:48:43 +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-01-07 10:24:25 +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 Convert most of the bibtex machinery to docstring. 2006-12-17 10:52:04 +00:00
QCitation.h more cleanup: 2006-12-15 09:58:44 +00:00
QCitationDialog.C Fix rest of bug 3068. 2007-01-08 06:52:20 +00:00
QCitationDialog.h Fix rest of bug 3068. 2007-01-08 06:52:20 +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 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 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 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.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 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
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 * QErrorList::update_contents(): avoid touching the dialog here. 2007-01-25 10:21:02 +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 Patch 1 Log: 2006-10-09 10:35:14 +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 Fix several filename and environment variable encoding problems 2007-01-18 20:47:27 +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 * src/frontends/qt4/QBoxDialog.C: 2006-11-12 11:25:20 +00:00
QExternalDialog.h
QFloat.C Patch 1 Log: 2006-10-09 10:35:14 +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 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 several filename and environment variable encoding problems 2007-01-18 20:47:27 +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 * reorganisation of graphics dialog 2006-11-03 11:24:27 +00:00
QGraphicsUi.h
QInclude.C Fix several filename and environment variable encoding problems 2007-01-18 20:47:27 +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 * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QIncludeDialog.h
QIndex.C Use the new InsetCommandParams interface (frontend part), from Ugras and me 2006-10-20 13:53:43 +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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
QLMenubar.C add "Reconfigure" to the LyX menu. 2007-02-27 15:30:29 +00:00
QLMenubar.h
QLog.C Patch 1 Log: 2006-10-09 10:35:14 +00:00
QLog.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
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 Session/Toolbars: 2006-11-02 16:01:36 +00:00
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 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 Next step of true unicode filenames: Use support::FileName instead of 2006-11-26 21:30:39 +00:00
QMathDialog.h * show symbol panels in proper size when detached from math panel (always layed out in 5 cols) 2006-11-19 17:12:33 +00:00
QMathMatrixDialog.C * src/frontends/qt4/QMathMatrixDialog.C: 2007-01-03 21:51:10 +00:00
QMathMatrixDialog.h
QNomencl.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +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 New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
QNomenclDialog.h New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
QNote.C Patch 1 Log: 2006-10-09 10:35:14 +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 convert more GUI strings to docstring 2006-12-22 10:06:40 +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 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
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 bug 2458 2007-03-02 22:20:32 +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 Patch 1 Log: 2006-10-09 10:35:14 +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 Fix bug 3063, the problem was a recursive call to QRef::gotoRef() (which indirectly call 2007-01-18 21:06:49 +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 * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QRefDialog.h
QSearch.C convert thesaurus and spellchecker to docstring 2006-12-10 11:52:46 +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 Patch 1 Log: 2006-10-09 10:35:14 +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 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 Patch 1 Log: 2006-10-09 10:35:14 +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 Fix spell two checker bugs. The reason for both bugs was a string->docstring 2006-12-10 19:00:57 +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 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 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 Fix bug 3067: Special column attributes can contain non-ascii characters, 2007-01-05 17:11:32 +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 Patch 1 Log: 2006-10-09 10:35:14 +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 Patch 1 Log: 2006-10-09 10:35:14 +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
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 convert thesaurus and spellchecker to docstring 2006-12-10 11:52:46 +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 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 undo last acedential checkin 2006-12-30 10:30:02 +00:00
QURLDialog.h
QViewSource.C FIXME: remove global variable theApp 2006-11-30 00:04:51 +00:00
QViewSource.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
QViewSourceDialog.C * replace many toggled(bool) with changed() signals 2007-01-17 13:06:16 +00:00
QViewSourceDialog.h
QVSpace.C Patch 1 Log: 2006-10-09 10:35:14 +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 Patch 1 Log: 2006-10-09 10:35:14 +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 move everything into namespace lyx 2006-10-21 00:16:43 +00:00
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 Use the new InsetCommandParams interface (frontend part), from Ugras and me 2006-10-20 13:53:43 +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 remove unneeded conversions 2006-12-21 19:02:17 +00:00
validators.h move everything into namespace lyx 2006-10-21 00:16:43 +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
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.