Script
Public Member Functions | Protected Member Functions | List of all members
ImportDrawingDlg::TURadioButton Class Reference
Inheritance diagram for ImportDrawingDlg::TURadioButton:
Inheritance graph
[legend]
Collaboration diagram for ImportDrawingDlg::TURadioButton:
Collaboration graph
[legend]

Public Member Functions

 TURadioButton (String &text, QWidget *parent)
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *e)
 
virtual void keyPressEvent (QKeyEvent *e)
 

Detailed Description

Special class that modifies QRadioButton so that clicking on an already checked radio button does NOT have the effect of unchecking it. Such behavior is provided automatically when a QRadioButton is part of a QButtonGroup, but the radio buttons used in this dialog cannot be put in a QButtonGroup, which would impose its visual layout.

Constructor & Destructor Documentation

ImportDrawingDlg::TURadioButton::TURadioButton ( String &  text,
QWidget *  parent 
)

Member Function Documentation

virtual void ImportDrawingDlg::TURadioButton::keyPressEvent ( QKeyEvent *  e)
protectedvirtual
virtual void ImportDrawingDlg::TURadioButton::mousePressEvent ( QMouseEvent *  e)
protectedvirtual

The documentation for this class was generated from the following file: