You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, February 12th 2005, 7:25pm

positioning my app window

hi all,

how can i position my application window (not a widget) in main, or anyplace, to set its initial screen position near the top left corner of the screen?

right now it pops up in random places and usually has much of the window below the bottom of the screen.

thnx :)

lou

jacek

Master

  • "jacek" is male

Posts: 2,729

Location: Warsaw, Poland

  • Send private message

2

Saturday, February 12th 2005, 7:30pm

RE: positioning my app window

Did you try QWidget::move?

3

Saturday, February 12th 2005, 7:46pm

RE: positioning my app window

Quoted

Originally posted by jacek
Did you try QWidget::move?


hi, thanks. yes, i did, after messing around with reparent. i tried it from main which was screwing something up, so i put it in the constructor which works, finally.

i think i'm set now.

thnx ;)

lou