Mercurial > hg > svgui
comparison widgets/PropertyStack.h @ 190:53835534a9d3
* Allow user to activate a pane by clicking on the tab for its currently active
layer. Formerly nothing happened if you clicked on the tab that was already
topmost in a given property stack, because the tab widget only emitted a signal
if the current tab changed. We want this to switch focus back to the pane if
another one has been active in the mean time.
* Make the thumbwheels look a bit round.
author | Chris Cannam |
---|---|
date | Mon, 22 Jan 2007 15:42:00 +0000 |
parents | 5b7472db612b |
children | 6b023411087b |
comparison
equal
deleted
inserted
replaced
189:5b7472db612b | 190:53835534a9d3 |
---|---|
35 View *getClient() { return m_client; } | 35 View *getClient() { return m_client; } |
36 bool containsContainer(PropertyContainer *container) const; | 36 bool containsContainer(PropertyContainer *container) const; |
37 int getContainerIndex(PropertyContainer *container) const; | 37 int getContainerIndex(PropertyContainer *container) const; |
38 | 38 |
39 signals: | 39 signals: |
40 void viewSelected(View *client); | |
40 void propertyContainerSelected(View *client, PropertyContainer *container); | 41 void propertyContainerSelected(View *client, PropertyContainer *container); |
41 void contextHelpChanged(const QString &); | 42 void contextHelpChanged(const QString &); |
42 | 43 |
43 public slots: | 44 public slots: |
44 void propertyContainerAdded(PropertyContainer *); | 45 void propertyContainerAdded(PropertyContainer *); |
45 void propertyContainerRemoved(PropertyContainer *); | 46 void propertyContainerRemoved(PropertyContainer *); |
46 void propertyContainerPropertyChanged(PropertyContainer *); | 47 void propertyContainerPropertyChanged(PropertyContainer *); |
47 void propertyContainerNameChanged(PropertyContainer *); | 48 void propertyContainerNameChanged(PropertyContainer *); |
48 | 49 |
49 void showLayer(bool); | 50 void showLayer(bool); |
51 | |
52 void mouseEnteredTabBar(); | |
53 void mouseLeftTabBar(); | |
54 void activeTabClicked(); | |
50 | 55 |
51 protected slots: | 56 protected slots: |
52 void selectedContainerChanged(int); | 57 void selectedContainerChanged(int); |
53 | 58 |
54 protected: | 59 protected: |