summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add new controls for property editorHEADmasterHenning Gruendl2019-08-0540-0/+4631
| | | | | | | | | | | | | | | Adds new controls for the property editor based on Controls 2. The included controls are SpinBox (RealSpinBox), ComboBox, TextField, TextArea (experimental), CheckBox (with tri-state), Button (ButtonRow), ContextMenu, ScrollView and ScrollBar. Each control contains an ActionIndicator which can be hidden on demand. The ActionIndicator itself can also be used standalone. It also a flag to draw it without borders and background. The reason for two SpinBox implementations is the following bug QDS-806. Usage of SpinBox should be avoided rather use RealSpinBox. Change-Id: Ie647f05d02e8de8d31da9556126ce2cabe9009e9 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Implement insertion and deletion of keyframesKnud Dollereder2019-06-0412-34/+236
| | | | | Change-Id: I3d0c10a765588a53ae2053b74b8a3173c440e982 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Implement selection of keyframes and handlesKnud Dollereder2019-05-2922-227/+1018
| | | | | Change-Id: Iaedb5561f9d57e38bfcac6fa5012a26ac5033d3b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Improve viewport navigationKnud Dollereder2019-03-2810-124/+437
| | | | | | | | | | | Pan/Zoom with mouse an shortcuts Keep the playhead in valid position Scroll the GraphicsView by dragging the playhead out of bounds Add style options for playhead and shortcuts Minor cleanup Change-Id: I368f170974c4842c725032da9f8faf7653c31d1f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Introduce playheadKnud Dollereder2019-03-1311-17/+300
| | | | | | | | Update example. Do not construct the CurveEditorStyleDialog with a parent in order to prevent a crash on close. Change-Id: I671138aa2304d0fefc39f6802e7aca9b2d9753f1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Move TreeItems up one folderKnud Dollereder2019-02-267-87/+80
| | | | | | | Do not reject t values that are slightly above 1 when computing extrema Change-Id: I167ed2fc8c14c7993bd72ac4312a34aacb084c4e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Introduce TreeViewKnud Dollereder2019-02-2636-237/+2197
| | | | | | | | | | Provide example of intended usage. Move code, not intended for the client into subfolder detail. Add resources. (currently only temporary icons) Add evaluator functions to the AnimationCurve class. Change-Id: I9a8787af219d648d40181adc7433708030294628 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Introduce curvesKnud Dollereder2019-02-0719-297/+1377
| | | | | | | | and extend the style-options. Change-Id: Ie5652517dca5766cb6d7eab5d29dde9c030e762b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Respect style conventionsKnud Dollereder2019-01-2911-197/+164
| | | | | Change-Id: I6cdbe71a2addfb08bf2ea167a6e5e1378bdf80be Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Some minor cleanupThomas Hartmann2019-01-291-1/+1
| | | | | | Change-Id: I0989f870234141e8b72b4f862a61ad8c5b6b5354 Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add initial version of the curve-editor and example applicationKnud Dollereder2019-01-2912-0/+1216
| | | | | Change-Id: Ieb2871709bc0d8b96559f2cc0e7b1ab748dc0af2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add rough build system layoutThomas Hartmann2019-01-283-0/+11
Added sharedcomponents.pro will build example app and QML plugins. The pri file sharedcomponents.pri can be included to add components like e.g. the curve editor. Change-Id: Iaf194a8a66cb08df6528e5eaae04a9b86db1272a Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>