All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Slots | Public Member Functions | Protected Member Functions
QGpGuiTools::PropertyArea Class Reference

Brief description of class still missing. More...

#include <PropertyArea.h>

List of all members.

Public Slots

void resizeContent ()

Public Member Functions

virtual QSize minimumSizeHint () const
 PropertyArea (QWidget *parent=0)
virtual QSize sizeHint () const
 ~PropertyArea ()

Protected Member Functions

void resizeEvent (QResizeEvent *e)

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

QGpGuiTools::PropertyArea::PropertyArea ( QWidget *  parent = 0)

Description of constructor still missing

    : QScrollArea(parent)
{
  setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
}

Description of destructor still missing

{
}

Member Function Documentation

QSize QGpGuiTools::PropertyArea::minimumSizeHint ( ) const [virtual]

Referenced by sizeHint().

{
  QSize s;
  s.setHeight(200);
  if(widget()) {
    s.setWidth(widget()->minimumSizeHint().width()+20);
  }
  return s;
}

Referenced by QGpGuiTools::PropertyEditor::eventFilter(), and resizeEvent().

{
  if(widget()) {
    QSize s=widget()->minimumSizeHint();
    if(s.width()<viewport()->width()) s.setWidth(viewport()->width());
    widget()->resize(s);
  }
}
void QGpGuiTools::PropertyArea::resizeEvent ( QResizeEvent *  e) [protected]
QSize QGpGuiTools::PropertyArea::sizeHint ( ) const [virtual]

References minimumSizeHint().

{
  return minimumSizeHint();
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines