]> git.lyx.org Git - features.git/commit
Attempt to simplify as much as possible Inset parameter dialog creation. We now just...
authorAbdelrazak Younes <younes@lyx.org>
Mon, 15 Feb 2010 23:17:45 +0000 (23:17 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 15 Feb 2010 23:17:45 +0000 (23:17 +0000)
commitbbda43a4006e170a19eaec94ae2a4b284ae1f7c4
treefe97cee1b987ee4776fd369b6f9565c87f16eb5b
parent22e4332d2bb767fb6b678b8c2612eedb27aeb190
Attempt to simplify as much as possible Inset parameter dialog creation. We now just need an ui file and a class that inherits InsetParamsWidget and implement 4 methods. Then InsetParamsDialog will take care of the rest. InsetParamsDialog has 2 running mode: "immediate apply" and "Restore/OK/Close" which is the default; I hope this is enough to satisfy all users. The checkbox status might be saved later in session settings.

This new attempt replace the previous attempt with InsetDialog which was still too tight with the older framework.
Status:
float, ert, box, info: migrated
vspace: migrated but buggy. To be fixed later.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33480 a592a061-630c-0410-9148-cb99ea01b6c8
29 files changed:
src/frontends/qt4/Dialog.cpp
src/frontends/qt4/Dialog.h
src/frontends/qt4/FloatPlacement.cpp
src/frontends/qt4/FloatPlacement.h
src/frontends/qt4/GuiBox.cpp
src/frontends/qt4/GuiBox.h
src/frontends/qt4/GuiDocument.h
src/frontends/qt4/GuiERT.cpp
src/frontends/qt4/GuiERT.h
src/frontends/qt4/GuiFloat.cpp [deleted file]
src/frontends/qt4/GuiFloat.h [deleted file]
src/frontends/qt4/GuiInfo.cpp
src/frontends/qt4/GuiInfo.h
src/frontends/qt4/GuiVSpace.cpp
src/frontends/qt4/GuiVSpace.h
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/InsetDialog.cpp [deleted file]
src/frontends/qt4/InsetDialog.h [deleted file]
src/frontends/qt4/InsetParamsDialog.cpp [new file with mode: 0644]
src/frontends/qt4/InsetParamsDialog.h [new file with mode: 0644]
src/frontends/qt4/InsetParamsWidget.cpp [new file with mode: 0644]
src/frontends/qt4/InsetParamsWidget.h [new file with mode: 0644]
src/frontends/qt4/Makefile.am
src/frontends/qt4/ui/BoxUi.ui
src/frontends/qt4/ui/ERTUi.ui
src/frontends/qt4/ui/FloatUi.ui [deleted file]
src/frontends/qt4/ui/InfoUi.ui
src/frontends/qt4/ui/InsetParamsUi.ui [new file with mode: 0644]
src/frontends/qt4/ui/VSpaceUi.ui