Line 132... |
Line 132... |
132 |
void mouseTimerEvent();
|
132 |
void mouseTimerEvent();
|
133 |
void _addItems(std::vector<_ITEMS_T>& items, bool intern=false);
|
133 |
void _addItems(std::vector<_ITEMS_T>& items, bool intern=false);
|
134 |
void _clearAllItems();
|
134 |
void _clearAllItems();
|
135 |
_ITEMS_T subViewItemToItem(PGSUBVIEWITEM_T& item);
|
135 |
_ITEMS_T subViewItemToItem(PGSUBVIEWITEM_T& item);
|
136 |
void resetSlider(int position=0);
|
136 |
void resetSlider(int position=0);
|
- |
|
137 |
void doMouseEvent();
|
137 |
|
138 |
|
138 |
QWidget *mParent{nullptr}; //!< The parent of this object. This is set to QScrollArea.
|
139 |
QWidget *mParent{nullptr}; //!< The parent of this object. This is set to QScrollArea.
|
139 |
QWidget *mMain{nullptr}; //!< The widget containing the items. This is the whole scroll area
|
140 |
QWidget *mMain{nullptr}; //!< The widget containing the items. This is the whole scroll area
|
140 |
QHBoxLayout *mHLayout{nullptr}; //!< If mVertical == FALSE then this layout is used
|
141 |
QHBoxLayout *mHLayout{nullptr}; //!< If mVertical == FALSE then this layout is used
|
141 |
QVBoxLayout *mVLayout{nullptr}; //!< If mVertical == TRUE then this layout is used
|
142 |
QVBoxLayout *mVLayout{nullptr}; //!< If mVertical == TRUE then this layout is used
|
Line 157... |
Line 158... |
157 |
QPoint mLastMousePress; //!< Internal: The absolute point of the last mouse press.
|
158 |
QPoint mLastMousePress; //!< Internal: The absolute point of the last mouse press.
|
158 |
Button::SUBVIEW_POSITION_t mPosition{Button::SVP_CENTER}; //!< Defines where the anchor should snap in
|
159 |
Button::SUBVIEW_POSITION_t mPosition{Button::SVP_CENTER}; //!< Defines where the anchor should snap in
|
159 |
bool mScrollbar{false}; //!< TRUE = scrollbar is visible
|
160 |
bool mScrollbar{false}; //!< TRUE = scrollbar is visible
|
160 |
int mScrollbarOffset{0}; //!< Defines the offset of the scrollbar. Only valid if \b mScrollbar is TRUE.
|
161 |
int mScrollbarOffset{0}; //!< Defines the offset of the scrollbar. Only valid if \b mScrollbar is TRUE.
|
161 |
bool mWrapItems{false}; //!< TRUE = The scroll area behaves like a wheel (not supported) and the item according to the anchor position is displayed.
|
162 |
bool mWrapItems{false}; //!< TRUE = The scroll area behaves like a wheel (not supported) and the item according to the anchor position is displayed.
|
- |
|
163 |
bool mMouseTmEventActive{false}; //!< TRUE = the mouse timer event is still running and will not accept calls.
|
- |
|
164 |
bool mDoMouseEvent{false}; //!< TRUE = The mouse timer event is valid.
|
162 |
};
|
165 |
};
|
163 |
|
166 |
|
164 |
#endif
|
167 |
#endif
|