Hi all,
I've got to Questions:
1. How can I make my QMainWindow use the full screen (not full screen mode, but use as many space as possible, just like Firefox) ? // Solved
2. Is it possible to draw half-transparent text?
Thank you,
kingfinn
Hi all,
I've got to Questions:
1. How can I make my QMainWindow use the full screen (not full screen mode, but use as many space as possible, just like Firefox) ? // Solved
2. Is it possible to draw half-transparent text?
Thank you,
kingfinn
Last edited by kingfinn; 9th January 2010 at 12:40.
Would you care to explain what does "just like Firefox" mean? Do you mean QWidget::showMaximized()?
Thats it, thank you!
For 2, just use a transparent pen. This example draws in 50% transparent red:
Qt Code:
{ painter.drawText(rect(), Qt::AlignCenter, "Qt"); }To copy to clipboard, switch view to plain text mode
Thank you Guys!
Bookmarks