If we cannot read the index we set the index to 0.
Change-Id: Id990ca1640f9314931af9249c798c8b51ea5c0bb
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Sometimes there is no trivial mapping between model and values.
Change-Id: I2617f14828b97ba7352aa3a8f3d2ebb9fd2f3809
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
We have to wait until the model is properly set until we react
to currentTextChanged. We also have to guard against binding loops.
Task-number: QTCREATORBUG-12257
Change-Id: Id602f6f192962e83a6166bf24a0711b22baa7868
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This is to fragile and allows many opportunities for serious bugs.
Change-Id: I2e49c37db4c1dd2c55000013d8ec7e0978d1ef89
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
TextEdit does not have an echoMode property
and for TextField it has to be an integer.
Task-number: QTCREATORBUG-11136
Change-Id: Ib560dd18ed31f9a735fd2c6874334e1479fd3a31
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
If there is no enum value fall back to the instanced value.
Change-Id: Idd4654d6e9fb8d4afd3df0855861511bc06454c1
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Adding the ExtendedFunctionButton
* Adding blue highlight for modified values
Change-Id: I2035ebba61b27ec5c75f02abc3a435709cc69f43
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This makes the controls fit a bit better into creator.
Change-Id: I61dcd3a2db07281c437ef17604aef862d88876b9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>