]> git.lyx.org Git - features.git/commit
Factorize general code out of GuiDialog and into the base Dialog class. This is now...
authorAbdelrazak Younes <younes@lyx.org>
Sun, 9 Dec 2007 22:35:04 +0000 (22:35 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 9 Dec 2007 22:35:04 +0000 (22:35 +0000)
commit604c1148ea8beedaebbe0bdbe5a0adc76237a697
tree101053dc7c3feba9b69fcdd53160473cad13b9b2
parent0e2ec55addc61c8e6b576162e680b78bcc33559f
Factorize general code out of GuiDialog and into the base Dialog class. This is now possible thanks to the moving of Dialog.{cpp,h} to qt4/. Any dialog must inherit QWidget within Qt so it is safe to use Dialog::asQWidget() method (which is similar to dynamic casting).

* GuiDialog now inherits DialogView. GuiDialog is only there to bring the ButtonController archaeological interface; any new dialog should inherit DialogView and any new dock widget should inherit DockView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22049 a592a061-630c-0410-9148-cb99ea01b6c8
16 files changed:
src/frontends/qt4/Dialog.cpp
src/frontends/qt4/Dialog.h
src/frontends/qt4/DialogView.cpp [new file with mode: 0644]
src/frontends/qt4/DialogView.h
src/frontends/qt4/DockView.h
src/frontends/qt4/GuiCitation.cpp
src/frontends/qt4/GuiCitation.h
src/frontends/qt4/GuiDialog.cpp
src/frontends/qt4/GuiDialog.h
src/frontends/qt4/GuiParagraph.cpp
src/frontends/qt4/GuiParagraph.h
src/frontends/qt4/GuiSearch.cpp
src/frontends/qt4/GuiSearch.h
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/Makefile.am
src/frontends/qt4/ui/ParagraphUi.ui