Area containing dialog box buttons. More...

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