Commit Graph

4 Commits

Author SHA1 Message Date
Abdelrazak Younes
3efb329cb0 InsetParamsDialog: don't update the inset widget if we are not un
synchronised mode.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33509 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 11:04:15 +00:00
Abdelrazak Younes
3a26a8d9d7 some moreInsetParamsDialog bug fixing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33485 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-16 10:50:06 +00:00
Abdelrazak Younes
c775690b58 InsetParamsDialog bug fixing:
* OK button now creates an inset if none is present
* Fix some enabling/disabling of buttons.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33484 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-16 09:39:14 +00:00
Abdelrazak Younes
bbda43a400 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
2010-02-15 23:17:45 +00:00