Few questions about GEDI

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
yanzhepg
Posts:1
Joined: Mon Feb 17, 2014 11:59 pm

Few questions about GEDI

Post by yanzhepg »

1) If it is possible to change the position of the title of Frame object ? It looks always locked on the left top of the Frame and no relevant property items.
2) I had used one reference panel for my panel(many copies) and I want to know if it is possible to do the replacement of that reference panel to another one.
3) If it is possible to initial RadioBox object without any option was chosen?

Sorry I post those questions on wrong place, thanks ahead for your help or suggestion.

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: Few questions about GEDI

Post by fmulder »

1) You can 'style' most of the widgets using Qt stylesheets. You should be able to do this. Please look at:
http://qt-project.org/doc/qt-4.8/styles ... ing-qframe

2) A panel is an asscii file. You can open the panel using an ASCII editor or you could first save the panel as XML.
Please be carefull when directly editing the panel. (It is easy to corrupt a panel file).
Replacing the symbol shoudl be a relatively simple search-and-replace. (assuming that the dollar codes are identical)

jfily
Posts:20
Joined: Wed Feb 05, 2014 10:59 am

Re: Few questions about GEDI

Post by jfily »

1) I didn't get your question

2) notepad++ can hadle this with "Find in Files" just by saerching %oldPath%and replacing by %nemPath%

3) nope, I tried but didn't find a way to do it

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: Few questions about GEDI

Post by fmulder »

Your first questions says "Can I change the properties of a frame".
Well, WinCC OA is based on Qt and this beautifull platform support 'stylesheets'.
(look for stylesheet in the WinCC OA helfpile).

Look at :http://doc.qt.digia.com/qq/qq20-qss.html
You'll see that you can change just about any property of the graphics in your application. You can even style the gedi itself. So yes, you can probably change the look and feel of the frame.

Look on the Internet. There are many examples of styling Qt shapes.

Frenk

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Few questions about GEDI

Post by mkoller »

While you are right that Qt Widgets can be styled, in this case of the frame we do not use a QGroupBox but we draw the frame ourself. Therefore you can not style it, sorry.

5 posts • Page 1 of 1