Mercurial > hg > svgui
comparison widgets/SelectableLabel.h @ 441:f8fcfbe13c8f
* Avoid waiting on uninstalled transforms mutex in TransformFactory::
getTransformInstallStatus -- we can return TransformUnknown
* Don't follow link in SelectableLabel when clicking to select it
* Restore lost version number in plugin param dialog
author | Chris Cannam |
---|---|
date | Tue, 28 Oct 2008 18:06:06 +0000 |
parents | 374b72f5b4bb |
children | a18e78b9c78b |
comparison
equal
deleted
inserted
replaced
440:08d6bc698d16 | 441:f8fcfbe13c8f |
---|---|
39 void setSelected(bool); | 39 void setSelected(bool); |
40 void toggle(); | 40 void toggle(); |
41 | 41 |
42 protected: | 42 protected: |
43 virtual void mousePressEvent(QMouseEvent *e); | 43 virtual void mousePressEvent(QMouseEvent *e); |
44 virtual void mouseReleaseEvent(QMouseEvent *e); | |
44 virtual void mouseDoubleClickEvent(QMouseEvent *e); | 45 virtual void mouseDoubleClickEvent(QMouseEvent *e); |
45 virtual void enterEvent(QEvent *); | 46 virtual void enterEvent(QEvent *); |
46 virtual void leaveEvent(QEvent *); | 47 virtual void leaveEvent(QEvent *); |
47 void setupStyle(); | 48 void setupStyle(); |
48 QString m_selectedText; | 49 QString m_selectedText; |
49 QString m_unselectedText; | 50 QString m_unselectedText; |
50 bool m_selected; | 51 bool m_selected; |
52 bool m_swallowRelease; | |
51 }; | 53 }; |
52 | 54 |
53 #endif | 55 #endif |