Diffstat (limited to 'microkde/KDGanttMinimizeSplitter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/KDGanttMinimizeSplitter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/microkde/KDGanttMinimizeSplitter.h b/microkde/KDGanttMinimizeSplitter.h index 84d3d8e..585298d 100644 --- a/microkde/KDGanttMinimizeSplitter.h +++ b/microkde/KDGanttMinimizeSplitter.h | |||
@@ -71,43 +71,45 @@ public: | |||
71 | 71 | ||
72 | void moveToFirst( QWidget * ); | 72 | void moveToFirst( QWidget * ); |
73 | void moveToLast( QWidget * ); | 73 | void moveToLast( QWidget * ); |
74 | 74 | ||
75 | void refresh() { recalc( TRUE ); } | 75 | void refresh() { recalc( TRUE ); } |
76 | QSize sizeHint() const; | 76 | QSize sizeHint() const; |
77 | QSize minimumSizeHint() const; | 77 | QSize minimumSizeHint() const; |
78 | 78 | ||
79 | QValueList<int> sizes() const; | 79 | QValueList<int> sizes() const; |
80 | void setSizes( QValueList<int> ); | 80 | void setSizes( QValueList<int> ); |
81 | KDGanttSplitterHandle* firstHandle(){ return mFirstHandle;} | 81 | KDGanttSplitterHandle* firstHandle(){ return mFirstHandle;} |
82 | void expandPos( int id, int* min, int* max ); | 82 | void expandPos( int id, int* min, int* max ); |
83 | QFrame* rubberBand() { return mRubberBand ;} | ||
83 | public slots: | 84 | public slots: |
84 | void toggle(); | 85 | void toggle(); |
85 | protected: | 86 | protected: |
86 | void childEvent( QChildEvent * ); | 87 | void childEvent( QChildEvent * ); |
87 | 88 | ||
88 | bool event( QEvent * ); | 89 | bool event( QEvent * ); |
89 | void resizeEvent( QResizeEvent * ); | 90 | void resizeEvent( QResizeEvent * ); |
90 | 91 | ||
91 | int idAfter( QWidget* ) const; | 92 | int idAfter( QWidget* ) const; |
92 | 93 | ||
93 | void moveSplitter( QCOORD pos, int id ); | 94 | void moveSplitter( QCOORD pos, int id ); |
94 | virtual void drawSplitter( QPainter*, QCOORD x, QCOORD y, | 95 | virtual void drawSplitter( QPainter*, QCOORD x, QCOORD y, |
95 | QCOORD w, QCOORD h ); | 96 | QCOORD w, QCOORD h ); |
96 | void styleChange( QStyle& ); | 97 | void styleChange( QStyle& ); |
97 | int adjustPos( int , int ); | 98 | int adjustPos( int , int ); |
98 | virtual void setRubberband( int ); | 99 | virtual void setRubberband( int ); |
99 | void getRange( int id, int*, int* ); | 100 | void getRange( int id, int*, int* ); |
100 | 101 | ||
101 | private: | 102 | private: |
103 | QFrame* mRubberBand; | ||
102 | void init(); | 104 | void init(); |
103 | void recalc( bool update = FALSE ); | 105 | void recalc( bool update = FALSE ); |
104 | void doResize(); | 106 | void doResize(); |
105 | void storeSizes(); | 107 | void storeSizes(); |
106 | void processChildEvents(); | 108 | void processChildEvents(); |
107 | QSplitterLayoutStruct *addWidget( QWidget*, bool first = FALSE ); | 109 | QSplitterLayoutStruct *addWidget( QWidget*, bool first = FALSE ); |
108 | void recalcId(); | 110 | void recalcId(); |
109 | void moveBefore( int pos, int id, bool upLeft ); | 111 | void moveBefore( int pos, int id, bool upLeft ); |
110 | void moveAfter( int pos, int id, bool upLeft ); | 112 | void moveAfter( int pos, int id, bool upLeft ); |
111 | void setG( QWidget *w, int p, int s, bool isSplitter = FALSE ); | 113 | void setG( QWidget *w, int p, int s, bool isSplitter = FALSE ); |
112 | 114 | ||
113 | QCOORD pick( const QPoint &p ) const | 115 | QCOORD pick( const QPoint &p ) const |