summaryrefslogtreecommitdiff
path: root/src/controls/Private/private.pri
Commit message (Collapse)AuthorAgeFilesLines
* ToolBar: add support for a stylable menu buttonJ-P Nurmi2014-09-301-0/+1
| | | | | Change-Id: I75021d5a4b54104cccaf5988f0bc79efce3c4c9f Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* EditMenu: add base implementation for desktopRichard Moe Gustavsen2014-09-231-0/+1
| | | | | | | | This will add a default edit menu for TextArea, TextField Combobox and Spinbox. Change-Id: Ib310d20e9f8f8c17750d12cb181577838d600bd6 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Add new private control 'EditMenu'Richard Moe Gustavsen2014-09-111-0/+2
| | | | | | | | | This control will be used as a part of the different text edit controls for controlling how the edit menu should work. Change-Id: Id3ed5795111c37269fce62a97cf4d9bde1b5f6b3 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Merge remote-tracking branch 'origin/5.3' into devJ-P Nurmi2014-07-191-1/+1
|\ | | | | | | Change-Id: Icc15fe685e94dd043979b6b9c6a624f18f2d1e4c
| * Centralize determination of "no desktop" configurationsJ-P Nurmi2014-07-181-1/+1
| | | | | | | | | | | | Change-Id: I030012f48668db4f01737ef92fdb7e6e0426e025 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
* | TextField: refactor selection handlesJ-P Nurmi2014-07-181-0/+1
| | | | | | | | | | | | | | | | | | Move the selection handles to a private type that can be re-used in SpinBox and editable ComboBox. Task-number: QTBUG-38934 Change-Id: Ib1eec3259d19ffea7aa8c2b76fed4e914f2ce3ec Reviewed-by: Liang Qi <liang.qi@digia.com>
* | Merge remote-tracking branch 'origin/5.3' into devJ-P Nurmi2014-06-251-1/+2
|\ \ | |/ | | | | | | | | | | | | Conflicts: .qmake.conf src/controls/Styles/Desktop/SpinBoxStyle.qml Change-Id: Ia501c1388a2af9f273ec2742abbfc766717ad9e6
| * Cleanup whitespaceJ-P Nurmi2014-06-241-1/+1
| | | | | | | | | | Change-Id: I9e84ce56e853a18205aa180cef1ee8ff4f2f678c Reviewed-by: Caroline Chao <caroline.chao@digia.com>
| * Remove QtWidgets dependency for WinRTJ-P Nurmi2014-06-241-1/+1
| | | | | | | | | | Change-Id: Ifacceae8690d2ab4dfaed0d5439b9e29804c1943 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
| * Remove Widgets dependency for QNXAndreas Holzammer2014-06-241-1/+1
| | | | | | | | | | | | | | | | | | Changes.txt says that with Qt 5.2.0 dependency for Widgets have been removed for touch based platforms. But QNX is also a touch based platform and its missing. Change-Id: I140842d4501422537175ac5acb07beebe994f0eb Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
| * Singleton SystemPaletteJ-P Nurmi2014-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | Each SystemPalette instance installs an event filter on the application object. Avoid this by sharing a single SystemPalette instance. Change-Id: Ica9f8979b33e511c1238add3d689f380d0daa93c Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* | TextField & TextArea: add support for selection handlesJ-P Nurmi2014-06-161-0/+1
|/ | | | | | | Task-number: QTBUG-38934 Change-Id: Id581a6e56d3461b0df476c2b35c3e642fd505fc9 Reviewed-by: Caroline Chao <caroline.chao@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Styling improvements for CalendarJens Bache-Wiig2014-03-121-0/+1
| | | | | | | | | Also - added the property Calendar::frameVisible. - moved the gridVisible property to CalendarStyle Change-Id: I57da65af130098ac5d0b858c9f964e52e3ba6922 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Add Calendar to Qt Quick Controls.Mitch Curtis2014-02-141-0/+6
| | | | | | | | | | | Task-number: QTBUG-29948 [ChangeLog][QtQuickControls] Calendar was added. Calendar allows selection of dates from a grid of days, similar to QCalendarWidget. Change-Id: I279130e704bc0dfd8dfe114ec9b6b49e111faf96 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Introducing styling for Menu, MenuBarGabriel de Dietrich2014-02-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | MenuStyle We expose the frame and item properties together with some convenience properties (basically color related). The menu item data is exposed via a styleData object, similarly to what's done in TabViewStyle. In addition, we introduce MenuStyle.menuItem which brings some convenience when it comes to overriding subcontrols of the menu item. MenuBarStyle We expose background and menuBarItem. The menubar item's properties are accessible through the styleData property in scope. Style cascading Additionally, MenuBarStyle has a menuStyle property that will apply to all its menus and their submenus. Similarly, assigning a style to a Menu object, will apply it to its submenus. It's still possible to override the parent menu's style by declaring its own. [ChangeLog][QtQuickControls][Styles]Menu and MenuBar are now styleable Change-Id: Ib724b7a6426bdfce5da314620d51dfaa76f76500 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
* Expose contentArea as contentItem in ApplicationWindowJan Arve Saether2014-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This will intentionally shadow the QQuickWindow::contentItem This enables users of ApplicationWindow to correctly set the {min,max}imumHeight for the contents of the ApplicationWindow (excluding menubar, toolbar and statusbar). With this information at hand, the ApplicationWindow can easily deduct the correct total size of its {min,max}imumHeight *including* the menubar, toolbar and statusbar. Previously, it was for instance not possible to set an exact minimumHeight because it didn't take the toolbar, statusbar or menubar into consideration One small disadvantage is that the contentItem.minimumWidth cannot be autocompleted. qmlplugindump does not inspect the members of ContentItem. Task-number: QTBUG-32443 Change-Id: I9903e7d4b5e6db7bd7c3c46351a2bb5578f67a57 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* More styling improvements for Base StyleJens Bache-Wiig2013-10-311-0/+2
| | | | | | | | | | - Better scalability - Retina support - Added glow filter to Private - Added focus rects Change-Id: I2ec36a9db546c21e20408429c5e17fde8d67b7c3 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Menu: Factor MenuContentItem outGabriel de Dietrich2013-10-181-0/+1
| | | | | | | Preliminary patch to get non-windowed menus on Android, iOS, etc. Change-Id: Idc17009baa3a647ec2fbc353f1360fb9ca9e051a Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Remove widget dependency on touch platformsJens Bache-Wiig2013-10-171-1/+2
| | | | | | | | We don't want native styling on touch enabled devices and there is no reason to link against widgets there. Change-Id: I70116a0a94227cb58ae25980b97c4177da75a3c8 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Improved font scalability for Base styleJens Bache-Wiig2013-10-151-0/+1
| | | | | | | | | | This should make it useable on hight dpi tablets and desktops where font sizes are larger. Change-Id: I8c8e7688927a0b54e3f95c276c743aaa31e8a4d9 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Enable TableView multi-row selectionJens Bache-Wiig2013-09-201-0/+1
| | | | | | | | | | | | | | | | This adds a new read-only property selection and selectionMode to TableView with the following features: selection.selectAll() selection.select(from, to) selection.deselect(from, to) selection.forEach(callback) selection.contains(index) selection.selectionChanged() selection.count Change-Id: I3cbd433851354bb68a6075f0b31f46dab8c83fd4 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* ComboBox: Make popup scrollableGabriel de Dietrich2013-09-191-0/+2
| | | | | | | | | | | | | | | | We factor out part the menu item container logic from Menu into ColumnMenuContent, which takes care of scrolling and mouse hovering, and selection. This makes possible to extend the menu items layout. The pop-over and pull-down look is specified by the menu style component by overriding the ScrollView style. The popup's maximum height is also specified by the menu style. The gallery example can finally use a font families combo box. Task-number: QTBUG-31568 Change-Id: I34a7278f476471c0eb51ef51dde3dd83e13002fe Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Move Styles and Private under controlsCaroline Chao2013-08-161-0/+42
Register the C++ private API from the controls plugin. The private plugin is not needed anymore. The Controls "submodules" Styles and Private are moved to the controls subfolder in the sources tree. Change-Id: I98358227c945b6cd1a8dbff9d07e6cad4f044277 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>