lyx_mirror/src/frontends/qt3
Bo Peng c8e5ee867f load files from lyx_main.C instead of lyx_gui.C, do not add session-restored files to lastfile list.
* src/frontends/lyx_gui.h: add prototype for create_view
	* src/frontends/(gtk,qt3,qt4)/lyx_gui.C: separate start()
	* src/lyx_main.C: call create_view, load file, and call start


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14500 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 14:13:45 +00:00
..
moc * src/frontends/qt3/moc/Makefile.am: Remove extra qt3 include path 2006-05-02 13:07:38 +00:00
ui merge booktabs branch 2006-07-03 19:13:56 +00:00
Alert_pimpl.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
BulletsModule.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
BulletsModule.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
checkedwidgets.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
checkedwidgets.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
Dialogs.C * gtk/lyx_gui.C: 2006-07-10 18:58:44 +00:00
emptytable.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
emptytable.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
FileDialog_private.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
FileDialog_private.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
FileDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
floatplacement.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
floatplacement.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
GuiClipboard.C Split clipboard and X selection 2006-07-10 11:32:25 +00:00
GuiClipboard.h Split clipboard and X selection 2006-07-10 11:32:25 +00:00
GuiImplementation.h Split clipboard and X selection 2006-07-10 11:32:25 +00:00
GuiSelection.C Split clipboard and X selection 2006-07-10 11:32:25 +00:00
GuiSelection.h Split clipboard and X selection 2006-07-10 11:32:25 +00:00
GuiWorkArea.h GUI API Cleanup step 2: merge of the "younes" branch. 2006-06-26 16:55:35 +00:00
iconpalette.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
iconpalette.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
lcolorcache.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
lcolorcache.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
lengthcombo.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
lengthcombo.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
lyx_gui.C load files from lyx_main.C instead of lyx_gui.C, do not add session-restored files to lastfile list. 2006-07-27 14:13:45 +00:00
LyXKeySymFactory.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
Makefile.am Split clipboard and X selection 2006-07-10 11:32:25 +00:00
Makefile.dialogs The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
panelstack.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
panelstack.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
pch.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QAbout.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QAbout.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QAboutDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QAboutDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibitem.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibitem.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibitemDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibitemDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibtex.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibtex.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibtexDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBibtexDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBox.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBox.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBoxDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBoxDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBranch.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBranch.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBranchDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBranchDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QBrowseBox.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
QBrowseBox.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QChanges.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QChanges.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QChangesDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QChangesDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCharacter.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCharacter.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCharacterDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCharacterDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCitation.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCitation.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCitationDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCitationDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qcoloritem.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qcoloritem.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCommandBuffer.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
QCommandBuffer.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QCommandEdit.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
QCommandEdit.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QContentPane.C Let Meta be an alias for Alt 2006-07-09 17:30:21 +00:00
QContentPane.h This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
QDelimiterDialog.C Implement GUI for fixed size math delimiters (by Enrico Forestieri and me): 2006-05-07 10:51:19 +00:00
QDelimiterDialog.h Implement GUI for fixed size math delimiters (by Enrico Forestieri and me): 2006-05-07 10:51:19 +00:00
QDialogView.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QDialogView.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QDocument.C * readd accidentally removed code (rev 14143) 2006-06-22 09:25:02 +00:00
QDocument.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QDocumentDialog.C The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
QDocumentDialog.h The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
QErrorList.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QErrorList.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QErrorListDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QErrorListDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QERT.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QERT.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QERTDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QERTDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QExternal.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QExternal.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QExternalDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QExternalDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QFloat.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QFloat.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QFloatDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QFloatDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qfont_loader.C use our own font width cache with Qt/Mac 2006-06-16 14:39:52 +00:00
qfont_loader.h use our own font width cache with Qt/Mac 2006-06-16 14:39:52 +00:00
qfont_metrics.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qfontexample.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qfontexample.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QGraphics.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QGraphics.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QGraphicsDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QGraphicsDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QInclude.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QInclude.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QIncludeDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QIncludeDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QIndex.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QIndex.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QIndexDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QIndexDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLImage.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLImage.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qlkey.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLMenubar.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLMenubar.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLogDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLogDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLPainter.C delete Painter::fillPolygon() and associated frontend implementations 2006-07-10 15:14:29 +00:00
QLPainter.h delete Painter::fillPolygon() and associated frontend implementations 2006-07-10 15:14:29 +00:00
QLPopupMenu.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLPopupMenu.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLPrintDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLPrintDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLToolbar.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLToolbar.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLyXKeySym.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QLyXKeySym.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QMath.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QMath.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QMathDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QMathDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QMathMatrixDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QMathMatrixDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QNote.C Remove quite a few compiler warnings: 2006-07-06 08:18:51 +00:00
QNote.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QNoteDialog.C Add support for framed.sty 2006-06-03 16:46:27 +00:00
QNoteDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QParagraph.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QParagraph.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QParagraphDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QParagraphDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QPrefs.C remove xforms relicts 2006-07-08 09:40:15 +00:00
QPrefs.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QPrefsDialog.C Renaming: 2006-06-27 10:51:24 +00:00
QPrefsDialog.h Renaming: 2006-06-27 10:51:24 +00:00
QPrint.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QPrint.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QRef.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QRef.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QRefDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QRefDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qscreen.C GUI API Cleanup step 2: merge of the "younes" branch. 2006-06-26 16:55:35 +00:00
qscreen.h Fix some WorkArea fallouts 2006-07-09 01:08:47 +00:00
QSearch.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSearch.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSearchDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSearchDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSendto.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSendto.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSendtoDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSendtoDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qsetborder.C delete some emits that I missed, add comments about emitting signals 2006-06-30 14:11:50 +00:00
qsetborder.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QShowFile.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QShowFile.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QShowFileDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QShowFileDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSpellchecker.C Patch from Martin Vermeer for bug 2218. 2006-06-27 12:20:16 +00:00
QSpellchecker.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSpellcheckerDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QSpellcheckerDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
Qt2BC.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
Qt2BC.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qt_helpers.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qt_helpers.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTabular.C merge booktabs branch 2006-07-03 19:13:56 +00:00
QTabular.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTabularCreate.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTabularCreate.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTabularCreateDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTabularCreateDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTabularDialog.C merge booktabs branch 2006-07-03 19:13:56 +00:00
QTabularDialog.h merge booktabs branch 2006-07-03 19:13:56 +00:00
QTexinfo.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTexinfo.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTexinfoDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTexinfoDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QThesaurus.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QThesaurus.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QThesaurusDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QThesaurusDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QtLyXView.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QToc.C Change capitalization for outline (DOWN -> Down etc.) 2006-04-28 07:28:10 +00:00
QToc.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTocDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QTocDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qttableview.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qttableview.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
qtTimeout.C This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
qtTimeout.h This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes. 2006-06-20 08:39:16 +00:00
QtView.C GUI API Cleanup step 3: merge with "younes" branch. 2006-07-13 16:37:55 +00:00
QtView.h GUI API Cleanup step 3: merge with "younes" branch. 2006-07-13 16:37:55 +00:00
QURL.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QURL.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QURLDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QURLDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QViewSource.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QViewSource.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QViewSourceDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QViewSourceDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QVSpace.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QVSpace.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QVSpaceDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QVSpaceDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QWorkArea.C Move more methods from WorkArea to Clipboard in qt3 and gtk 2006-07-08 15:11:18 +00:00
QWorkArea.h Move more methods from WorkArea to Clipboard in qt3 and gtk 2006-07-08 15:11:18 +00:00
QWrap.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QWrap.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QWrapDialog.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
QWrapDialog.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
README * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
socket_callback.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
socket_callback.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
validators.C * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00
validators.h * Rename src/frontends/qt2 to src/frontends/qt3, 2006-04-24 13:48:24 +00:00

This file contains some do's and dont's for the Qt2 frontend.

General rules
-------------

Every editable field that affects the state of the dialog contents
from LyX's point of view should connect its xxxChanged() signal to
a the dialog's changed_adaptor() slot, which in turn should call
form_->changed(). If you are using a more complicated thing anyway,
then remember to call form_->changed() at the end (if it has changed !)

Every non-trivial widget should have a tooltip. If you don't know
what to write, write "FIXME", and it can fixed later. Don't be afraid
to use QWhatsThis too, but this must be done in the derived class's
constructor, and use _("..."). Non-trivial means that things like "OK"
/must not/ have a tooltip.

*DO NOT USE DESIGNER FROM Qt 3*. You must use a designer from Qt 2 to
maintain compatibility.

moc is incredibly stupid and sometimes you need a fully qualified
"std::string" for .connect() statements to work. Be very, very careful.

Remember to check tab order on a dialog (third icon, with blue bars in designer).

Remember to check sensible resizing behaviour on a dialog.

Remember to use Edit->Check Accelerators

If necessary, you should override Qt2Base::isValid() for determining the validity
of the current dialog's contents.

OK/Apply/Restore/Close should be connected in the derived class's constructor
to call form_->slotOK() etc. Refer to close/cancel as close in the source.

Override update_contents() to update the dialog, not update(), and build_dialog(),
not build(). Only these functions may change dialog widgets that may emit changed()
during initialisation, to prevent the button controller from changing its state.

Never call buttoncontroller functions directly from dialogs. In general, you
should use Qt2Base::changed() in all circumstances. However, if you must call
the buttoncontroller, make sure to respect Qt2Base::updating_

Don't #undef emit - #include "QtLyXView.h" instead

Naming conventions
------------------

QFoo.[Ch]              The file that interacts with the controller
QFooDialog.[Ch]        The implementation of the dialog, derived from the generated files
ui/QFooDialog.ui       The designer file
ui/QFooDialogBase.[Ch] Generated files from QFooDialog.ui

slots should be named e.g. slotFooClicked(), slotFooSelected(), where foo is the name
of the widget.

Widgets should be named like "fooXX", where XX is one of the following
widget types :

CB - check box
CO - combo box
ED - line edit
LA - label
ML -
PB - push button
(FIXME: complete this)


Stuff to be aware of
--------------------

The connect statement in Qt is a macro and its arguments does not follow
the C++ standard as it should. Using the construct "Type const &" as
argument will lead to runtime-errors, use "const Type &" instead.

ex.

--right--

	connect(list, SIGNAL(selected(const QString &)),
		this, SLOT(complete_selected(const QString &)));

--wrong--

	connect(list, SIGNAL(selected(QString const &)),
		this, SLOT(complete_selected(QString const &)));

Qt, Unicode, and LyX
--------------------

LyX isn't unicoded yet. But you should follow these simple rules :

o Use qt_() not _() in code
o Use fromqstr and toqstr NOT .latin1() / .c_str()

Using these functions (in qt_helpers.h) will make sure we use
the right locale for converting to Qt's QString, which is unicode.