summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/controls
Commit message (Collapse)AuthorAgeFilesLines
* Fix drag-adjusting float fields when shift or ctrl is pressedMiikka Heikkinen2019-03-261-0/+4
| | | | | | | Change-Id: I78d9edcb79f942893738864ddb5550aa5d15eb9f Fixes: QT3DS-3221 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix left padding on inspector text fieldsMiikka Heikkinen2018-11-191-0/+1
| | | | | | Task-number: QT3DS-2672 Change-Id: I307a4d52471d250caba12a7a57aa81005749dda7 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Improve the xyz and slider inspector componentsMahmoud Badri2018-11-162-5/+2
| | | | | | | | | | - Align the xyz in one line, also color them (red, green, blue) - Make the slider value smaller and use only 1 decimal - Make the float value smaller and align it to the left Task-number: QT3DS-2679 Change-Id: I6f80c11acc3d96ddc8a6c834f3facbeb42cd1134 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Add support for string type properties in ActionsTomi Korpipaa2018-10-031-8/+60
| | | | | | | | | | Note: There is a separate bug for prohibiting editing object Name via actions. Task-number: QT3DS-2402 Change-Id: Iebd11e2f67151a12fd49de0a64362ca1169e643c Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Remove hierarchies from Referenced material dialogMahmoud Badri2018-09-262-1/+2
| | | | | | | | | | | | The select reference material dialog now only shows a compact list of existing scene materials (Standard and custom). The material's object name is also shown between parenthesis. - Small tweaks for the property linking, inspector combo box style. - Arrow on image and mesh comboboxes switch direction upon click Task-number: QT3DS-2312 Change-Id: Id9613bc7bf8b32c48be900247a0fd6aa646003ff Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix shift & cmd button modifiers in float fields for macOSTomi Korpipaa2018-09-121-2/+2
| | | | | | Task-number: QT3DS-2323 Change-Id: I6065221e06906918ae464fe6a2f37de3044ff35e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Display sub-presentations in inspector image choosersMiikka Heikkinen2018-08-201-0/+2
| | | | | | | | | | | | | | Subpresentations can now be selected as images from image chooser. Selecting a subpresentation will show it also as the image property value of the material. Manually setting subpresentation from image properties is disabled, though the value is still shown. Task-number: QT3DS-2090 Change-Id: Ie02898c0e111c16b2b27368b03901d2adc20fa91 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Janne Kangas <janne.kangas@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Remove ignoreHotkeys property from some control typesMiikka Heikkinen2018-06-072-3/+0
| | | | | | | | | | | | | | | | | QML Sliders and combo boxes were really only ignoring hotkeys because of arrow keys can be used to adjust them. However, arrows are no longer used as global hotkeys since the nudge functionality has been removed. It's unclear why QML toolbuttons were ever ignoring the hotkeys - only key they seem to be responding to is space, and that still works even if ignoreHotkeys is removed. Perhaps it worked differently in Qt versions prior 5.11. Task-number: QT3DS-445 Change-Id: I19d74a792d593355684f6794f377dc4c826d4733 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix other mouse buttons from interfering with drag-adjust of floatsMiikka Heikkinen2018-06-011-0/+1
| | | | | | | | | | | Install an event filter that blocks all mouse button events for other buttons than the left button for the duration of the drag. Key events and shortcut overrides are also blocked. Task-number: QT3DS-565 Change-Id: Idbc03eae5e4e4e0718ebdd43066f58275bd5f44f Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Merge branch 'master' into wip/timelineMiikka Heikkinen2018-04-093-1/+13
|\ | | | | | | | | | | | | This merge loses datainput functionality in timeline toolbar. It needs to be readded in a separate commit. Change-Id: I92ca36e87718e9451b589465eb7ebbd801932820
| * Fix tooltips view menu itemTomi Korpipaa2018-03-232-1/+12
| | | | | | | | | | | | | | | | Task-number: QT3DS-1320 Change-Id: If50eb65bcae06eecc52fd9b4ca20fb28016c9a5a Reviewed-by: Janne Kangas <janne.kangas@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io>
| * Disallow scientific notation in float fieldsTomi Korpipaa2018-03-131-0/+1
| | | | | | | | | | | | | | | | Task-number: QT3DS-541 Change-Id: I84826355daba5d1a0a0e38aaf4bf5a1dd262cc2d Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Merge branch 'master' into wip/timelineMiikka Heikkinen2018-02-272-5/+19
|\| | | | | | | Change-Id: If6e06be72a24372eef95339f55ffda24888eebc3
| * Fix combobox coloringTomi Korpipaa2018-02-071-0/+4
| | | | | | | | | | | | Task-number: QT3DS-988 Change-Id: I3943d35ecff3741a8b2b78cc2af38964cce9ee1e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| * Treat empty float field as zero when adjusting with keyboard or dragMiikka Heikkinen2018-02-021-5/+14
| | | | | | | | | | | | | | | | | | | | ParseFloat function returns NaN if the parsed value is empty string. NaN value on many fields crashes the application, so we skip parseFloat for empty fields and just assume the value is zero. Task-number: QT3DS-385 Change-Id: Ifcd2190ae872740a439a3866ecf328b855b472f7 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
| * Add a workaround for missing ComboBox popupsJ-P Nurmi2018-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | Without getting bogged down too much into details, due to the execution order of the ComboBox building blocks, just referencing the popup from the indicator forces the popup execution to be completed. Task-number: QTBUG-65962 Change-Id: I8502158ef7b80f3d1e17d98496a5ccd0e5d42797 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Add shy/visibility/lock toggle buttonsAndras Mantia2018-01-151-0/+50
| | | | | | | | | | Change-Id: I3a4e29d0faf9fac96249e0ad20e0c82274cd439f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Require newer QtQuick.Controls versionAndras Mantia2017-12-198-8/+8
|/ | | | | Change-Id: I0693aed6a06f85a3393d85c79a2e5d3b836696a7 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Fix keypad input of comma ',' in input boxesMäättä Antti2017-11-231-0/+5
| | | | | | | Task-number: QT3DS-395 Change-Id: Ief92ea87a8f0ae575c98504f2bf2d9e9f98269c3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Improve hotkeys handlingMiikka Heikkinen2017-11-064-1/+23
| | | | | | | | | | | | | | | | | Intercepting global hotkeys when focus is on a control that consumes keypresses is made more robust and explicitly controllable by introducing ignoreHotkeys property for QML items. If the property value is true, then most global shortcuts will be ignored when the keyboard focus is in that control. Added up/down arrow value adjusting for float fields. Added CTRL-SHIFT-Z shortcut for undo. Task-number: QT3DS-343 Change-Id: I7275b1e1ed7f6b106789cb566d6ac98cbd647aff Reviewed-by: Janne Kangas <janne.kangas@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Fix BrowserCombo and color chooser arrow position in hdpi displaysMiikka Heikkinen2017-10-302-4/+3
| | | | | | Change-Id: I39c9d82f1305aeb375ee4af55734fdb93799130b Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Select contents of float and text fields when they gain focusMiikka Heikkinen2017-10-202-3/+10
| | | | | | | | | | Multiline text areas do not have this feature on purpose, as it's less likely you would want replace the entirety of the text in those. Change-Id: I9aaa2ceabb56ffb15058c9cf96cfa984a9c87ae8 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Allow drag-modifying float field valuesMiikka Heikkinen2017-10-201-19/+84
| | | | | | | | | | | | It is now possible to change float field values by dragging horizontally with mouse. Mouse wheel support for float fields was removed as redundant. Task-number: QT3DS-128 Change-Id: Ice3e61df78b8b0ca2757bd8333cb2987cfea62a9 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Initial importOswald Buddenhagen2017-10-069-0/+623