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

List:       kde-panel-devel
Subject:    Re: Plasmate status
From:       Shantanu Tushar Jha <jhahoneyk () gmail ! com>
Date:       2009-07-20 14:45:17
Message-ID: ec556b640907200733m2c63259cy1527463ff53df994 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Mon, Jul 20, 2009 at 7:29 PM, Yuen Hoe Lim <yuenhoe86@gmail.com> wrote:

> Yep, it doesn't seem to accept regular expressions - but a string
> containing every permitted character..
> 
> 
> http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKRestrictedLine.html#f30d883fc60f67be39e8ffa039842cd6
>  
> I've tried, and it actually does allow me to type every character in
> the expression (like '[' and '$') =/ It doesn't seem like a pretty
> thing to do 'qwertyQWERTY012345etcetc' so maybe we could try a regular
> KLineEdit and do some form of validation?


For that we've to find out what characters make a valid project name (if
there is a restriction as such, say, on name of a Plasmoid).
Help wanted from others. Guys?

Also, It'd be very nice If you're logged on #plasma whenever you're online
as it helps a lot in discussion. (I have many times tried to catch you
online, but in vain ;)


> 
> On 7/20/09, Shantanu Tushar Jha <jhahoneyk@gmail.com> wrote:
> > On Tue, Jul 14, 2009 at 9:43 AM, Yuen Hoe Lim <yuenhoe86@gmail.com>
> wrote:
> > 
> > > Hi guys,
> > > 
> > > On the previewer end we're more or less done function-wise, as far as
> > > I can tell :) Since previous update, I've added support for loading
> > > plasmoids by path (so you don't need to install them beforehand), as
> > > well as modified the tool menus so that it uses a KMenu instead of the
> > > current overlay when the previewer is too small. The rest should just
> > > be aesthetic improvements... or am I missing something?
> > > 
> > > I'm presently trying to find out why we can't type anything into the
> > > textfield that appears when we try to create a new project, but not
> > > having much luck since I'm clueless with gui designer ui's =(
> > > 
> > 
> > As I found out, its a problem with the validChars property in the
> > projectName widget in startpage.ui which is of type KRestrictedLine. It
> > seems it doesn't accept regular expressions ( I tried [a-z] but it only
> > accepted 'a' when I typed). Currently validChars is set to ^[\\w-\\.]+$ .
> > 
> > We could put qwertyuiopasdfghjklzxcvbnm there, but I think there should
> be a
> > better way. Any ideas?
> > 
> > (I've also CCed this mail to the author of KRestrictedLine widget).
> > 
> > 
> > > I agree that a directory tree on the sidebar would be more useful by
> > > the way, that's what I always envisioned before :P How bout having the
> > > current sidebar items as smaller, overhead buttons instead? I don't
> > > think we need that much real-estate for just buttons :P
> > > 
> > > On 7/14/09, Diego Casella ([Po]lentino) <polentino911@gmail.com> wrote:
> > > > Hi guys,
> > > > other two weeks are gone, so it's time  to sinc() with each other
> about
> > > > PlasMate status, IIRC =)
> > > > Now the TimeLine loads all the commits within the current branch, and
> > > also
> > > > all the commits that lead
> > > > to that branch ( I'm thinking to make  that feature selectable by
> user,
> > > to
> > > > decrease the widget length ).
> > > > For each item, a tooltip shows the author who made the commit, the
> date
> > > and
> > > > the stored message.
> > > > In the top of the list is located the current working state of the
> > > project,
> > > > marked as "Not Saved".
> > > > The lower item holds the working branch, and its tooltip shows the
> other
> > > > available branches.
> > > > I also modified the GitRunner class, because the previous
> implementation
> > > > caused the app to not close.
> > > > Now I'm working on handling properly signals and slots, so we can have
> > > > an
> > > > almost working timeline
> > > > within this week !
> > > > By the way, do we *really* need the sidebar ? Each item can be found
> in
> > > the
> > > > final release of plasmate
> > > > under the menubar, so I was wondering if we can replace it with
> > > > something
> > > > more useful like a directory tree list ...
> > > > Let me know about this, and also your ideas; lets make PlasMate rocks
> =)
> > > > 
> > > > Cheers !!
> > > > 
> > > 
> > > 
> > > --
> > > ----
> > > Jason "moofang" Lim Yuen Hoe
> > > http://yuenhoe.co.cc/
> > > _______________________________________________
> > > Plasma-devel mailing list
> > > Plasma-devel@kde.org
> > > https://mail.kde.org/mailman/listinfo/plasma-devel
> > > 
> > 
> > 
> > 
> > --
> > Shantanu Tushar    (UTC +0530)
> > http://www.shantanutushar.com
> > 
> 
> 
> --
> ----
> Jason "moofang" Lim Yuen Hoe
> http://yuenhoe.co.cc/
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
> 



-- 
Shantanu Tushar    (UTC +0530)
http://www.shantanutushar.com


[Attachment #5 (text/html)]

<br><br><div class="gmail_quote">On Mon, Jul 20, 2009 at 7:29 PM, Yuen Hoe Lim <span \
dir="ltr">&lt;<a href="mailto:yuenhoe86@gmail.com">yuenhoe86@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Yep, it doesn&#39;t seem to \
accept regular expressions - but a string<br> containing every permitted \
character..<br> <br>
<a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKRestrictedLine.html#f30d883fc60f67be39e8ffa039842cd6" \
target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKRestrictedLine.html#f30d883fc60f67be39e8ffa039842cd6</a><br>


<br>
I&#39;ve tried, and it actually does allow me to type every character in<br>
the expression (like &#39;[&#39; and &#39;$&#39;) =/ It doesn&#39;t seem like a \
pretty<br> thing to do &#39;qwertyQWERTY012345etcetc&#39; so maybe we could try a \
regular<br> KLineEdit and do some form of validation?</blockquote><div><br>For that \
we&#39;ve to find out what characters make a valid project name (if there is a \
restriction as such, say, on name of a Plasmoid).<br>Help wanted from others. \
Guys?<br> <br>Also, It&#39;d be very nice If you&#39;re logged on #plasma whenever \
you&#39;re online as it helps a lot in discussion. (I have many times tried to catch \
you online, but in vain ;) <br><br></div><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> <br>
<div><div></div><div class="h5"><br>
On 7/20/09, Shantanu Tushar Jha &lt;<a \
href="mailto:jhahoneyk@gmail.com">jhahoneyk@gmail.com</a>&gt; wrote:<br> &gt; On Tue, \
Jul 14, 2009 at 9:43 AM, Yuen Hoe Lim &lt;<a \
href="mailto:yuenhoe86@gmail.com">yuenhoe86@gmail.com</a>&gt; wrote:<br> &gt;<br>
&gt;&gt; Hi guys,<br>
&gt;&gt;<br>
&gt;&gt; On the previewer end we&#39;re more or less done function-wise, as far \
as<br> &gt;&gt; I can tell :) Since previous update, I&#39;ve added support for \
loading<br> &gt;&gt; plasmoids by path (so you don&#39;t need to install them \
beforehand), as<br> &gt;&gt; well as modified the tool menus so that it uses a KMenu \
instead of the<br> &gt;&gt; current overlay when the previewer is too small. The rest \
should just<br> &gt;&gt; be aesthetic improvements... or am I missing something?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m presently trying to find out why we can&#39;t type anything into \
the<br> &gt;&gt; textfield that appears when we try to create a new project, but \
not<br> &gt;&gt; having much luck since I&#39;m clueless with gui designer ui&#39;s \
=(<br> &gt;&gt;<br>
&gt;<br>
&gt; As I found out, its a problem with the validChars property in the<br>
&gt; projectName widget in startpage.ui which is of type KRestrictedLine. It<br>
&gt; seems it doesn&#39;t accept regular expressions ( I tried [a-z] but it only<br>
&gt; accepted &#39;a&#39; when I typed). Currently validChars is set to ^[\\w-\\.]+$ \
.<br> &gt;<br>
&gt; We could put qwertyuiopasdfghjklzxcvbnm there, but I think there should be a<br>
&gt; better way. Any ideas?<br>
&gt;<br>
&gt; (I&#39;ve also CCed this mail to the author of KRestrictedLine widget).<br>
&gt;<br>
&gt;<br>
&gt;&gt; I agree that a directory tree on the sidebar would be more useful by<br>
&gt;&gt; the way, that&#39;s what I always envisioned before :P How bout having \
the<br> &gt;&gt; current sidebar items as smaller, overhead buttons instead? I \
don&#39;t<br> &gt;&gt; think we need that much real-estate for just buttons :P<br>
&gt;&gt;<br>
&gt;&gt; On 7/14/09, Diego Casella ([Po]lentino) &lt;<a \
href="mailto:polentino911@gmail.com">polentino911@gmail.com</a>&gt; wrote:<br> \
&gt;&gt; &gt; Hi guys,<br> &gt;&gt; &gt; other two weeks are gone, so it&#39;s time  \
to sinc() with each other about<br> &gt;&gt; &gt; PlasMate status, IIRC =)<br>
&gt;&gt; &gt; Now the TimeLine loads all the commits within the current branch, \
and<br> &gt;&gt; also<br>
&gt;&gt; &gt; all the commits that lead<br>
&gt;&gt; &gt; to that branch ( I&#39;m thinking to make  that feature selectable by \
user,<br> &gt;&gt; to<br>
&gt;&gt; &gt; decrease the widget length ).<br>
&gt;&gt; &gt; For each item, a tooltip shows the author who made the commit, the \
date<br> &gt;&gt; and<br>
&gt;&gt; &gt; the stored message.<br>
&gt;&gt; &gt; In the top of the list is located the current working state of the<br>
&gt;&gt; project,<br>
&gt;&gt; &gt; marked as &quot;Not Saved&quot;.<br>
&gt;&gt; &gt; The lower item holds the working branch, and its tooltip shows the \
other<br> &gt;&gt; &gt; available branches.<br>
&gt;&gt; &gt; I also modified the GitRunner class, because the previous \
implementation<br> &gt;&gt; &gt; caused the app to not close.<br>
&gt;&gt; &gt; Now I&#39;m working on handling properly signals and slots, so we can \
have<br> &gt;&gt; &gt; an<br>
&gt;&gt; &gt; almost working timeline<br>
&gt;&gt; &gt; within this week !<br>
&gt;&gt; &gt; By the way, do we *really* need the sidebar ? Each item can be found \
in<br> &gt;&gt; the<br>
&gt;&gt; &gt; final release of plasmate<br>
&gt;&gt; &gt; under the menubar, so I was wondering if we can replace it with<br>
&gt;&gt; &gt; something<br>
&gt;&gt; &gt; more useful like a directory tree list ...<br>
&gt;&gt; &gt; Let me know about this, and also your ideas; lets make PlasMate rocks \
=)<br> &gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers !!<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; ----<br>
&gt;&gt; Jason &quot;moofang&quot; Lim Yuen Hoe<br>
&gt;&gt; <a href="http://yuenhoe.co.cc/" \
target="_blank">http://yuenhoe.co.cc/</a><br> &gt;&gt; \
_______________________________________________<br> &gt;&gt; Plasma-devel mailing \
list<br> &gt;&gt; <a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
&gt;&gt; <a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
&gt;&gt;<br> &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Shantanu Tushar    (UTC +0530)<br>
&gt; <a href="http://www.shantanutushar.com" \
target="_blank">http://www.shantanutushar.com</a><br> &gt;<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">----<br>
Jason &quot;moofang&quot; Lim Yuen Hoe<br>
<a href="http://yuenhoe.co.cc/" target="_blank">http://yuenhoe.co.cc/</a><br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Shantanu Tushar    (UTC \
+0530)<br><a href="http://www.shantanutushar.com">http://www.shantanutushar.com</a><br>




_______________________________________________
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