[Interest] Direct-lookup translation, even for English (was Re: get english translation)

2014-09-02 Thread Rutledge Shawn
On 1 Sep 2014, at 8:32 PM, Thiago Macieira wrote: On Monday 01 September 2014 12:50:23 Graham Labdon wrote: Hi My application is internationalized, however, in some circumstances I need the English version of the string no matter what translator is being used. Anyone have any suggestions on

Re: [Interest] Direct-lookup translation, even for English (was Re: get english translation)

2014-09-02 Thread Rainer Wiesenfarth
From: Rutledge Shawn Some projects like to use programmer shorthand for strings and then leave the final text up to a different team. [...] Well, you are able to do this with the Qt approach, too. [...] They wanted to have all the strings for all the languages inside the binary. [...] What

Re: [Interest] get english translation

2014-09-02 Thread André Somers
Graham Labdon schreef op 1-9-2014 14:50: Hi My application is internationalized, however, in some circumstances I need the English version of the string no matter what translator is being used. Anyone have any suggestions on how to achieve this? Thanks

[Interest] Styled tabs

2014-09-02 Thread Graham Labdon
Hi I have a style sheet for QTabWidget and QTabBar that looks ok except that I cannot figure out how to make the tab width dependant on the text that it is displaying. Currently I have this as a fixed value but when I add a new tab with a wider label I have to adjust the style sheet. Is there a

Re: [Interest] How to define something for all sub-projects?

2014-09-02 Thread Thiago Macieira
On Tuesday 02 September 2014 07:20:36 Bo Thorsen wrote: Den 01-09-2014 17:42, Igor Mironchik skrev: Hi, how to define macro in “parent” .pro file that it will take effect for all sub-projects? DEFINES += SOME_MACRO in “parent” .pro file does not take effect for sub-projects... You

Re: [Interest] Question about using QtDBus

2014-09-02 Thread Rogers Nate
On 08/28/2014 04:39 PM, Thiago Macieira wrote: On Thursday 28 August 2014 20:16:56 Rogers Nate wrote: !DOCTYPE node PUBLIC -//freedesktop//DTD D-BUS Object Introspection 1.0//EN

Re: [Interest] Question about using QtDBus

2014-09-02 Thread Thiago Macieira
On Tuesday 02 September 2014 17:31:28 Rogers Nate wrote: If you're using code generation with gdbusxml2cpp, you'll need to pass the -i ServiceData.h option to the generator so it will add the #include. I am using qmake, I usually use... qdbuscpp2xml -A ServiceData.h -o ServiceData.xml

Re: [Interest] Question about using QtDBus

2014-09-02 Thread Rogers Nate
On 09/02/2014 02:48 PM, Thiago Macieira wrote: On Tuesday 02 September 2014 17:31:28 Rogers Nate wrote: If you're using code generation with gdbusxml2cpp, you'll need to pass the -i ServiceData.h option to the generator so it will add the #include. I am using qmake, I usually use...

Re: [Interest] Question about using QtDBus

2014-09-02 Thread Thiago Macieira
On Tuesday 02 September 2014 18:53:59 Rogers Nate wrote: That option doesn't seem to be available to me, or am I not calling it correctly? I tried a few different ways... nrogers@nrogers-Precision-T1500:/media/nrogers/data/dev/projects/dbustest/Da taProcess$ qdbuscpp2xml -A -i ServiceData.h

Re: [Interest] Question about using QtDBus

2014-09-02 Thread Rogers Nate
On 09/02/2014 03:00 PM, Thiago Macieira wrote: On Tuesday 02 September 2014 18:53:59 Rogers Nate wrote: That option doesn't seem to be available to me, or am I not calling it correctly? I tried a few different ways...

Re: [Interest] Question about using QtDBus

2014-09-02 Thread Thiago Macieira
On Tuesday 02 September 2014 20:05:04 Rogers Nate wrote: I used qdbuscpp2xml to generate new adapter and interface files but I am still getting the same error... As I said, you can't use cpp2xml on a class where there's a signal or slot containing a parameter that isn't one of the basic Qt