Re: [Interest] how to use QAction::changed() and doc missing

2013-07-03 Thread Alex Malyushytskyy
Connect changed to your custom slot where you will check if action changed the state, You will need somehow to get pointer to QAction and previous state there. There are multiple ways to do it. For example: You may subclass QAction, add variable which would keep previous enable state , add slot

Re: [Interest] Hiding a shared lib? Linux of course.

2013-07-03 Thread Thiago Macieira
On quarta-feira, 3 de julho de 2013 23.49.56, Guido Seifert wrote: > Great. The libgstmediaplayer lib uses indirectly libproxy. And libproxy uses > a module to load a kde4 lib. And the combination qt5 + kde4 does not seem > to be very stable. Actually not stable at all. Fortunately I can just > del

[Interest] hide shortcuts in menu without disabling them

2013-07-03 Thread Vincent
Hello, I'm adding a series of QAction's to a menu. Shortcuts are associated to each of these QAction's. I would like to hide the shortcuts but at the same time leaving them active. Do you know how to that? If it is not possible by default, is there a possibility to override a Qt method? Thanks

[Interest] how to use QAction::changed() and doc missing

2013-07-03 Thread Vincent
Hello, It seems that QAction::changed() is not documented (if I understand well what does it do) When clicking on the "changed()" links all across the following doc page, we are pointed to the "What is this" property description: http://qt-project.org/doc/qt-5.0/qtwidgets/qaction.html What I w

Re: [Interest] grabGesture on QDeclarativeItem subclass (for QML)

2013-07-03 Thread Mariano Boragno
Hi guys, Sorry for the insistence, but I have got no answer on this and I'm desperately needing for some help (see below). Does anybody have an idea of what I might be doing wrong? Maybe QDeclarativeItem will never catch gestures? Should I subclass QWidget to catch gestures and use QGraphicsProxy

Re: [Interest] Redirect stdout to a file

2013-07-03 Thread Yifei Li
Hi Scott, The following is a minimal example which will reproduce my problem. On my Mac, once I kill the GUI, 'ping' also disappears. #include #include #include #include int main(int argc,char* argv[]) { QApplication myApplication(argc,argv); QMainWindow w; w.show();

Re: [Interest] [Releasing] Qt builds

2013-07-03 Thread Thiago Macieira
On quarta-feira, 3 de julho de 2013 14.11.35, Alexey Pavlov wrote: > Hi! > > I upload my Qt-4.8.5 release builds with QtCreator-2.8.0-rc. I use > mingw-builds toolchain GCC-4.8.1-rev1 dwarf and seh. > > Links: > > 32-bit: > x32-Qt-4.8.5+qtcreator-2.8.0-RC-(gcc-4.8.1-dwarf-rev1).7z

[Interest] Qt builds

2013-07-03 Thread Alexey Pavlov
Hi! I upload my Qt-4.8.5 release builds with QtCreator-2.8.0-rc. I use mingw-builds toolchain GCC-4.8.1-rev1 dwarf and seh. Links: 32-bit: x32-Qt-4.8.5+qtcreator-2.8.0-RC-(gcc-4.8.1-dwarf-rev1).7z