Size of Radiobox
- Barbara.Kreische
- Posts:4
- Joined: Wed Feb 20, 2013 4:41 pm
Size of Radiobox
Hello Support Team, how can I change the size of radio buttons in the Radiobox-object? The change of text size has no influence. We use WinCCOA 3.11. Thanks & Regards Barbara Kreische
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Size of Radiobox
The look&feel (size, shape) of the radio and checkbox buttons is defined by the used style.
The only possibilty is to use a stylesheet or to implement a new style plugin in c++
http://doc.qt.io/qt-4.8/stylesheet-reference.html
http://doc.qt.io/qt-4.8/stylesheet-exam ... -qcheckbox
The only possibilty is to use a stylesheet or to implement a new style plugin in c++
http://doc.qt.io/qt-4.8/stylesheet-reference.html
http://doc.qt.io/qt-4.8/stylesheet-exam ... -qcheckbox
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: Size of Radiobox
You'll find that using the Qt stylesheets is an amazing feature. We have implemented some fantastic looking drop-down menus without any scripting or C++ code. Just by doing some Qt styling.
Good luck !
Good luck !
- Barbara.Kreische
- Posts:4
- Joined: Wed Feb 20, 2013 4:41 pm
Re: Size of Radiobox
How can I get access to the basic definitions? I have never used Qt. When I want to change the definition of an element like radiobox in this way, how can I differ between the standard, which should be not changed, and my project specific definitions? Thanks & Best Regards
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: Size of Radiobox
Im not in the office and dont have access to my samples. Basically there are twi ways to dtyle certain objects:
A. By name of the object. Eg style all buttona that gave a certain name
B. By name of its parent panel
I can show yiu exame in couple of days. Or, google the qt pages
Martin: can you post an example ?
A. By name of the object. Eg style all buttona that gave a certain name
B. By name of its parent panel
I can show yiu exame in couple of days. Or, google the qt pages
Martin: can you post an example ?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Size of Radiobox
Hello,
when looking at the attribute editor for a graphical object you will see the entry "Typname".
With this entry you define a unique name which is also used then at the stylesheet. All objects with a matching "Typname" will use the settings made at the stylesheet.
For further information please have a look at the WinCC OA online help: Graphics Editor (GEDI) --> Style Sheets in UI or search for the keyword "stylesheet".
Best Regards
Leopold Knipp
Senior Support Specialist
when looking at the attribute editor for a graphical object you will see the entry "Typname".
With this entry you define a unique name which is also used then at the stylesheet. All objects with a matching "Typname" will use the settings made at the stylesheet.
For further information please have a look at the WinCC OA online help: Graphics Editor (GEDI) --> Style Sheets in UI or search for the keyword "stylesheet".
Best Regards
Leopold Knipp
Senior Support Specialist