Commit Graph

43 Commits

Author SHA1 Message Date
Marco Martin
c0f3730686 forward port the scrolling fixes of plasma1 vers 2013-07-16 19:30:25 +02:00
Marco Martin
5b0b17f86a respect contents hints 2013-07-01 18:21:29 +02:00
Sebastian Kügler
057d592a1a Ensure the busyindicator is square 2013-06-17 15:22:15 +02:00
Marco Martin
7a7914126e Switch is a CheckBox on desktop
the sliding Switch is touch specific
2013-05-25 12:50:32 +02:00
Marco Martin
669ed7a35c register Units 2013-05-16 13:39:30 +02:00
Marco Martin
75cbf80f47 add Units from Plasma1 2013-05-15 17:58:30 +02:00
Marco Martin
c13a58cf11 checkable and checked properties 2013-05-09 16:16:16 +02:00
Sebastian Kügler
b68317e930 Use QVariant for MenuItem::icon
This way, we can cover string and QIcon assignments transparently,
another backwards compatibility fix, and easier thing in Plasma2: Now
the user doesn't have to worry about creating QIcons, but can just
assign the icon name, and it will get loaded from the theme. Models that
provide QIcons (such as QStandardItems) now work correctly with
PlasmaCore.MenuItems.
2013-04-30 02:50:42 +02:00
Marco Martin
31e39640ce correct kdeclarative includes 2013-04-26 17:36:45 +02:00
Stephen Kelly
268f44fc3b Remove use of qt4_automoc.
It is obsolete.
2013-04-12 11:09:43 +02:00
Marco Martin
c3e2a6e671 smaller sectionscroller 2013-04-05 11:08:30 +02:00
Sebastian Kügler
cbe0d39b99 add spacing in buttonrow and column 2013-03-27 22:27:22 +01:00
Sebastian Kügler
a0fb4356dc Positioning of Menu on screen
Actually quite a bit more lightweight than its QGV predecessor.
2013-03-26 22:34:35 +01:00
Sebastian Kügler
0ef4080e4f positioning for context menu 2013-03-26 22:17:25 +01:00
Sebastian Kügler
335e0b6d9d Port Menu and MenuItem to QtQuick2
In MenuItem, we can't inherit QAction anymore (our MenuItem has to be a
QQuickItem), so we need to aggregate, which means adding glue API.

Positioning code is disabled, icons broken, but a QMenu with our items
inside shows up and is works.
2013-03-26 20:15:56 +01:00
Sebastian Kügler
9c6b7539bc fix namespacing in ContextMenu 2013-03-26 01:12:04 +01:00
Marco Martin
ed36b6aab4 bigger clear button 2013-03-20 21:14:04 +01:00
Sebastian Kügler
a3b39a8321 All imports are now 2.0
This patch changes the version numbers of the plugins to 2.0. This
includes the previously 0.1 plasmacomponents, extras and
qtextracomponents. DragandDrop, which was at 1.0 is now also at 2.0.

Also, all the QML code has been changed to import the 2.0 plugins.

As a side-effect, we now share a version number with QtQuick 2.0 now.
2013-03-13 02:34:53 +01:00
Sebastian Kügler
4cfc6863af change all 0.1 imports to 2.0 in qml files 2013-03-13 01:56:19 +01:00
Marco Martin
83baa3691e theme.defaultFont.mSize api changed
QML2 has QFont directly binded, but doesn't have mSize, so move it to Theme
theme.defaultFont.mSize to theme.mSize(theme.defaultFont)
2013-03-11 17:06:05 +01:00
Marco Martin
e6eae78f06 propagate size hints 2013-03-07 12:01:29 +01:00
Sebastian Kügler
1a31c22e57 debug-- 2013-03-07 02:42:13 +01:00
Sebastian Kügler
112fb3f78a Fix API 2013-02-27 14:54:55 +01:00
Sebastian Kügler
00c93c186d Test code for placement 2013-02-22 03:43:09 +01:00
Sebastian Kügler
006eb99b55 Make dialog-in-separate-window kind of work
inlining is still broken, disabled right now. popupPosition has moved
into PlasmaCore.Dialog internally, so don't handle it in QML.
2013-02-22 02:18:16 +01:00
Sebastian Kügler
6461683f58 Some work on PlasmaComponents.Dialog
Still broken in all kinds of ways, buttons, geometry, etc.
2013-02-20 06:56:48 +01:00
Sebastian Kügler
305e711c8c Fix namespace of RangeModel in Slider and ProgressBar
Now those components work as well.
2013-02-20 05:27:11 +01:00
Sebastian Kügler
71e2114541 Fix RangeModel namespace 2013-02-20 05:24:03 +01:00
Sebastian Kügler
4375b61759 Add module identier to qmldirs 2013-02-20 02:09:23 +01:00
Sebastian Kügler
4683f10dcb Fix namespacing in Sheet 2013-02-20 01:36:22 +01:00
Sebastian Kügler
55a9091992 Use Item as type for ToolBar, apparently we can't use our own defined types here anymore 2013-02-20 01:36:08 +01:00
Sebastian Kügler
d3ce808a41 Fix namespacing in SectionScroller 2013-02-20 01:35:27 +01:00
Sebastian Kügler
af1ca41261 Fix namespacing in PageStack 2013-02-20 01:34:57 +01:00
Sebastian Kügler
614259cf69 Fix namespacing in Dialog 2013-02-20 01:34:26 +01:00
Sebastian Kügler
0900460842 Fix namespacing in SelectionDialog 2013-02-20 01:34:07 +01:00
Sebastian Kügler
bb842b64d2 Fix namespacing in QueryDialog 2013-02-20 01:33:57 +01:00
Sebastian Kügler
b8ccb0ded6 Fix namespacing in CommonDialog 2013-02-20 01:33:43 +01:00
Sebastian Kügler
59e65cbaee Fix import in ButtonColumn 2013-02-20 01:33:01 +01:00
Sebastian Kügler
fec80c2c96 Remove activeFocus property, it's moved up into one of its parents 2013-02-20 01:09:08 +01:00
Sebastian Kügler
36564796d0 Fix namespacing for RangeModel in ScrollBar 2013-02-20 01:08:52 +01:00
Sebastian Kügler
4e82cc5d3d TextField polishing
- remove call to closeSoftwareInputPanel before calling it, it's removed
  from TextInput in commit
3721de405e
I suppose it now "just works", but will test. The API is not there,
anyway, so it's safe to remove.
- clearbutton only shows when enabled
- clearbutton rightmargin
2013-02-20 00:26:33 +01:00
Sebastian Kügler
48cd938931 do not override TextField.activeFocus property
In QtQuick2, we cannot override a property anymore. In the case of
TextField, this means we'll have to rely on Qt for focus handling.
2013-02-19 22:32:41 +01:00
Sebastian Kügler
7dfe957e66 The Big Move
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.

Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00