CMS 3D CMS Logo

IgQtScrollView Class Reference

#include <Iguana/Studio/interface/IgQtScrollView.h>

List of all members.

Public Member Functions

 IgQtScrollView (QWidget *parent=0, const char *name=0, WFlags f=0)

Protected Member Functions

void resizeEvent (QResizeEvent *e)


Detailed Description

Definition at line 16 of file IgQtScrollView.h.


Constructor & Destructor Documentation

IgQtScrollView::IgQtScrollView ( QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Definition at line 15 of file IgQtScrollView.cc.

00018     : QScrollView (parent, name, f)
00019 { }


Member Function Documentation

void IgQtScrollView::resizeEvent ( QResizeEvent *  e  )  [protected]

Definition at line 21 of file IgQtScrollView.cc.

00022 {
00023     QScrollBar *sb = horizontalScrollBar ();
00024     if (sb->value () != sb->minValue ())
00025         sb->setValue (sb->minValue ());
00026     sb = verticalScrollBar ();
00027     if (sb->value () != sb->minValue ())
00028         sb->setValue (sb->minValue ());
00029     QScrollView::resizeEvent (event);
00030 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:25:36 2009 for CMSSW by  doxygen 1.5.4