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