Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Examples  

qdbtslidebar.h

00001 #ifndef _QSLIDEBAR_H
00002 #define _QSLIDEBAR_H
00003 
00004 #include <qwidget.h>
00005 
00006 #include <qdbt/qdbtglobal.h>
00007 
00008 class QCursor;
00009 class QdbtBaseTabular;
00010 class QdbtPImpl;
00011 
00012 class QdbtSlideBar: public QWidget
00013 {
00014   Q_OBJECT
00015   
00016   QdbtSlideBar( const QdbtSlideBar & );
00017   void operator=( const QdbtSlideBar & );
00018   
00019 public:
00020   QdbtSlideBar( QdbtPImpl *p, const char *name = 0 );
00021   ~QdbtSlideBar();
00022   void     setCascadeMode( bool val );
00023   void     updateBar( const QPoint &p );
00024   void     setBounds( int x, int y, int w, int h );
00025   void     setBounds( const QRect &r );
00026   void     setBarWidth( int w );
00027   void     setCursorShape( const QCursor shape );
00028   
00029 protected:
00030   void     mouseReleaseEvent( QMouseEvent * );
00031   void     mouseMoveEvent( QMouseEvent * );
00032 private:
00033   QRect       bounds;
00034   int         barWidth;
00035   int         sliderXPos;
00036   bool        cascadeSlider;
00037   QdbtPImpl * _pimpl;
00038 };
00039 
00040 #endif // _QSLIDEBAR_H

Generated on Mon Apr 22 12:21:54 2002 for QdbtTabular by doxygen1.2.15-20020421