Commit Graph

973 Commits

Author SHA1 Message Date
Allen Winter
1d24b7a61d remove REQUIRED from the find_package(KActivities).
then tell the macro_log_feature that KActivities is required.
this way, if people are missing KActivities they will get a nice log
message about it.
2012-06-09 13:04:40 -04:00
Aurélien Gâteau
fc0f700c9d Fix text colors on TabButton and ToolButton
When the widgets use the button background frame, use buttonTextColor.
When they do not use any background frame, use textColor.

Avoids unreadable text with Oxygen

REVIEW: 105163
2012-06-09 10:12:05 +02:00
Aurélien Gâteau
0aaf3f4760 Use the same text color as C++ Plasma::LineEdit
Plasma::LineEdit uses the button text color for its text. Do the same
in PlasmaComponents.TextField to avoid white text on white background with
Oxygen theme.

Also use button text color for PC.TextArea because it uses the same
background frame as PC.TextField (P.TextEdit, its C++ equivalent, does not
have any background frame)

REVIEW: 105159
2012-06-09 10:12:05 +02:00
Sebastian Kügler
e27c827fba Mention enabled property in ToolButton's APIDOC 2012-06-08 12:49:36 +02:00
Sebastian Kügler
3a8a66dc47 shadow between context area and toolbar 2012-06-06 02:26:47 +02:00
Sebastian Kügler
1ee3fbaf21 Contextarea goes under the main item, correct shadow 2012-06-06 00:55:19 +02:00
Sebastian Kügler
ba689faf16 Fix warnings in color assignments 2012-06-05 03:31:04 +02:00
Aaron Seigo
4698241d8d improve build 2012-06-04 15:28:07 +02:00
Aurélien Gâteau
bb8eef7db1 Introduct mapRowToSource and mapRowFromSource
REVIEW: 105044
2012-05-29 17:42:11 +02:00
Aurélien Gâteau
0ddb12cf96 Do not reset model while changing the regexp
There is no need to do so, QSortFilterProxyModel correctly adjust rows

REVIEW: 105042
2012-05-29 17:42:11 +02:00
Aurélien Gâteau
f145e1de8e Fix behavior of "runners" property
This commit changes the behavior of the "runners" property when no manager
has been created yet:
- Setting the property emits runnersChanged()
  (unless it is the same as the old value)
- Reading the property after setting it returns the new value

REVIEW: 105024
2012-05-29 17:42:11 +02:00
Aaron Seigo
fb6b4ecc09 handle single mode better 2012-05-28 19:43:34 +02:00
Marco Martin
c049c116cf integer number of rectangles for progressbar too 2012-05-28 14:49:36 +02:00
Marco Martin
d3d8107e88 reset position when not indeterminate anymore 2012-05-28 14:49:35 +02:00
Luís Gabriel Lima
999dd60721 Adding notify signals to SvgItem
These signals are being added in order to keep track of property
changes in the QML side.

Signed-off-by: Luís Gabriel Lima <lampih@gmail.com>
2012-05-28 08:51:32 -03:00
Sebastian Kügler
bcd6a0cc55 Fix text field color 2012-05-21 19:40:23 +02:00
Sebastian Kügler
f3dff31f05 Fix password character 2012-05-21 19:40:23 +02:00
Sebastian Kügler
b63d1feae4 sync passwword charactor with desktop version 2012-05-21 19:40:23 +02:00
Sebastian Kügler
7024329085 Use black as text color in TextField and TextInput
It seems that there's not a single theme out there which properly sets
viewTextColor. The background of textedits is white, so the text has to
be black. On Air(-mobile) this is not a problem, since the text is black
anyway, on dark themes (which set the text color to white), text simply
isn't visible.

We'll have to look into how themes implement viewtextcolor, should
probably fix the themes instead of the components, but this makes it
work until we do.
2012-05-21 19:40:23 +02:00
Giorgos Tsiapaliwkas
b353a65502 Remove declarativeimports/test.
We moved it to kdeexamples
2012-05-16 21:13:35 +03:00
Aurélien Gâteau
cdba0a2222 Fix keyboard navigation in TabBar 2012-05-15 17:24:30 +02:00
Aurélien Gâteau
ea9cf23038 Unbreak gallery 2012-05-15 17:20:47 +02:00
Script Kiddy
944c4b7b58 SVN_SILENT made messages (.desktop file) 2012-05-15 16:42:42 +02:00
Lamarque V. Souza
4f670c149b Update all CMakeLists.txt to use KDeclarativeConfig.cmake.
rebuild kdelibs from KDE/4.8 branch to install KDeclarativeConfig.cmake.
2012-05-14 12:40:02 -03:00
Script Kiddy
1df9872621 SVN_SILENT made messages (.desktop file) 2012-05-14 11:00:55 +02:00
Allen Winter
200c90f096 fix compile.
apparently there is no != operator for Plasma::QueryMatch
perhaps there should be.

CCMAIL: notmart@gmail.com,agateau@kde.org
2012-05-11 14:32:34 -04:00
Aurélien Gâteau
1eb2650cd5 Do not reset the model when new matches are added
REVIEW: 104914
2012-05-11 17:36:01 +02:00
Script Kiddy
0e03fc990e SVN_SILENT made messages (.desktop file) 2012-05-11 09:43:44 +02:00
Dennis Nienhüser
17f5b499bb Width and height are implicitly set by the anchors. 2012-05-10 19:33:33 +02:00
Sebastian Gottfried
5b567230e6 buttons: first focus, than emit clicked() signal
Otherwise a client wanting to give another QML component the focus in
reaction to a clicked button has no chance doing so because the button
will steal the focus again right after the event handler has finished
executing.

REVIEW: 104893
2012-05-10 00:48:53 +02:00
Sebastian Kügler
26e1276738 animate showing / hiding of navigation bar 2012-05-09 04:48:38 +02:00
Dennis Nienhüser
5453bbc801 Fix mistyped enum values.
Please test as code using it might behave differently now (menus
aligned left before while horizontally centered on the parent now)
2012-05-09 00:13:26 +02:00
Script Kiddy
804d490acd SVN_SILENT made messages (.desktop file) 2012-05-07 10:02:05 +02:00
Script Kiddy
93aba5f886 SVN_SILENT made messages (.desktop file) 2012-05-06 10:32:33 +02:00
Marco Martin
93acb20c8d put the model in non running state after a timeout
This is an hack, a real way must be found
2012-05-04 21:54:44 +02:00
Aaron Seigo
a60b7b83c9 signal when a drag starts so that qml items can take the necessary steps 2012-05-04 14:10:28 +02:00
Aaron Seigo
a4e83dde8e tabs to spaces. fewer kittens are now being killed. 2012-05-04 14:10:28 +02:00
Marco Martin
4c79f05a60 running property
true when at least some runner is not done yet
2012-05-04 13:47:41 +02:00
Script Kiddy
204946e451 SVN_SILENT made messages (.desktop file) 2012-05-04 10:29:42 +02:00
Shaun Reich
04d6b450d3 move krunnermodel into plasma/declarativeimports where it belongs
(slight mistake on the git-filter-branch import from plasma-mobile.
So it'll live here now, so that other gizmos can use it.
2012-05-03 10:00:04 -04:00
Marco Martin
14122d0199 hide the tools that have long been dismissed 2012-05-03 14:27:18 +02:00
Marco Martin
3c56d80d52 qdate and qtime need to be included in locale.h 2012-05-02 14:22:01 +02:00
Giorgos Tsiapaliwkas
77e5ff627c Merge branch 'plasma/terietorANDkokeroulis/KLocaleQMLBindings'
Fix the git conflicts
Conflicts:
	plasma/declarativeimports/CMakeLists.txt
	plasma/declarativeimports/test/contents/ui/Gallery.qml
2012-05-02 12:39:31 +03:00
Giorgos Tsiapaliwkas
835cd63c72 Move declarativeimports/locale/test to declarativeimports/test and
make the declarativeimports/test a plasmoid
2012-05-02 12:34:28 +03:00
Giorgos Tsiapaliwkas
920a7a0649 Rename the test into org.kde.example.localetest 2012-05-01 22:16:42 +03:00
Marco Martin
3d1ba60d3f fix active effect 2012-05-01 14:46:19 +02:00
Antonis Tsiapaliokas
1d8b0c0714 Fix a typo for klocaleqmltest.qml and remove unnecessary TODOs 2012-04-30 06:32:42 +03:00
Antonis Tsiapaliokas
bbc19904db Remove unused enumenators 2012-04-30 06:03:35 +03:00
Marco Martin
b529412312 ensire the switch is rendered correctly 2012-04-27 15:47:58 +02:00
Marco Martin
856b001d73 respect svg size for handle size 2012-04-27 15:15:32 +02:00
Sebastian Kügler
8a90947a33 Fix reference error in slider 2012-04-27 00:36:26 +02:00
Aurélien Gâteau
2b8a7b32c5 Toolbutton: Fix layout issues
- Improve spacing between icon and text
- Do not enforce a minimum width

Having a minimum width does not make much sense for a ToolButton:
1. It should aim at using the minimum amount of horizontal space when
   used in a ToolBar.
2. It looks unbalanced when used with an icon because the content is
   flushed to the left, leaving a large amount of white-space on the right.

REVIEW: 104735
2012-04-26 15:12:03 +02:00
Aurélien Gâteau
90bddbf61e ToolButton: Improve keyboard navigation support
Use the hover frame to indicate focus, do not give focus if keyboard
navigation is not defined.

REVIEW: 104727
2012-04-26 09:21:02 +02:00
Aurélien Gâteau
47d42a6d36 TextField: support for passwordCharacter
Use a more modern password character, and expose it to the outside world

REVIEW: 104726
2012-04-26 09:21:02 +02:00
Aurélien Gâteau
9b04155a92 TextField: add keyboard navigation support
REVIEW: 104722
2012-04-25 17:45:54 +02:00
Antonis Tsiapaliokas
5c890b1ba0 fix the wrong format type from the readTime and readLocaleTime 2012-04-24 13:25:00 +03:00
Giorgos Tsiapaliwkas
2bf1971ad4 Fix the emit 2012-04-24 23:14:30 +03:00
Giorgos Tsiapaliwkas
17265ad14c Fix compile warnings 2012-04-24 23:10:29 +03:00
Marco Martin
263a184049 preselect the first item if not told otherwise 2012-04-17 14:56:54 +02:00
Marco Martin
021d196ab8 don't reset checked button 2012-04-17 11:21:01 +02:00
Marco Martin
a7effaa7c4 respect an hardcoded default checked button 2012-04-17 10:56:51 +02:00
Giorgos Tsiapaliwkas
d1f8e46a3e Remove the signals and make the properties constants 2012-04-13 19:51:07 +03:00
Stephen Kelly
73dc4f9a0c Simplify QtGui module includes. 2012-04-10 00:22:13 +02:00
Marco Martin
531031f753 can't use windowId in QML on Windows 2012-04-06 13:09:32 +02:00
Marco Martin
091bde342d remove all signs of updateValueWhileDragging 2012-04-05 21:07:42 +02:00
Viranch Mehta
11991bdd14 QML scrollbar: Timeout the scroll timer as soon as the arrow is pressed. This avoids getting no reaction when arrow is clicked very quickly. 2012-04-04 16:21:50 +05:30
Viranch Mehta
021ca8c08a Fix the SVGs in QML Scrollbar component:
* The hover and non-hover arrow images in vertical scrollbar are the same.
* The pressed/hover/normal states of down/right arrows are connected to mouse area of up/left arrows.
* The mouse areas of the arrows do not have hoverEnabled property set to true. This is required to use their containsMouse property.
REVIEW: 104402
2012-04-04 15:40:23 +05:30
Marco Martin
027c83e27a fix centering 2012-04-04 10:35:47 +02:00
Sebastian Kügler
c353ff7caa Fix up installation -- no touch-specific installs 2012-04-03 17:51:01 +02:00
Marco Martin
41a5105806 use borders similar to the c++ widget 2012-04-03 13:49:23 +02:00
Aaron Seigo
b098deb453 improve docu 2012-04-03 13:27:39 +02:00
Marco Martin
3af2e88301 add ScrollArea.qml
a component that automatically creates the scrollbars/scrollindicators/sectionscrollers for a Flickable, ListView or GridView
2012-04-03 13:22:26 +02:00
Sebastian Kügler
744fe720d2 Improve clipping in App 2012-04-02 17:46:01 +02:00
Sebastian Kügler
69fc1ee82e update todo 2012-04-02 04:52:34 +02:00
Sebastian Kügler
1889b8e1fa setting anchors inside of components is not a good idea 2012-04-02 04:52:20 +02:00
Sebastian Kügler
b6468d6437 ssht. 2012-04-01 00:15:34 +02:00
Sebastian Kügler
e747fb6e3b APIDOX improvements for PlasmaExtras 2012-03-31 01:20:25 +02:00
Sebastian Kügler
3dd6ad6138 remove green rectangle 2012-03-31 01:20:25 +02:00
Lamarque V. Souza
82fb04ccbf EditBubble.qml: put buttons in the order "copy" and then "paste", double
buttons' MouseArea sizeto make it easier to tap on them, and add space
between the buttons.

CCBUG: 296943
2012-03-30 20:08:42 -03:00
Sebastian Kügler
ed04c28fe2 Small optimization
By Lamarque, forward-ported from plasma-mobile
c9c6f5022fe5ccde59456157f18cdec4ab2b46b4
2012-03-30 00:42:42 +02:00
Sebastian Kügler
ec53236725 Animations have moved here
from plasma-mobile/components/mobilecomponents
2012-03-30 00:34:17 +02:00
Antonis Tsiapaliokas
0e702d85f5 Fix the Q_DECLARE_FLAGS parameters 2012-03-29 23:14:19 +03:00
Marco Martin
fb99635369 put buttons in the titlebar 2012-03-29 17:23:39 +02:00
Marco Martin
58d281d0b9 fix connect to destroyed, should solve crashes 2012-03-28 14:11:43 +02:00
Daker Fernandes Pinheiro
5b452bfb9a Change default value of enabled property in ListItem Plasma Component
Also adds documentation for the enabled property.

Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-27 11:17:36 -03:00
Sebastian Kügler
af7ec4df34 Fix reference error and hiding SIP from TextArea 2012-03-27 13:54:51 +02:00
Giorgos Tsiapaliwkas
0c62466b99 Remove some parameters 2012-03-26 11:41:26 +03:00
Giorgos Tsiapaliwkas
f84c3642a6 Fix the includes in locale.h/cpp 2012-03-26 11:30:33 +03:00
Giorgos Tsiapaliwkas
feefca269b Remove the overloaded methods from Locale 2012-03-26 11:27:36 +03:00
Giorgos Tsiapaliwkas
ee1ce0dca9 Make the static methods normal ones 2012-03-26 11:06:00 +03:00
Giorgos Tsiapaliwkas
cc54b44fa2 Fix the includes in CalendarSystem 2012-03-24 19:36:59 +02:00
Giorgos Tsiapaliwkas
df1290b1ec Remove the @since 2012-03-24 19:31:35 +02:00
Giorgos Tsiapaliwkas
1bfb4e0083 Remove a few more overloaded methods 2012-03-24 19:29:37 +02:00
Giorgos Tsiapaliwkas
b503963b40 Fix calendar.readDate 2012-03-24 19:22:43 +02:00
Giorgos Tsiapaliwkas
1145d33e59 Make virtual methods normal 2012-03-24 19:22:19 +02:00
Martin Gräßlin
e195c1d01f Export WindowId on Plasma Dialog
Exporting the window Id allows to use it in declarative KWin scripts
to embedd window thumbnails on the dialog.

REVIEW: 104393
2012-03-24 10:51:12 +01:00
Giorgos Tsiapaliwkas
c94a4917c4 fix the calendarSystemsList list 2012-03-23 15:46:46 +02:00
Giorgos Tsiapaliwkas
c0cee92b7d Remove the overloaded methods from CalendarSystem 2012-03-23 15:31:03 +02:00
David Edmundson
732c98110f Remove invalid documentation for property "animated" on Slider
See discussion at: https://git.reviewboard.kde.org/r/104318/
2012-03-22 20:20:16 +00:00
Daker Fernandes Pinheiro
eabd70b019 Fix coding style for TextField Plasma Component accepted signal
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-22 08:58:29 -03:00
Daker Fernandes Pinheiro
161b548803 Fixed coding style in doc example for TextField Plasma Component
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-22 08:57:56 -03:00
Christophe Giboudeaux
dc1e5aa9cf Fix includes. 2012-03-20 12:08:48 +01:00
Sebastian Kügler
cf14c5563f spacing improvements 2012-03-20 02:48:40 +01:00
Sebastian Kügler
7bffae49d1 fix visual glitch when hiding toolbar 2012-03-20 02:35:20 +01:00
Sebastian Kügler
61cafd3215 update todo 2012-03-20 02:31:09 +01:00
Sebastian Kügler
409a2ac82c basic toolbar hiding and showing 2012-03-20 02:23:11 +01:00
Sebastian Kügler
73e2d78647 fix alignment in contentArea 2012-03-20 02:01:21 +01:00
Sebastian Kügler
b4b8986209 explain extracomponents in the Gallery page 2012-03-20 02:01:21 +01:00
David Edmundson
cfc76b8144 Fix padding in toolbutton and tab buttons
REVIEW: 104319
2012-03-20 00:57:54 +00:00
Sebastian Kügler
c5e6e8a826 add Paragraph.qml 2012-03-20 01:49:23 +01:00
Sebastian Kügler
fd048b6ff6 Move ResourceInstance into Extras page 2012-03-20 01:48:26 +01:00
Sebastian Kügler
7c0f0522d8 add plasmacomponents api docs ResourceInstance 2012-03-20 01:46:44 +01:00
Sebastian Kügler
2d864c5992 App gets ToolBar, gallery app uses it now
- the Gallery app is now derived from App, so we can test it.
- App now has a toolbar, similar to PageStack.

Toolbar is not yet auto-hidden.
2012-03-20 01:40:25 +01:00
Sebastian Kügler
5254662cc4 Move apptest here, common test directory 2012-03-19 23:52:39 +01:00
Sebastian Kügler
c6110235c0 New component: Paragraph
completes the Text Layout components for now.

Also add a page to Gallery.qml to test these new component.
2012-03-19 23:38:57 +01:00
Sebastian Kügler
ee7796c0a7 Fix up install
- platformimports is empty until we use touch-specific overrides, comment
this line
- also install Header.qml to touch-components
2012-03-19 23:03:16 +01:00
Sebastian Kügler
d0c2a45738 Merge branch 'plasmaextracomponents' 2012-03-19 16:21:02 +01:00
Giorgos Tsiapaliwkas
7a206534e3 add one more line for an overloaded method 2012-03-19 17:14:28 +02:00
Giorgos Tsiapaliwkas
5d8ab81119 Remove an unnecessary enum 2012-03-19 17:13:31 +02:00
Sebastian Kügler
d4f40126a5 animated is not Slider's public API anymore 2012-03-19 15:25:14 +01:00
Giorgos Tsiapaliwkas
6844da9ccb Fix CalendarSystem:getDate and CalendarSystem::dateDifference 2012-03-19 16:20:10 +02:00
Giorgos Tsiapaliwkas
9cbc32a078 fix the allDigitSetsList method and also make it a method 2012-03-19 13:32:21 +02:00
David Edmundson
8c78de05ca Add margin on edge of main page
REVIEW: 104296
2012-03-17 00:44:12 +00:00
David Edmundson
538dfadc18 Set default gallery page to the first entry in the menu (Buttons) 2012-03-17 00:44:12 +00:00
David Edmundson
e32603b5e4 Don't overlap main page with scrollbars 2012-03-17 00:44:12 +00:00
David Edmundson
574ce395d3 Add clipping on gallery for nicer animation between pages 2012-03-17 00:44:12 +00:00
Giorgos Tsiapaliwkas
ee8eadcc80 Fix the negative values of the enums 2012-03-16 17:03:18 +02:00
Sebastian Kügler
f80ca43592 small improvements to testapp 2012-03-16 05:08:22 +01:00
Sebastian Kügler
83bc2d2fde small cleanup and docs for Heading 2012-03-16 04:58:25 +01:00
Sebastian Kügler
774ff8fc6d New Heading component in org.kde.plasma.extras
Interesting property is level, between 1 (large) and 5 (same size as
default text), otherwise behaves as Label.
2012-03-16 04:51:00 +01:00
Sebastian Kügler
53dc25c0e0 Test cases for Heading 2012-03-16 04:50:47 +01:00
Sebastian Kügler
3b3481292b More worky-worky
- alignment & layout of content items, depending on width, still pretty
  rough, needs a state machine
2012-03-16 04:48:48 +01:00
Sebastian Kügler
46e2dad148 a go at an App container, pretty rough 2012-03-16 03:38:04 +01:00
Sebastian Kügler
3f241aace9 Add ResourceInstance from mobilecomponents 2012-03-15 22:04:34 +01:00
Sebastian Kügler
ac99feb490 Add AppBackgroundProvider image loader from mobilecomponents 2012-03-15 21:54:38 +01:00
Sebastian Kügler
85735ce130 Cleanup, add docs, copyright 2012-03-15 20:47:25 +01:00
Sebastian Kügler
4b9a633c73 New Plasma Export: org.kde.plasma.extras
Provides functionality beyond PlasmaComponent's API, currently just a
Title.
2012-03-15 19:57:43 +01:00
Giorgos Tsiapaliwkas
48def0fb72 Fix a property in klocaleqmltest.qml 2012-03-13 17:34:16 +02:00
Giorgos Tsiapaliwkas
c67e95a4f3 Remove Locale::localizedFilePath 2012-03-13 17:33:26 +02:00
Giorgos Tsiapaliwkas
028df24350 Remove the methods insert/removeCatalog from the Locale class 2012-03-13 12:56:27 +02:00
Giorgos Tsiapaliwkas
b9efdcc1e4 Remove a comment and replace a tab with spaces 2012-03-09 13:37:20 +02:00
Giorgos Tsiapaliwkas
b3c089f51c Fix the comments and a typo. 2012-03-09 13:25:25 +02:00
Antonis Tsiapaliokas
4d40a7dd92 Rename KCalendarSystem to CalendarSystem on Api 2012-03-09 10:21:02 +02:00
Antonis Tsiapaliokas
46c6da3534 Add more unit tests 2012-03-08 14:43:23 +02:00
Giorgos Tsiapaliwkas
f2f9fc8fe7 Fix locale.readMoney, locale.readDate,readLocalTime 2012-03-03 17:03:49 +02:00
Marco Martin
9e5451a1df delegateImage property 2012-03-02 15:08:11 +01:00
Marco Martin
a299c18ddc configurable start drag distance 2012-03-02 15:08:11 +01:00
Giorgos Tsiapaliwkas
9b69f03f5c Make Locale::reparseConfiguration() a Q_INVOKABLE method 2012-03-01 21:59:43 +02:00
Giorgos Tsiapaliwkas
1118d9ac61 Fix the converDigits method 2012-03-01 21:59:07 +02:00
Marco Martin
736a56c631 Merge branch 'plasma/mart/fullscreenSheet' 2012-03-01 15:11:28 +01:00
Marco Martin
fda07f4473 documentation 2012-03-01 15:10:48 +01:00
Marco Martin
f30b2da11b fully working 2012-03-01 15:03:45 +01:00
Giorgos Tsiapaliwkas
3025342e00 Fix the enums in klocaleqmltest 2012-03-01 15:20:43 +02:00
Giorgos Tsiapaliwkas
1e8340601b Populate the klocaleqmltest.qml 2012-03-01 12:33:58 +02:00
Giorgos Tsiapaliwkas
557e476c05 Make languageList, currencyCodeList, installedLanguages, allCountriesList
properties instead of Q_INVOKABLE
2012-03-01 12:32:01 +02:00
Giorgos Tsiapaliwkas
860d8ed68f Make fileEncodingMib a property instead of a Q_INVOKABLE 2012-03-01 11:06:21 +02:00
Marco Martin
86908c9c31 avoid a model reset in certain conditions
should be slightly faster and avoid some of the flickering (items deletion and recreation) in ListView
2012-02-29 14:38:14 +01:00
Marco Martin
6d9f9afcad proper borders 2012-02-28 15:23:47 +01:00
Marco Martin
db4d97ff86 size the sheet accordingly to the screen geometry 2012-02-28 15:15:38 +01:00
Marco Martin
ab44729083 sync scene 2012-02-28 14:58:24 +01:00
Marco Martin
07b7041b92 common class for sheet and dialog 2012-02-28 14:49:20 +01:00
Marco Martin
dc791aad5b a fullscreen sheet derived from fullscreendialog 2012-02-28 12:11:22 +01:00
Giorgos Tsiapaliwkas
4319d7d0d8 Add test code for the QStringList methods of Locale. 2012-02-26 18:05:22 +02:00
Giorgos Tsiapaliwkas
b5bb3bb6e5 Remove unnecessary code 2012-02-26 18:02:17 +02:00
Giorgos Tsiapaliwkas
58bf5c9c8e Remove the methods translateRawFrom. In the documentation
we are being advised not to use them directly, the same applies
for QML.
2012-02-26 17:24:56 +02:00
Giorgos Tsiapaliwkas
0343a25c8f Fix typo.
typo == s/Locale/KLocale
2012-02-26 17:04:04 +02:00
Giorgos Tsiapaliwkas
ba409bf600 Remove the static keyword from defaultLanguage, defaultCountry,
defaultCurrencyCode
2012-02-26 16:59:59 +02:00
Giorgos Tsiapaliwkas
36e69304fb Remove the encoding* stuff 2012-02-26 16:51:54 +02:00
Marco Martin
2e79f694b7 skip non tabbuttons 2012-02-23 21:22:56 +01:00
Giorgos Tsiapaliwkas
2a94eda81a It is calendar.$foo not locale.$foo 2012-02-22 17:57:31 +02:00
Giorgos Tsiapaliwkas
86a60e2e2e fix typos 2012-02-22 14:55:21 +02:00
Giorgos Tsiapaliwkas
cba38afc41 Add "read-only" comments to CalendarSystem's properties 2012-02-22 14:44:10 +02:00
Giorgos Tsiapaliwkas
86e5fa1bd0 Add tests for the CalendarSystem components.
Properties: isProleptic, CalendarLabel, epoch, earliestValidDate,
latestValidDate, shortYearWindowStartYear, weekStartDay, isLunar,
isLunisolar, isSolar, isProleptic
2012-02-22 14:41:11 +02:00
Giorgos Tsiapaliwkas
39e23de934 Add more "read-only" comments to properties 2012-02-22 14:22:37 +02:00
Giorgos Tsiapaliwkas
e34130edd0 Add tests for the Locale component
Properties: monetaryThousandsSeparator, negativeMonetarySignPosition,
negativePrefixCurrencySymbol, negativeSign, pageSize,
negativeMonetarySignPosition, positiveMonetarySignPosition,
positivePrefixCurrencySymbol, positiveSign, thousandsSeparator,
weekDayOfPray, weekNumberSystem, weekStartDay, workingWeekEndDay,
workingWeekStartDay, use12Clock, defaultLanguage, defaultCountry,
defaultCurrencyCode, useTranscript, encodingMib
2012-02-22 14:17:55 +02:00
Giorgos Tsiapaliwkas
8b66577675 Add tests for the Locale component
Properties: decimalSymbol, digitSet, encoding, language, measureSystem,
monetaryDecimalPlaces, monetaryDecimalSymbol, monetaryDigitSet
2012-02-22 13:24:41 +02:00
Giorgos Tsiapaliwkas
35f9f7b299 Add "read-only" comments to read-only properties 2012-02-22 13:23:30 +02:00
Giorgos Tsiapaliwkas
a02ae1eb52 Add unitest code for dateTimeDigitSet and decimalPlaces 2012-02-21 20:34:29 +02:00
Giorgos Tsiapaliwkas
37dd4360d2 Populate the test of locale bindings 2012-02-21 20:23:04 +02:00
Giorgos Tsiapaliwkas
a820916926 Give a proper name to the plasmoid(org.kde.$foo) and
add change its ui.
2012-02-21 13:01:31 +02:00
Marco Martin
cc1c6c5b9e revert 7552f160ff1c01a338f9093eeb56a7db1396c5a2 2012-02-20 21:01:08 +01:00
Marco Martin
7da705ba8a export defaultIconSize
kept in sync with the kglobal desktop icon size
2012-02-20 15:09:26 +01:00
Marco Martin
e6053a71dd remove group bindings again 2012-02-20 13:37:10 +01:00
Marco Martin
d408978213 bind State 2012-02-20 13:37:10 +01:00
Marco Martin
ed5e2e1981 bind kiconloader groups
used for implicitWidth/height, will be used for kiconeffects
2012-02-20 11:25:40 +01:00
Shaun Reich
ffe2798e52 for the gallery, use some real icons
i unfortunately don't have dakerfp's filesystem on me ;p
2012-02-19 09:52:15 -05:00
Shaun Reich
d5bf439e5b be sure to H align the text if our icon is valid in a Button 2012-02-19 00:09:06 -05:00
Marco Martin
0bd0641e3e layout fixes
don't count things that aren't buttons in thewidth calculations
2012-02-17 12:28:57 +01:00
Giorgos Tsiapaliwkas
7980cd0496 Add a tests folder 2012-02-16 14:04:09 +02:00
Giorgos Tsiapaliwkas
06deb00c62 Make the Q_INVOKABLE something foo() into properties,
for the CalendarSystem class
2012-02-16 14:02:06 +02:00
Giorgos Tsiapaliwkas
94ca0b3a5d Remove the definition of Locale::copyCatalogsTo.
I forgot to remove it in the previous commit
2012-02-16 14:01:14 +02:00
Giorgos Tsiapaliwkas
a58d172b2c make Q_INVOKABLE something foo() into properties 2012-02-16 13:36:42 +02:00
Giorgos Tsiapaliwkas
4018e79ca2 Remove unnecessary comments 2012-02-16 13:13:04 +02:00
Giorgos Tsiapaliwkas
7a94509646 Make the encoding stuff QVariant, in order to be able
to use them as properties.
2012-02-16 13:07:03 +02:00
Giorgos Tsiapaliwkas
da194d9246 Make the properties country and language read-only 2012-02-16 12:23:12 +02:00
Giorgos Tsiapaliwkas
403835a82b Fix the pure virtual methods and the ctor. 2012-02-16 12:22:44 +02:00
Marco Martin
2f6b8d2687 support for wheel events 2012-02-15 22:56:41 +01:00
Antonis Tsiapaliokas
1386b6aece Remove unusable code for qml 2012-02-15 10:24:07 +02:00
Marco Martin
dfb566034d unwind to itself means no pop 2012-02-14 20:37:03 +01:00
Marco Martin
0e9c604043 always permit to pop 2012-02-14 17:59:23 +01:00
Giorgos Tsiapaliwkas
6b784a98e8 Fix a typo,remove a deprecated method add comment the Locale::calendar 2012-02-14 12:52:08 +02:00
Giorgos Tsiapaliwkas
7877980f2e Add CalendarSystem's ctor 2012-02-14 12:29:21 +02:00
Antonis Tsiapaliokas
461ad73f58 Add localebindingsplugin.cpp to CMakeLists.txt 2012-02-14 04:08:46 +02:00
Antonis Tsiapaliokas
69e028bfbd Add a missing signal into locale.h 2012-02-14 03:05:30 +02:00
Antonis Tsiapaliokas
de895b36c1 Populate localebindings/CMakeLists.txt 2012-02-14 03:03:51 +02:00
Giorgos Tsiapaliwkas
fbb91918de Remove the era* internal methods 2012-02-12 16:14:18 +02:00
Giorgos Tsiapaliwkas
55ff7f3e0b Remove friend class foo; 2012-02-12 16:07:38 +02:00
Giorgos Tsiapaliwkas
2bc6afab73 Remove the internal methods of KCalendarSystem 2012-02-12 16:06:12 +02:00
Giorgos Tsiapaliwkas
82ce5394da fix the enums and typos 2012-02-12 16:00:18 +02:00
Giorgos Tsiapaliwkas
399bd464db remove unnecessary code 2012-02-12 15:51:55 +02:00
Giorgos Tsiapaliwkas
22cf25386a fix the includes 2012-02-10 22:31:00 +02:00
Marco Martin
5e6fc957f2 documentation++ 2012-02-10 19:40:33 +01:00
Giorgos Tsiapaliwkas
cca571f430 Add some TODO and fix the enums 2012-02-10 16:04:57 +02:00
Shaun Reich
9831905309 hack margins so listview doesn't suck 2012-02-09 13:22:13 -05:00
Shaun Reich
423698be18 imrpove doc for that last change 2012-02-09 13:10:23 -05:00
Shaun Reich
c9db516162 add opacity behavior change animationf or highlight component
shoudl work great for listviews purpioses now
2012-02-09 13:08:29 -05:00
Giorgos Tsiapaliwkas
825af7c0ca Add Q_DECLARE_OPERATORS_FOR_FLAGS 2012-02-09 19:27:48 +02:00
Shaun Reich
40b87e0331 use QtQuick 1.1 for the gallery 2012-02-04 20:02:55 -05:00
Shaun Reich
087d053d02 GIT_SILENT: minor spelling doc change 2012-02-04 16:06:02 -05:00
Giorgos Tsiapaliwkas
4bf016c646 Add KCalendar *m_calendar and replace the method's contents
with  "m_calendar->foo();"
2012-02-01 14:02:43 +02:00
Giorgos Tsiapaliwkas
5077d77f8f Fix includes and replace KLocale with Locale in calendarsystem.cpp 2012-02-01 12:24:48 +02:00
Giorgos Tsiapaliwkas
c65b553a11 Replace KLocale with Locale in calendarsystem.h 2012-02-01 12:09:15 +02:00
Giorgos Tsiapaliwkas
0dfe679164 Replace KLocale with Locale in locale.h 2012-02-01 12:08:11 +02:00
Giorgos Tsiapaliwkas
6701ee68c9 Replace KCalendarSystem with CalenderSystem in the calendarsystem.cpp 2012-02-01 11:47:40 +02:00
Giorgos Tsiapaliwkas
2c77d052a3 I renamed the class into CalendarSystem and now the class derives from QObject
also I added the Q_ENUMS
2012-02-01 11:46:04 +02:00
Giorgos Tsiapaliwkas
7269926c13 Add CalendarSystem to the qmlRegisterType<>() 2012-02-01 11:44:48 +02:00
Giorgos Tsiapaliwkas
31cc381819 Add calendar.cpp to the CMakeLists.txt 2012-02-01 11:44:11 +02:00
Giorgos Tsiapaliwkas
78beca5dac 1.Remove @since foo
2.add Q_INVOKABLE void foo();
2012-02-01 11:27:56 +02:00
Giorgos Tsiapaliwkas
d25d372302 A simple copy of KCalendarSystem. I have just removed the deprecated
methods.
2012-01-31 13:28:12 +02:00
Giorgos Tsiapaliwkas
e9db43b00a fix QList<Locale::DigitSet> and remove an unnecessary emit. 2012-01-31 13:09:22 +02:00
Lamarque V. Souza
8fda7bd9da Fix misspelling. 2012-01-29 20:03:25 -02:00
Sebastian Kügler
de659d63e1 logspam-- 2012-01-29 02:18:13 +01:00
Sebastian Kügler
cf9bae7950 Fix reference error 2012-01-28 14:00:58 +01:00
Marco Martin
4fcf00b9eb import the proper stuff 2012-01-27 20:01:58 +01:00
Marco Martin
3fc335fdd9 fix imports 2012-01-27 19:15:55 +01:00
Marco Martin
b9642137f2 fix Dialog installation 2012-01-27 18:53:54 +01:00
Marco Martin
a3ac08ee58 proper import 2012-01-27 18:18:00 +01:00
Aleix Pol
4905917342 Add an accepted signal in the TextField Plasma Component.
REVIEW: 103795
2012-01-27 16:11:08 +01:00
Aaron Seigo
ac344dba18 add missing return statement 2012-01-27 11:08:19 +01:00
Marco Martin
46ba74adb1 Merge branch 'KDE/4.8'
Conflicts:
	kurifilter-plugins/ikws/searchproviders/cpan.desktop
2012-01-26 22:06:22 +01:00
Marco Martin
0dfbaa1525 avoid double pushes 2012-01-26 21:59:20 +01:00
Giorgos Tsiapaliwkas
4829d45f95 1.Fix then enums
2.Place the emit foo() first and then the return foo;
2012-01-24 21:02:33 +02:00
Giorgos Tsiapaliwkas
7b25bb5b34 Remove unnecessary signals and replace KLocale with Locale. 2012-01-24 21:01:46 +02:00
Giorgos Tsiapaliwkas
7f5c24018c remove unnecessary linking from the cmake 2012-01-23 21:45:04 +02:00
Giorgos Tsiapaliwkas
7a5880c6a5 add the locale folder in the cmake 2012-01-23 21:44:28 +02:00
Giorgos Tsiapaliwkas
a7098018c5 Add again Q_DECLARE_FLAGS and fix some typos 2012-01-23 21:43:42 +02:00
Giorgos Tsiapaliwkas
9581c33be2 fix some typos 2012-01-23 21:16:14 +02:00
Giorgos Tsiapaliwkas
64a70e4ae5 Merge branch 'master' into plasma/terietorANDkokeroulis/KLocaleQMLBindings 2012-01-22 10:50:12 +02:00
Giorgos Tsiapaliwkas
311ab5b82b Add a ctor 2012-01-19 22:16:14 +02:00
Giorgos Tsiapaliwkas
f4fc499a41 fix some typos 2012-01-19 22:12:26 +02:00