[Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Rui Maciel
Is it possible to add a given QDockWidget object to a QMainWindow as a floater? According to the documentation for the QMainWindow class, the QMainWindow::addDockWidget() member functions use Qt::DockWidgetAreas flags to specify where to add a given dock widget, but there isn't a flag for the

Re: [Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Samuel Gaist
Hi, As silly as it might sound, why don't you just not add the QDockWidget ? By default at construction time, the QDockWidget is a floater. If you want it to be a QMainWindow children, just make the QMainWindow it's parent. Another thing that might be done is using setFloating() from

Re: [Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Rui Maciel
On 07/20/2012 10:31 AM, Samuel Gaist wrote: Hi, As silly as it might sound, why don't you just not add the QDockWidget ? By default at construction time, the QDockWidget is a floater. If you want it to be a QMainWindow children, just make the QMainWindow it's parent. I've tried that, but

Re: [Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Rui Maciel
On 07/20/2012 10:52 AM, Rui Maciel wrote: I've tried that, but that ends up screwing up how the dock widget is rendered. The dock widget is rendered properly when added through addDockWidget(), though. I've attached a couple of screenshots showing how the dock widget is rendered without

Re: [Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Samuel Gaist
On 20 juil. 2012, at 11:52, Rui Maciel wrote: On 07/20/2012 10:31 AM, Samuel Gaist wrote: Hi, As silly as it might sound, why don't you just not add the QDockWidget ? By default at construction time, the QDockWidget is a floater. If you want it to be a QMainWindow children, just make the

[Interest] Two Qt Resource Files (.qrc/.rcc), switch on Windows while runtime Qt5

2012-07-20 Thread Thomas . Gietlhuber-EXT
Hi, is it possible to switch between Resourcesfiles while runtime on windows? I already tried it with dynamic resource loading, with .qrc and .rcc files. But register/unregister does not work. http://qt-project.org/doc/qt-4.8/qresource.html#dynamic-resource-loading I think it is a path

Re: [Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Rui Maciel
On 07/20/2012 11:06 AM, Samuel Gaist wrote: My bad, i've forgotten the implication of widget parenting without a layout in between. Did you also try my second suggestion ? addDockWidget + dockWidget.setFloating(true) Strangely enough, it appears that calling setFloating(true) alone is

Re: [Interest] Two Qt Resource Files (.qrc/.rcc), switch on Windows while runtime Qt5

2012-07-20 Thread Konstantin Tokarev
20.07.2012, 14:32, thomas.gietlhuber-...@continental-corporation.com thomas.gietlhuber-...@continental-corporation.com: Hi, is it possible to switch between Resourcesfiles while runtime on windows? Yes. I already tried it with dynamic resource loading, with .qrc and .rcc files. But

Re: [Interest] User interactions on webpage in Qtwebkit browser!

2012-07-20 Thread Lata Agrawal
Thanks Igor. I worked perfectly. Regards, Lata On 19 July 2012 19:06, Igor Grivko igri...@ics.com wrote: Hi Lata, I can suggest to look at the void QWebView::linkClicked ( const QUrl http://qurl.html *url* ) [signal] This signal is emitted whenever the user clicks on a link and the

[Interest] focus handling in qt

2012-07-20 Thread pritam.ghang...@gmail.com
Hi All, I was looking at qt code to understand how focus management code in qt works in case of keyboard/remote devices. I have some loose ends here. I am hoping someone with more exposure to these areas can help me out. 1. I couldn't figure out how qt is able to move focus between buttons in a

Re: [Interest] focus handling in qt

2012-07-20 Thread Konstantin Tokarev
20.07.2012, 17:23, pritam.ghang...@gmail.com pritam.ghang...@gmail.com: Hi All,I was looking at qt code to understand how focus management code in qt works in case of  keyboard/remote devices. I have some loose ends here. I am hoping someone with more exposure to these areas can help me

[Interest] About fonts in the qt package

2012-07-20 Thread Marc Ferland
Hi, I downloaded qt-everywhere-opensource-src-4.7.4.tar.gz and found out that it comes with a lib/fonts directory. This directory contains a bunch of ttf, pfb and qpf files. Are these files supposed to be installed when automatically when doing a make install? I don't see any option to install

[Interest] Why does Assistant link to debug dll's on windows

2012-07-20 Thread David Boosalis
In the process of packaging Qt's Assistant application on Windows I found that it linked to the debug libs of Qt (Gui,Core,Webkit, Network). For my development I installed Qt onto my Windows computer using the package installer for it. I guess I will have to download the source code for Qt and