![]() |
|
|
|
|
|
||||||||||
|
| User list | You are not logged in.
Pages: 1
Ok, here is a CSS example to have huge fonts to fill a 1920x1200 screen:
* {
font: 50px;
}
QMenuBar, QMenu {
font: 25px;
}
#setYawCorner0PushButton,
#setPitchCorner0PushButton,
#setYawCorner1PushButton,
#setPitchCorner1PushButton,
#yawFovLabel,
#pitchFovLabel,
#yawNbPictsLabel,
#pitchNbPictsLabel,
#yawRealOverlapLabel,
#pitchRealOverlapLabel,
#yawResolutionLabel,
#pitchResolutionLabel,
#yawHeadPosLabel,
#pitchHeadPosLabel,
#currentIndexLabel,
#yawCurrentIndexLabel,
#pitchCurrentIndexLabel,
#nextIndexLabel,
#yawNextIndexLabel,
#pitchNextIndexLabel {
font: bold;
}
QPushButton {
height: 100px;
}
QPushButton#shootPushButton {
height: 150px;
}You can adapt it for other sizes. It is also possible to change the colors of buttons, line edit, spin boxes and so. Full documentation is here:
http://doc.trolltech.com/4.5/stylesheet-syntax.html
Using the class name of the widget allow you to change their attributes globally (like I did for the QPushButton). By giving the widget internal name (the one I defined in Papywizard), you can be more precise. Feel free to ask for these names.
If you have specific needs, feel free to post (do not hesitate to send screenshots to show what you would like to obtain).
Offline
Why not specify the font size in points - a relative unit that will scale, depending on the screen size?
Offline
So true. You can do that with Autopano too by launching the executable with that line :
Autopano -stylesheet=absolute path to css
Autopano with 50px font doesn't look well ...
Offline
[bo] wrote:
Why not specify the font size in points - a relative unit that will scale, depending on the screen size?
Well I'm not familiar at all with CSS ![]()
Feel free to use this thread for all Papywizard CSS related stuff (questions, propositions, examples...).
Offline
I made a test using points instead of pixels, and it does not seem to work fine (some widgets don't change their size, so the label is unreadable)...
Offline
Klaus, I invite you to post a simple drawing of the GUI, with the colors you would like, si I can try to write a CSS for you.
Offline
Pages: 1
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums Blog |
COMPANY About Kolor Corporate blog Resellers Contact |
PRESS Press center Press review TOOLS My account |
