Re: [Qt-creator] Alternative / secondary keyboard shortcuts

2016-06-23 Thread Eike Ziller

> On Jun 23, 2016, at 13:27, Juan Navarro  wrote:
> 
> Hi,
> 
> All my coworkers use the default keyboard shortcut for the 
> "UnCommentSelection" (Toggle Comment Selection) command, which is "Ctrl+/". 
> However, I'm used to do this same operation with Ctrl+D, which is easier and 
> can be done with just one hand.
> 
> Sometimes we do pair programming where either of us has the keyboard, and its 
> very annoying for each one of us to find out that this keyboard shortcut is 
> set up the other way around.
> 
> I tried to find out whether it is possible to define alternative or secondary 
> keyboard shortcuts, which seems to be common in several other tools that I've 
> used in the past. However Qt Creator doesn't have an obvious way to do this.
> 
> If it's not possible at all, then I'd like to submit a feature request, but 
> before its better to ask here.

https://bugreports.qt.io/browse/QTCREATORBUG-72

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.zil...@qt.io
+123 45 6789012
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Autocompletion of 0.0 to 0->0 in QtCreator 4.x series

2016-06-23 Thread David Schulz
4.0.2 is already released... So it might end up in a 4.0.3 or in 4.1.0 
at the latest.


Greetings
David
On 23-Jun-16 16:58, Nikolai Kosjar wrote:

On 06/22/2016 05:46 PM, Mike Jackson wrote:

At what point is the bug that autocompletes 0.0 to 0->0 going to be
fixed? Just curious?


The following fixes might end up in a 4.0.2 release, if such a release 
is going to happen:


https://codereview.qt-project.org/#/c/163364/
https://codereview.qt-project.org/#/c/163404/

Nikolai

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Alternative / secondary keyboard shortcuts

2016-06-23 Thread Ariel Molina
I got the same issue.

On Thu, Jun 23, 2016 at 6:27 AM, Juan Navarro  wrote:

> Hi,
>
> All my coworkers use the default keyboard shortcut for the
> "UnCommentSelection" (Toggle Comment Selection) command, which is "Ctrl+/".
> However, I'm used to do this same operation with Ctrl+D, which is easier
> and can be done with just one hand.
>
> Sometimes we do pair programming where either of us has the keyboard, and
> its very annoying for each one of us to find out that this keyboard
> shortcut is set up the other way around.
>
> I tried to find out whether it is possible to define alternative or
> secondary keyboard shortcuts, which seems to be common in several other
> tools that I've used in the past. However Qt Creator doesn't have an
> obvious way to do this.
>
> If it's not possible at all, then I'd like to submit a feature request,
> but before its better to ask here.
>
> Regards,
> Juan
>
> ___
> Qt-creator mailing list
> Qt-creator@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
>


-- 
Ariel Molina R.

Oficina: +52 (222) 3723196
Movil: +521 2226 758874
http://edis.mx
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Autocompletion of 0.0 to 0->0 in QtCreator 4.x series

2016-06-23 Thread Nikolai Kosjar

On 06/23/2016 10:36 AM, Eike Ziller wrote:

On Jun 22, 2016, at 20:05, Murphy, Sean  wrote:


At what point is the bug that autocompletes 0.0 to 0->0 going to be
fixed? Just curious? Those of us writing scientific codes where we
initialize our floats/doubles to actual values are really effected by
this bug.


What version(s) are you seeing this in? I'm using Qt Creator 4.0.0,
based on 5.6.0 on Windows and I don't see the behavior you're describing.
If I type "0." the period stays a period, and then I can type the next 0 and
still get "0.0".

Sean


4.0.1, 4.0.2, 4.0.3 all nightlies from download.qt.io. Running on OS X
10.10.4 with the latest Xcode for that OS.

Maybe it is how I have a settings configured?


Maybe? I just switched over to OS X, downloaded the official Qt 5.7.0 with
Qt 4.0.2, opened an existing project I had, and typed "0." and it was NOT
autocorrected to "0->". Is there another step you're doing that I'm missing?

I also tried with a new project (Qt Widget Application) with the same result.

OS X version 10.11.5, Xcode 7.3.1 if that helps.


I think this only happens with the Clang code model, so you’d need to turn that on 
(About Plugins… > ClangCodeModel) to see the issue.


Correct :)

Nikolai

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Autocompletion of 0.0 to 0->0 in QtCreator 4.x series

2016-06-23 Thread Nikolai Kosjar

On 06/22/2016 05:46 PM, Mike Jackson wrote:

At what point is the bug that autocompletes 0.0 to 0->0 going to be
fixed? Just curious?


The following fixes might end up in a 4.0.2 release, if such a release 
is going to happen:


https://codereview.qt-project.org/#/c/163364/
https://codereview.qt-project.org/#/c/163404/

Nikolai

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Autocompletion of 0.0 to 0->0 in QtCreator 4.x series

2016-06-23 Thread Murphy, Sean
>  At what point is the bug that autocompletes 0.0 to 0->0 going to be
>  fixed? Just curious? Those of us writing scientific codes where we
>  initialize our floats/doubles to actual values are really effected by
>  this bug.
> >>>
> >>> What version(s) are you seeing this in? I'm using Qt Creator 4.0.0,
> >>> based on 5.6.0 on Windows and I don't see the behavior you're
> describing.
> >>> If I type "0." the period stays a period, and then I can type the next 0 
> >>> and
> >>> still get "0.0".
> >>>
> >>> Sean
> >>
> >> 4.0.1, 4.0.2, 4.0.3 all nightlies from download.qt.io. Running on OS X
> >> 10.10.4 with the latest Xcode for that OS.
> >>
> >> Maybe it is how I have a settings configured?
> >
> > Maybe? I just switched over to OS X, downloaded the official Qt 5.7.0 with
> > Qt 4.0.2, opened an existing project I had, and typed "0." and it was NOT
> > autocorrected to "0->". Is there another step you're doing that I'm missing?
> >
> > I also tried with a new project (Qt Widget Application) with the same 
> > result.
> >
> > OS X version 10.11.5, Xcode 7.3.1 if that helps.
> 
> I think this only happens with the Clang code model, so you’d need to turn
> that on (About Plugins… > ClangCodeModel) to see the issue.

Ahh, yep you're correct. Once I enabled the clang code model I see the issue
that Mike was describing.

Sean
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


[Qt-creator] Alternative / secondary keyboard shortcuts

2016-06-23 Thread Juan Navarro
Hi,

All my coworkers use the default keyboard shortcut for the
"UnCommentSelection" (Toggle Comment Selection) command, which is "Ctrl+/".
However, I'm used to do this same operation with Ctrl+D, which is easier
and can be done with just one hand.

Sometimes we do pair programming where either of us has the keyboard, and
its very annoying for each one of us to find out that this keyboard
shortcut is set up the other way around.

I tried to find out whether it is possible to define alternative or
secondary keyboard shortcuts, which seems to be common in several other
tools that I've used in the past. However Qt Creator doesn't have an
obvious way to do this.

If it's not possible at all, then I'd like to submit a feature request, but
before its better to ask here.

Regards,
Juan
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] [Development] [OS X] Dock icon progress widget

2016-06-23 Thread Mike Krus

> On 22 Jun 2016, at 11:17, Kevin Funk  wrote:
> A platform agnostic wrapper for all this would be indeed great to have!
If QtWinExtra has it, QtMacExtra can have it, and it’s doable on Linux, why not 
add
static methods on QProgressBar?


Mike

--
Mike Krus | mike.k...@kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel: UK +44-1625-809908   Mobile: +44 7833 491941
KDAB - The Qt Experts

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Etiquette for getting code reviews, and who to ask

2016-06-23 Thread Tobias Hunger
On Do, 2016-06-23 at 17:57 +1000, Marc Reilly wrote:
> Hi All,
> 
> How do I find/determine who is best/able to review code, and is it
> considered impolite to just add people as reviewers?
> 
> I have a series which is similar to another which one which was previously
> accepted, so I would start will those people, but it seems kinda rude to
> just add everyone en-masse.
> 
> Anyway, if anyone is interested, I've implemented a hover handler which
> will preview images from .qrc files when mouse hovers over a
> "qrc:/file/image.png" bit of text. At the moment it is just for cpp files..
> 
> The series is 4 commits, and starts with:
> https://codereview.qt-project.org/#/c/158305/

Hi Marc,

it is perfectly fine to add people as reviewers, in fact your review request
will probably fall through the cracks without assigning some reviewers.

How to find potential reviewers?

A good place to start is https://wiki.qt.io/Maintainers : Maintainers
volunteered for code reviews by accepting the maintainer role:-)

Git blame is also a good start: The person that shows up the most or that last
worked on the code you are changing is most likely also knowledgeable about what
it does, so they make great reviewers, too.

Usually it does not hurt to have at least one @theqtcompany.com or @qt.io email
in the list of reviewers: We do have more time to spend on Qt Creator than most
contributors (not all of them, some seem to put in more work hours per week than
I do!), so we usually have more time for code reviews, too.

I hope this helps a bit,
Tobias

-- 
Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho. Sitz der
Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Autocompletion of 0.0 to 0->0 in QtCreator 4.x series

2016-06-23 Thread Eike Ziller

> On Jun 22, 2016, at 20:05, Murphy, Sean  wrote:
> 
 At what point is the bug that autocompletes 0.0 to 0->0 going to be
 fixed? Just curious? Those of us writing scientific codes where we
 initialize our floats/doubles to actual values are really effected by
 this bug.
>>> 
>>> What version(s) are you seeing this in? I'm using Qt Creator 4.0.0,
>>> based on 5.6.0 on Windows and I don't see the behavior you're describing.
>>> If I type "0." the period stays a period, and then I can type the next 0 and
>>> still get "0.0".
>>> 
>>> Sean
>> 
>> 4.0.1, 4.0.2, 4.0.3 all nightlies from download.qt.io. Running on OS X
>> 10.10.4 with the latest Xcode for that OS.
>> 
>> Maybe it is how I have a settings configured?
> 
> Maybe? I just switched over to OS X, downloaded the official Qt 5.7.0 with 
> Qt 4.0.2, opened an existing project I had, and typed "0." and it was NOT
> autocorrected to "0->". Is there another step you're doing that I'm missing?
> 
> I also tried with a new project (Qt Widget Application) with the same result.
> 
> OS X version 10.11.5, Xcode 7.3.1 if that helps.

I think this only happens with the Clang code model, so you’d need to turn that 
on (About Plugins… > ClangCodeModel) to see the issue.

Br, Eike

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.zil...@qt.io
+123 45 6789012
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Etiquette for getting code reviews, and who to ask

2016-06-23 Thread André Hartmann

Hi Marc,

either you already know who is responsible for a module or you just do 
the simple way:


Do a git blame on the files you changed and see who worked most or 
recently on it. That's the way I do if I submit a patch and I think most 
other do it the same way.


Best regards,
André

Am 23.06.2016 um 09:57 schrieb Marc Reilly:

Hi All,

How do I find/determine who is best/able to review code, and is it
considered impolite to just add people as reviewers?

I have a series which is similar to another which one which was
previously accepted, so I would start will those people, but it seems
kinda rude to just add everyone en-masse.

Anyway, if anyone is interested, I've implemented a hover handler which
will preview images from .qrc files when mouse hovers over a
"qrc:/file/image.png" bit of text. At the moment it is just for cpp files..

The series is 4 commits, and starts with:
https://codereview.qt-project.org/#/c/158305/

Cheers,
Marc

(FWIW, i'm happy for anyone to add me as a reviewer)


___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator



___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


[Qt-creator] Etiquette for getting code reviews, and who to ask

2016-06-23 Thread Marc Reilly
Hi All,

How do I find/determine who is best/able to review code, and is it
considered impolite to just add people as reviewers?

I have a series which is similar to another which one which was previously
accepted, so I would start will those people, but it seems kinda rude to
just add everyone en-masse.

Anyway, if anyone is interested, I've implemented a hover handler which
will preview images from .qrc files when mouse hovers over a
"qrc:/file/image.png" bit of text. At the moment it is just for cpp files..

The series is 4 commits, and starts with:
https://codereview.qt-project.org/#/c/158305/

Cheers,
Marc

(FWIW, i'm happy for anyone to add me as a reviewer)
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator