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

List:       kdevelop-devel
Subject:    Re: Changing the format of displayed value in debugger
From:       Niko Sams <niko.sams () gmail ! com>
Date:       2010-07-20 5:45:21
Message-ID: AANLkTinSuF89XSwFTCLYGtX2_vXPwXit-CpXX72pQKy0 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Jul 19, 2010 at 21:43, Konstantin Karganov <karganov@gmail.com> wrote:
>> - Variable::slotSetFormat() looks hackish - does that play well with
>> translations?
>
> yes, sorry, I didn't thought of that, object name is not meant to be
> localized while the action text is, I'll fix that.
don't use sender() at all in an public slot.
QSignalMapper might help you.

>> - not every debugger supports this feature, there must be a way to disable
>> or
>>  manually convert the values
>
> another debugger shall introduce it's own variable class with custom
> setFormat() implementation
> and, for additional control there can be something like virtual bool
> Variable::supportsSetFormat() to query when displaying the menu. Do you
> think this needs to be done?..
Yes, supportedFormats() would be even better.

>
>>
>> and please push your changes to gitorious, that makes it much easier
>> for us to review.
>> (create a personal clone)
>
> I've just done as kdevelop.org says to do :)
> I have cloned the git repo from gitorious, can I just push my commits up or
> I'll need to register on gitorious first?..
You need to register and create your own personal clone - where you
have permissions
to push. Then you can create a merge request.

Niko

-- 
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

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

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