]> git.lyx.org Git - features.git/commit
This new citation dialog follows a new design similar to lyx-1.3:
authorAbdelrazak Younes <younes@lyx.org>
Sat, 25 Mar 2006 21:26:09 +0000 (21:26 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 25 Mar 2006 21:26:09 +0000 (21:26 +0000)
commit2f415cfbb132b2124616c7e0e2990a1907ca280e
tree633a62861534eb1cad5f5dd8d54f5fc4cdd1e54d
parent64aab4aa75fcff3a4a032ddc7216f3ba3a4d536d
This new citation dialog follows a new design similar to lyx-1.3:
- two panes for Selected/Available keys
- find as you search (Regular expression are supported)
- advanced search button

There are a lot of work still:
- selected citations are not inserted in the document
- find does not select the found key
- the graying/un-graying of buttons does not work properly
- the Advanced Search Dialog (which will search inside the citation) is not done yet
- ...
But the good news is that I have used the Model/View separation of Qt4. QCitation contains the list models and QCitationDialog contains the list views. The idea would be to reuse the model for a new dialog, I am thinking of a simple combo box placed on the toolbar which insert citations with default style, etc. Or a context menu insert->citation...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13496 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/QCitation.C
src/frontends/qt4/QCitation.h
src/frontends/qt4/QCitationDialog.C
src/frontends/qt4/QCitationDialog.h
src/frontends/qt4/QLToolbar.C
src/frontends/qt4/ui/QCitationFindUi.ui
src/frontends/qt4/ui/QCitationUi.ui