Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 9

Qt-interest Archive, March 2002
raising QWidgets in a QWorkspace?


Message 1 in thread

Hello,
I have several classes that inherit from QWidget that I'm placing in a
QWorkspace. Sometimes some of them get buried under others, and I'd like to
raise them to the top of the workspace. I tried calling raise() on the
objects, with no effect. The only solution I've come up with so far is to
hide() then show() them, but if they're already visible, this causes a
flicker of the widget that I'd like to avoid. Any suggestions/solutions?

Carl Anderson


Message 2 in thread

Hey,

I do most of my development in Windows and then port to Linux, and I'm
running into a problem when compiling Qt 3.0.3 with the OpenGL examples. I'm
running Mandrake 7.1 and I have installed Mesa, and the Mesa development
packages. I'm getting an error when trying to build the OpenGL examples
something like: "Some packages (OpenGL) are not available". I think its
probably just a path or something simple, but I don't know how to fix it.
Everything else seems to be compiling just fine.

Thanks,

Craig


Message 3 in thread

Hi.

I have had troubles similar to this, but cannot remember
*exactly* what was the problem for me, but here are
a few suggestions:

I think this has something to do with either you not having
the license to the OpenGL module, or that your Qt is not
configured with OpenGL, or that you in your .pro file
have not specified that the OpenGL module is required.

Erlend

> -----Original Message-----
> From: owner-qt-interest@trolltech.com
> [mailto:owner-qt-interest@trolltech.com]On Behalf Of Craig Black
> Sent: Friday, March 22, 2002 23:05
> To: qt-interest@trolltech.com
> Subject: Linux Qt 303 OpenGL problem
> 
> 
> Hey,
> 
> I do most of my development in Windows and then port to Linux, and I'm
> running into a problem when compiling Qt 3.0.3 with the OpenGL 
> examples. I'm
> running Mandrake 7.1 and I have installed Mesa, and the Mesa development
> packages. I'm getting an error when trying to build the OpenGL examples
> something like: "Some packages (OpenGL) are not available". I think its
> probably just a path or something simple, but I don't know how to fix it.
> Everything else seems to be compiling just fine.
> 
> Thanks,
> 
> Craig
> 
> --
> List archive and information: http://qt-interest.trolltech.com
> 
> 


Message 4 in thread

QWorkspace mimics a window manager, so you could raise a 
widget not by calling raise() but by calling setFocus().

Naoyuki


On 2002 March 23 Saturday 04:50, Carl Anderson wrote:
> Hello,
> I have several classes that inherit from QWidget that I'm
> placing in a QWorkspace. Sometimes some of them get
> buried under others, and I'd like to raise them to the
> top of the workspace. I tried calling raise() on the
> objects, with no effect. The only solution I've come up
> with so far is to hide() then show() them, but if they're
> already visible, this causes a flicker of the widget that
> I'd like to avoid. Any suggestions/solutions?
>
> Carl Anderson