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
Printable View
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
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:
Code:
{ painter.drawText(rect(), Qt::AlignCenter, "Qt"); }
Thank you Guys!