Re: [Interest] Signal, Slots Argument type.

2013-11-03 Thread André Somers
Op 4-11-2013 8:26, Ramesh Nelakuditi schreef: Dear All, Does Qt Signal & Slots mechanism supports arguments other than BASIC Types ? Yes, you can pass your own types through the signal/slot mechamism. If you also need the capability to use queued connections with them, you'll need to regis

[Interest] Signal, Slots Argument type.

2013-11-03 Thread Ramesh Nelakuditi
Dear All, Does Qt Signal & Slots mechanism supports arguments other than BASIC Types ? I want to pass class members , Is it possible ? Thanks, Ramesh. DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s

Re: [Interest] QMake: customize MSVC linker options

2013-11-03 Thread André Hartmann
Partly answering my own question. Following lines in the pro file did the trick: CONFIG -= embed_manifest_exe QMAKE_LFLAGS_EXE = > Hi all, > > I'm using the MS Visual C++ 10 Compiler under Windows 7 64 bit. > > I'd like to build simple C console applications with qmake istead of > writing own

Re: [Interest] About event filter on QApplication

2013-11-03 Thread Bo Thorsen
You miss Thiagos point. It doesn't make any sense to try and document behaviour for something you shouldn't do. Imagine the size of the docs, if they should say "if you write this broken code, here's what will happen. If you write this...". Your code is broken so there is no interest in finding

Re: [Interest] About event filter on QApplication

2013-11-03 Thread 程梁
Thank you, Thiago! Yeah, I know return true is not clever. This is a demo code in my Qt text. Someone commented me the differences between Qt4 and Qt5 if return true. I guess the same reason as you mentioned in last mail. This might because the different processes between the two versions which

Re: [Interest] Run Console and windows screen

2013-11-03 Thread Daniel Mota
Guys... I appreciate a lot all suggestion and help ministered! The solution was kind of trivial, but not for a starter as me! But I think knowledge is a growing process, and mutual help, so, maybe some was interested in the solution. To reach what I wanted was just necessary to include in the co

Re: [Interest] Pointers as Q_PPOPERTY

2013-11-03 Thread Sandro Andrade
On Sat, Nov 2, 2013 at 5:31 PM, Sandro Andrade wrote: > On Mon, Oct 28, 2013 at 8:13 AM, Stephen Kelly wrote: >> On Monday, October 07, 2013 09:55:53 Sandro Andrade wrote: >>> On Wed, Oct 2, 2013 at 11:18 AM, Stephen Kelly >> wrote: >>> > On Wednesday, October 02, 2013 19:02:54 Дмитрий Козлов wr

Re: [Interest] About event filter on QApplication

2013-11-03 Thread Thiago Macieira
On domingo, 3 de novembro de 2013 15:21:09, 程梁 wrote: > As you could see, I installed a global event filter on QApplication. Note > that I have returned true in the filter which means all events should stop > processing. In Qt4, the output ("QApplication::eventFilter") will still > there but with Q

[Interest] About event filter on QApplication

2013-11-03 Thread 程梁
Hi, there! I found a problem when I test some apps porting from Qt4 to Qt5. The code is about event filter on QApplication. Code as following: class EventFilter : public QObject { public: EventFilter(QObject *watched, QObject *parent = 0) : QObject(parent), m_watched(watched)