Commit Graph

11 Commits

Author SHA1 Message Date
Richard Heck
11697004e8 Fix for bug 3215. All changes in src/frontends/qt4/.
Changed dialog and added routines to deal with an "auto" label
in cases where defaults are used.

ui/MarginsUi.ui: Changed labels for width and height to checkboxes. Removed connections.
checkwidgets.[Ch]: Extended checkedLineEdit routines to take a QWidget.
qt_helpers.[Ch]: 
  Added void lengthToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void lengthAutoToWidgets(QLineEdit *, LengthCombo *, LyXLength const &, LyXLength::UNIT)
  Added void setAutoTextCB(QCheckBox *, QLineEdit *, LengthCombo *)
validators.[Ch]:
  Added class LengthAutoValidator : public LengthValidator
  Added class DoubleAutoValidator : public QDoubleValidator
QGraphicsDialog.[Ch]
  Added virtual void setAutoText()
  Added virtual void on_WidthCB_toggled(bool)
  Added virtual void on_HeightCB_toggled(bool)
  Used the new functions to set "auto" in default cases and toggle checkboxes as needed.
  Set validator for scale.
  Re-organized connect routines.
QGraphics.C:
  Completely re-worked update_contents().
  Significant changes to apply().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-05 14:58:15 +00:00
Edwin Leuven
f56c8c83b0 * fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17717 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 13:10:38 +00:00
Abdelrazak Younes
1c9ea1546d Put file editor and Browse and Edit buttons in the same horizontal layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-04 12:50:20 +00:00
Uwe Stöhr
65ddfecfaf fix rev 17625
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17626 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:43:29 +00:00
Uwe Stöhr
6f9eb5464a small adjustment to have the same button size for Browse and Edit button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-28 23:35:25 +00:00
Jürgen Spitzmüller
24ba805e2a * src/frontends/qt4/ui/QGraphicsUi.ui:
- fix initial tab.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16582 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 17:59:47 +00:00
Jürgen Spitzmüller
a37f3198ad Trivial ui tweak:
* src/frontends/qt4/ui/QGraphicsUi.ui: fix tab accelerating order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16325 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-18 20:17:12 +00:00
Michael Schmitt
e0ae3a1a04 ui/*.ui: <include location="local" >qt_helpers.h</include>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15784 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-07 17:56:32 +00:00
Edwin Leuven
406c793cd8 * reorganisation of graphics dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15707 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 11:24:27 +00:00
Edwin Leuven
e3630e4076 clean up of the graphics dialog:
-layout
-enabling/disabling widgets
-tab order



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13574 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 21:04:27 +00:00
Lars Gullik Bjønnes
12e5a52b92 Added initial qt4 work by Abdelrazak Younes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:24:44 +00:00