Referência de Objetos ou componentes

Application
ClipBoard
Printer
QBitMap
QButton
QCanvas
QCheckBox
QComboBox
QComPort
QCoolBtn
QDirTree
QEdit
QFileListBox
QFileStream
QFont
QFontDialog
QForm
QGauge
QGlassFrame
QGroupBox
QHeader
QImage
QImageList
QLabel
QListBox
QListView
QMainMenu
QMemoryStream
QMenuItem
QMySQL
QNotifyIconData
QOpenDialog
QOleObject
QOleContainer
QOutLine
QOvalBtn
QPanel
QPopMenu
QRadioButton
QRect
QRegistry
QRichEdit
QSaveDialog
QScrollBar
QScrolBox
QSocket
QSplitter
QStatusBar
QStringGrid
QStringList
QTabControl
QTimer
QTrackBar
QTreeView
Componente QRadioButton (Botões de assinalamento)

QRadioButton é um item assinalador simples. Se você quer agrupar os
radiobuttons, use um receptáculo como QPanel.
Demais componentes    - Click Barra lateral esquerda
Informações adicionais - Click propriedades  em azul
Propriedades de QRadioButton
   Campo    Tipo    R/W+    Padrão    Suporte#
 Align
 INTEGER    RW  alNone    W
 Caption
 STRING    RW      WXG
 Checked
 INTEGER    RW  False    WXG
 Enabled
 INTEGER    RW  True    WXG
 Font
 QFONT    W      W
 Height
 INTEGER    RW      WXG
 Hint
 STRING    RW      WXG
 Left
 INTEGER    RW  0    WXG
 Parent
 QFORM/QPANEL/QTABCONTROL    W      WXG
 PopupMenu
 QPOPUPMENU    W      W
 ShowHint
 INTEGER    RW  False    WXG
 TabOrder
 INTEGER    RW      W
 Tag
 INTEGER    RW      WXG
 Top
 INTEGER    RW  0    WXG
 Width
 INTEGER    RW      WXG
 Visible
 INTEGER    RW  True    WXG
+ R = Propriedade de leitura   W = Propriedade de escrita             #W = Windows  X = Linux  G = Solaris


Eventos de QRadioButton
   Evento    Tipo    Ocorre quando...    Parâmetros  Suporte#
 OnClick
 VOID  Usuário clicou no RadioButton    0    WXG
#W = Windows  X = Linux  G = Solaris


QRadioButton exemplo:

  DIM Form AS QForm
  DIM Radio1 as QRadioButton
  DIM Radio2 as QRadioButton
  DIM Radio3 as QRadioButton

  Radio1.Parent = Form
  Radio1.Top = 10
  Radio1.Caption = "Item 1"
  Radio2.Parent = Form
  Radio2.Top = 35
  Radio2.Caption = "Item 2"
  Radio3.Parent = Form
  Radio3.Top = 60
  Radio3.Caption = "Item 3"

  Form.ShowModal

Sinta-se à vontade para dar sugestões e fazer críticas construtivas.

Anterior           Alto da página           Página Inicial             Próxima