lyx_mirror/src/frontends/qt4
Abdelrazak Younes b9ff894f8b * QCitation::findKey() use QRegExp but find still doesn't work
* QCitationDialog::on_applyPB_clicked(): calls form_->apply
* QCitationDialog::on_oKPB_clicked(): calls form_->apply

TBDone: extract the code from controller&co in order to update the view with a new citation inset (or a modified one).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13499 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-26 18:35:15 +00:00
..
moc Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
ui This new citation dialog follows a new design similar to lyx-1.3: 2006-03-25 21:26:09 +00:00
Alert_pimpl.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
BiblioModuleBase.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
BulletsModule.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
BulletsModule.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
ChangeLog set svn:eol-style to native in qt4 frontend 2006-03-21 19:56:57 +00:00
checkedwidgets.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
checkedwidgets.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
Dialogs.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
emptytable.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
emptytable.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
FileDialog_private.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
FileDialog_private.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
FileDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
floatplacement.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
floatplacement.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
iconpalette.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
iconpalette.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
lcolorcache.C Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
lcolorcache.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
lengthcombo.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
lengthcombo.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
lyx_gui.C Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
LyXKeySymFactory.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
LyXScreenFactory.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
Makefile.am Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
Makefile.dialogs Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
panelstack.C clean up dos style line ending. 2006-03-20 17:25:02 +00:00
panelstack.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
pch.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QAbout.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QAbout.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QAboutDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QAboutDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibitem.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibitem.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibitemDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibitemDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibtex.C frontends/controllers/ControlBibtex.[Ch]: new members bibtotoc(), getStylefile(), 2006-03-20 10:24:23 +00:00
QBibtex.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibtexDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBibtexDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBox.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBox.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBoxDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBoxDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranch.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranch.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranchDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranchDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBranches.C Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
QBranches.h clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QBrowseBox.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QBrowseBox.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QChanges.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QChanges.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QChangesDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QChangesDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCharacter.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCharacter.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCharacterDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCharacterDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCitation.C * QCitation::findKey() use QRegExp but find still doesn't work 2006-03-26 18:35:15 +00:00
QCitation.h This new citation dialog follows a new design similar to lyx-1.3: 2006-03-25 21:26:09 +00:00
QCitationDialog.C * QCitation::findKey() use QRegExp but find still doesn't work 2006-03-26 18:35:15 +00:00
QCitationDialog.h This new citation dialog follows a new design similar to lyx-1.3: 2006-03-25 21:26:09 +00:00
qcoloritem.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qcoloritem.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCommandBuffer.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCommandBuffer.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCommandEdit.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QCommandEdit.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDelimiterDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDelimiterDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDialogView.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDialogView.h Changelog: 2006-03-22 18:59:17 +00:00
QDocument.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDocument.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QDocumentDialog.C Oups, compilation fix (missing a '{') 2006-03-24 17:37:44 +00:00
QDocumentDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QErrorList.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QErrorList.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QErrorListDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QErrorListDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QERT.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QERT.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QERTDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QERTDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QExternal.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QExternal.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QExternalDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QExternalDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QFloat.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QFloat.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QFloatDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QFloatDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qfont_loader.C fix symbols fonts on X11 2006-03-15 13:39:59 +00:00
qfont_loader.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qfont_metrics.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qfontexample.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qfontexample.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QGraphics.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QGraphics.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QGraphicsDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QGraphicsDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QGraphicsUi.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QInclude.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QInclude.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIncludeDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIncludeDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIndex.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIndex.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIndexDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QIndexDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLAction.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLAction.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLImage.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLImage.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qlkey.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLMenubar.C clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QLMenubar.h Abdelrazak Younes: Compile fixes for the Mac (ChangeLog follows) 2006-03-12 17:44:38 +00:00
QLog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLogDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLogDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLPainter.C clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QLPainter.h clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QLPopupMenu.C clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QLPopupMenu.h clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QLPrintDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLPrintDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLToolbar.C This new citation dialog follows a new design similar to lyx-1.3: 2006-03-25 21:26:09 +00:00
QLToolbar.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLyXKeySym.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QLyXKeySym.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMath.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMath.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMathDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMathDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMathMatrixDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QMathMatrixDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QNote.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QNote.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QNoteDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QNoteDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QParagraph.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QParagraph.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QParagraphDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QParagraphDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QPrefs.C Changelog: 2006-03-22 18:59:17 +00:00
QPrefs.h Changelog: 2006-03-22 18:59:17 +00:00
QPrefsDialog.C * src/frontends/qt4/QPrefsDialog.C 2006-03-23 16:38:46 +00:00
QPrefsDialog.h Changelog: 2006-03-22 18:59:17 +00:00
QPrint.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QPrint.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QRef.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QRef.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QRefDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QRefDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qscreen.C clean up dos style line ending. 2006-03-20 17:25:02 +00:00
qscreen.h clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QSearch.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSearch.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSearchDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSearchDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSendto.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSendto.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSendtoDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSendtoDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qsetborder.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qsetborder.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QShowFile.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QShowFile.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QShowFileDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QShowFileDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSpellchecker.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSpellchecker.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSpellcheckerDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QSpellcheckerDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
Qt2BC.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
Qt2BC.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qt_helpers.C Remove qt2 support in the following files: 2006-03-17 19:02:43 +00:00
qt_helpers.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabular.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabular.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularCreate.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularCreate.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularCreateDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularCreateDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTabularDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTexinfo.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTexinfo.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTexinfoDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTexinfoDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QThesaurus.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QThesaurus.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QThesaurusDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QThesaurusDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QtLyXView.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QToc.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QToc.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTocDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QTocDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qtTimeout.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
qtTimeout.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QtView.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QtView.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QURL.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QURL.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QURLDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QURLDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QVSpace.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QVSpace.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QVSpaceDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QVSpaceDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QWorkArea.C clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QWorkArea.h clean up dos style line ending. 2006-03-20 17:25:02 +00:00
QWrap.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QWrap.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QWrapDialog.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
QWrapDialog.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
README Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
socket_callback.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
socket_callback.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
validators.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
validators.h Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +00:00
WorkAreaFactory.C Added initial qt4 work by Abdelrazak Younes 2006-03-05 17:24:44 +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.