[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Some help for recreating the Plasma Tool Box in QML
From:       Mark <markg85 () gmail ! com>
Date:       2011-10-28 20:10:07
Message-ID: CAPd6JnEwtj5xkZuAz-uv-xJgx+5aWPphB-AHFCA1YnDfKgn+8A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Oct 27, 2011 at 2:24 PM, Aaron J. Seigo <aseigo@kde.org> wrote:

> On Thursday, October 27, 2011 14:05:42 Mark wrote:
> > Ah men i hate this.. This is a typical "it's right under your nose" case
> :p
>
> usually only after it's been pointed out is it right under your now; before
> that it may as well be very well hidden behind your back ;)
>
> don't worry, with time you'll get to learn the source tree and where you
> can
> expect to look for different kinds of things. it's just a learning curve,
> though hopefully one we've made as level as possible.
>
> > Thanx for helping :)
>
> np :)
>

Oke, i finally have the darn QML file working in the position where i want
it. Quite irritating since apparently i need to set the base position of
QDeclarativeView in C++ where i'd expect it to be set from XML with just X
and Y position.. Also the line to set some flags doesn't seem to be working
on QDeclerativeView: KWindowSystem::setState(winId(), NET::SkipTaskbar |
NET::SkipPager | NET::Sticky | NET::KeepAbove); ... Or i did something
wrong.

Anyway, i'm gonna try to fill up the QML file with elements so it looks like
the current tool box we all know but for that i need to get some things
working..

1. How do i get the PlasmaCore import working:
http://techbase.kde.org/Development/Tutorials/Plasma/QML/GettingStarted#Plasma_Widgets_in_QML
My
.bashrc looks like this incase it matters: http://codepad.org/qdjcRep0 (copied
from techbase...)
2. Which options are possible for plasmacore backgrounds.. Right now i have
"widgets/frame" but what else is there?
3. Where are the plasma QML files hidden for a button and such and how do i
use them (imports.. same as question 1 only with different files)

And that's about it for now.
Side note. If i get this working then how about we set a goal to at the very
least have this plasma tool box as QML for KDE 4.9 and perhaps even all
panel stuff in QML for KDE 4.9? (yeah, i really start to like QML :p)

[Attachment #5 (text/html)]

<div class="gmail_quote">On Thu, Oct 27, 2011 at 2:24 PM, Aaron J. Seigo <span \
dir="ltr">&lt;<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">

<div class="im">On Thursday, October 27, 2011 14:05:42 Mark wrote:<br>
&gt; Ah men i hate this.. This is a typical &quot;it&#39;s right under your \
nose&quot; case :p<br> <br>
</div>usually only after it&#39;s been pointed out is it right under your now; \
before<br> that it may as well be very well hidden behind your back ;)<br>
<br>
don&#39;t worry, with time you&#39;ll get to learn the source tree and where you \
can<br> expect to look for different kinds of things. it&#39;s just a learning \
curve,<br> though hopefully one we&#39;ve made as level as possible.<br>
<br>
&gt; Thanx for helping :)<br>
<br>
np :)<br>
<div><div></div><div class="h5"></div></div></blockquote></div><br><div>Oke, i \
finally have the darn QML file working in the position where i want it. Quite \
irritating since apparently i need to set the base position of QDeclarativeView in \
C++ where i&#39;d expect it to be set from XML with just X and Y position.. Also the \
line to set some flags doesn&#39;t seem to be working on QDeclerativeView: \
KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::Sticky | \
NET::KeepAbove); ... Or i did something wrong.</div>

<div><br></div><div>Anyway, i&#39;m gonna try to fill up the QML file with elements \
so it looks like the current tool box we all know but for that i need to get some \
things working..</div><div><br></div><div>1. How do i get the PlasmaCore import \
working: <a href="http://techbase.kde.org/Development/Tutorials/Plasma/QML/GettingStar \
ted#Plasma_Widgets_in_QML">http://techbase.kde.org/Development/Tutorials/Plasma/QML/GettingStarted#Plasma_Widgets_in_QML</a> \
My .bashrc looks like this incase it matters: <a \
href="http://codepad.org/qdjcRep0">http://codepad.org/qdjcRep0</a> (copied from \
techbase...)</div>

<div>2. Which options are possible for plasmacore backgrounds.. Right now i have \
&quot;widgets/frame&quot; but what else is there?</div><div>3. Where are the plasma \
QML files hidden for a button and such and how do i use them (imports.. same as \
question 1 only with different files)</div>

<div><br></div><div>And that&#39;s about it for now.</div><div>Side note. If i get \
this working then how about we set a goal to at the very least have this plasma tool \
box as QML for KDE 4.9 and perhaps even all panel stuff in QML for KDE 4.9? (yeah, i \
really start to like QML :p) </div>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic