Enhanced group box widget.  
 More...
#include <QtxGroupBox.h>
The QtxGroupBox class allows inserting custom widgets in the group box title. Use insertTitleWidget() method to add custom widget to the title and removeTitleWidget() to remove it. 
 
      
        
          | QtxGroupBox::QtxGroupBox  | 
          ( | 
          QWidget *  | 
          parent = 0 | ) | 
           | 
        
      
 
 
      
        
          | QtxGroupBox::QtxGroupBox  | 
          ( | 
          const QString &  | 
          title,  | 
        
        
           | 
           | 
          QWidget *  | 
          parent = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | title | group box title text  | 
    | parent | parent widget  | 
  
   
References initialize().
 
 
  
  
      
        
          | QtxGroupBox::~QtxGroupBox  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::childEvent  | 
          ( | 
          QChildEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::customEvent  | 
          ( | 
          QEvent *  | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
- Parameters
 - 
  
  
 
- Returns
 true if event processing should be stopped 
References myContainer.
 
 
  
  
      
        
          | QSize QtxGroupBox::expandTo  | 
          ( | 
          const QSize &  | 
          sz | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::insertTitleWidget  | 
          ( | 
          QWidget *  | 
          wid | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | QSize QtxGroupBox::minimumSizeHint  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
- Returns
 - recommended minimum size for the widget 
 
References expandTo().
 
 
  
  
      
        
          | void QtxGroupBox::removeTitleWidget  | 
          ( | 
          QWidget *  | 
          wid | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::resizeEvent  | 
          ( | 
          QResizeEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::setInsideMargin  | 
          ( | 
          const int  | 
          m | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::setVisible  | 
          ( | 
          bool  | 
          on | ) | 
           | 
         
       
   | 
  
virtualslot   | 
  
 
- Parameters
 - 
  
    | on | if true, show group box, otherwise, hide it  | 
  
   
References updateTitle().
 
 
      
        
          | void QtxGroupBox::setWidget  | 
          ( | 
          QWidget *  | 
          wid | ) | 
           | 
        
      
 
- Parameters
 - 
  
    | wid | widget being added to the group box  | 
  
   
References widget().
 
 
  
  
      
        
          | QSize QtxGroupBox::sizeHint  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
- Returns
 - recommended size for the widget 
 
References expandTo().
 
 
  
  
      
        
          | QSize QtxGroupBox::titleSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void QtxGroupBox::updateTitle  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
      
        
          | QWidget * QtxGroupBox::widget  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
The documentation for this class was generated from the following files: