Area containing dialog box buttons.

Public Member Functions | |
| Area (Qt::Orientation, QtxDialog *, QWidget *=0) | |
| Constructor. | |
| virtual | ~Area () |
| Destructor. | |
| bool | isBorderEnabled () const |
| Check of the border is enabled. | |
| void | setBorderEnabled (const bool) |
| Enable/disable border (separator between main frame and button frame) | |
| void | setBorderWidget (QLabel *) |
| Set border widget (separator between main frame and button frame). | |
| void | insertButton (QAbstractButton *) |
| Insert button to the area. | |
| void | removeButton (QAbstractButton *) |
| Remove button from the area. | |
| bool | contains (QAbstractButton *) const |
| Check if area owns the button specified. | |
| int | policy () const |
| Get buttons layout policy. | |
| void | setPolicy (const int) |
| Set buttons layout policy. | |
| void | layoutButtons () |
| Layout buttons in the area. | |
| const QList< QAbstractButton * > & | buttons () const |
| Get all area buttons. | |
Private Member Functions | |
| void | updateBorder () |
| Update border visibility. | |
Private Attributes | |
| QtxDialog * | myDlg |
| parent dialog box | |
| QLabel * | myLine |
| border widget | |
| bool | myBorder |
| "has border" flag | |
| int | myPolicy |
| button layout type (QtxDialog.PlacePolicy) | |
| QList< QAbstractButton * > | myButtons |
| buttons list | |
| Qt::Orientation | myOrientation |
| buttons orientation (Qt.Orientation) | |
| QtxDialog.Area::Area | ( | Qt::Orientation | o, |
| QtxDialog * | dlg, | ||
| QWidget * | parent = 0 |
||
| ) |
| o | buttons orientation |
| dlg | dialog box owning this area |
| parent | parent widget |
References Horizontal, and QtxDialog.Area.myOrientation.
| QtxDialog.Area::~Area | ( | ) | [virtual] |
| bool QtxDialog.Area::isBorderEnabled | ( | ) | const |
true if border is enabled | void QtxDialog.Area::setBorderEnabled | ( | const bool | on | ) |
| on | new state |
| void QtxDialog.Area::setBorderWidget | ( | QLabel * | line | ) |
| line | new separator widget |
| void QtxDialog.Area::insertButton | ( | QAbstractButton * | b | ) |
| b | button to be added |
| void QtxDialog.Area::removeButton | ( | QAbstractButton * | b | ) |
| b | button to be removed |
| bool QtxDialog.Area::contains | ( | QAbstractButton * | b | ) | const |
| b | button to be checked |
true if area contains button | int QtxDialog.Area::policy | ( | ) | const |
| void QtxDialog.Area::setPolicy | ( | const int | p | ) |
| p | new policy |
| void QtxDialog.Area::layoutButtons | ( | ) |
| const QList< QAbstractButton * > & QtxDialog.Area::buttons | ( | ) | const |
| void QtxDialog.Area::updateBorder | ( | ) | [private] |
QtxDialog* QtxDialog.Area.myDlg [private] |
QLabel* QtxDialog.Area.myLine [private] |
bool QtxDialog.Area.myBorder [private] |
int QtxDialog.Area.myPolicy [private] |
QList<QAbstractButton*> QtxDialog.Area.myButtons [private] |
Qt::Orientation QtxDialog.Area.myOrientation [private] |