User Tools

Site Tools


frame

Frame (QGroupBox)

www.kbasic.com_images_frame.jpg

The Qt documentation in C++ of this class can be read here: http://doc.trolltech.com/4.3/qgroupbox.html

A control for the form object, provides a group box frame with a title.

Most important

Methods None
Properties Caption
Events None

Please read the control class overview Control as well.

It's important in what sequence the controls are placed. If you put a frame on the same place other controls are, you have to set the frame to the background, otherwise you won't be able to selected the controls covered by the frame.

So frames are covering other controls, if you do not set them back by using ZOrder. Try right click on the frame and use it “Move To Back”.

PROPERTIES

Caption

Property Caption As String (ReadWrite)

Holds the text to be displayed.

Example

Dim c As Frame
c = Control("Frame0") ' Frame0 is declared as Frame in this form
c.Caption = "Hello World!"

Value

Property Value As String (ReadWrite)

Same as Caption. Provided for easy-use.


Text

Property Text As String (ReadWrite)

Same as Caption. Provided for easy-use.


not implemented yet:

alignment : Qt::Alignment

checkable : bool

checked : bool

frame.txt · Last modified: 2013/04/09 22:57 (external edit)