Re: Next Gen CI Will Be Moving to Production Shortly: Upcoming Changes

2017-05-14 Thread Ben Cooksley
On Sun, May 14, 2017 at 12:53 PM, Lays Rodrigues
 wrote:
> Hi Ben,

Hi Lays,

> We of Atelier, in Extragear, would like to be covered on this next
> generation of CI.

Slight issue here for Atelier - it's in Playground according to our records.
Could we get it through KDE Review and into Extragear please?

> Thanks,
>

Cheers,
Ben

>
> On Fri, May 12, 2017 at 7:57 AM, Ben Cooksley  wrote:
>>
>> Hi all,
>>
>> I've now added the following to the Extragear product as requested:
>>
>> - Skrooge
>> - Simon
>> - KMyMoney & Alkimia
>> - Krusader
>>
>> For Zanshin we have a slight hitch: it's in Playground. It's been
>> around for a while now so can it please transit through KDE Review
>> into Extragear? (More of a policy thing than anything else - we
>> shouldn't be releasing stuff directly from Playground)
>>
>> Thanks,
>> Ben
>
>
>
>
> --
> Lays Rodrigues
> Software Developer at KDE
> Intern at Rede Globo
> Computer Science student at Federal Fluminense University
> laysrodriguesdev.wordpress.com
> Telegram: @lays147
> IRC: lays147
> Phone: +55 22 981520012


Requiem for Pure C++ plasmoid, and QML plugin... again :S

2017-05-14 Thread Maxime. Haselbauer
I want to make a plasmoid that essentially read an xml of bookmark,
displaythem in form of button and execute them once you clikc a button

In Pure c++ it would take me 1 or 2 class maybe


Now with QML I have to


1)Make 1 QMLPlugin in c++

2)Make 1 qml code

3)Make a second QMLPlugin in C++

4)Pass argument from 1) to 2) then back from 2) to 3)

5)Pass information from 2 to 1 to update the Abstract model 



Currently I am stucked at step 3

https://github.com/renn0xtek9/BookMarkWidgets/tree/UsesListOfButton

If anybody understand why the linker does not find the reference to the
Launcher class




Is there a way to make 100.0% pure c++ plasmoid and totally get the rid out
of that Qatastrofic "Modelling" (xD) "Language" (xD^2) ?


Qml/Plasma icon coloring issue

2017-05-14 Thread Jean-Baptiste Mardelle

Hi all,

We are currently porting parts of the Kdenlive UI to Qml, and I have one 
issue with the Breeze icons when used in a Qml scene embedded in a 
QQuickWidget.


We enforce a color theme in our app using:

qApp->setPalette(palette());
QGuiApplication::setPalette(plt);

When used in QWidgets, everything works fine and the icon color 
automatically adjust to the theme, using the text color. However, icons 
used in Qml do not adjust their color WHEN the system icon theme is 
different than Breeze. I tried several options, described below but was 
unable to get the expected behavior: breeze icon following the 
application color theme. Did anyone encounter this problem ? is it a 
limitation of the icon coloring feature ? Any idea how I could solve the 
problem ?


What I tried:

Forcing the app icons using QIcon::setTheme('breeze') or the 
icontheme.rcc file in $appdata gave the same results:


1 - Using plain Qml, ToolButton {iconName:'arrow-down'}: the icon 
remains black no matter what color theme is used for the application


2 - Using PlasmaCore.IconItem : The icon changes color when changing the 
global desktop color theme, but not when changing the application color 
theme with setPalette()


3 -  Using QIconItem, sameresults as QML's ToolButton icon

As I said, this behavior only happens if the Desktop icon theme is 
different than Breeze. If you use Breeze as icon theme, everything works 
fine.


Any help appreciated, thanks.


Jean-Baptiste Mardelle



Re: Requiem for Pure C++ plasmoid, and QML plugin... again :S

2017-05-14 Thread Harald Sitter
You may wish to note that plasma-devel is a more on-point mailing list
for plasma widget questions. Also, you can model xml using qml
exclusively [0]. Should you opt not to, what you need to do is write
one plugin, not two. If you want to go the custom plugin route have a
look at [1] for example. Cleaning up your cmake files likely would
help you find why you are having linker errors.

Also, from a quick glance, it appears that you want to launch URLs for
which there is also a builtin [2], you really need no launcher class.

[0] http://doc.qt.io/qt-5/qml-qtquick-xmllistmodel-xmllistmodel.html
[1] https://cgit.kde.org/plasma-packagekit.git/tree/
[2] http://doc.qt.io/qt-5/qml-qtqml-qt.html#openUrlExternally-method

On Sun, May 14, 2017 at 7:49 PM, Maxime. Haselbauer
 wrote:
> I want to make a plasmoid that essentially read an xml of bookmark,
> displaythem in form of button and execute them once you clikc a button
>
> In Pure c++ it would take me 1 or 2 class maybe
>
>
> Now with QML I have to
>
>
> 1)Make 1 QMLPlugin in c++
>
> 2)Make 1 qml code
>
> 3)Make a second QMLPlugin in C++
>
> 4)Pass argument from 1) to 2) then back from 2) to 3)
>
> 5)Pass information from 2 to 1 to update the Abstract model 
>
>
>
> Currently I am stucked at step 3
>
> https://github.com/renn0xtek9/BookMarkWidgets/tree/UsesListOfButton
>
> If anybody understand why the linker does not find the reference to the
> Launcher class
>
>
>
>
> Is there a way to make 100.0% pure c++ plasmoid and totally get the rid out
> of that Qatastrofic "Modelling" (xD) "Language" (xD^2) ?
>
>