comparison widgets/PropertyStack.cpp @ 52:f2fe98a7c57e

* Use commands for add/delete pane in main window * Add compound command collection to command history (for add pane, import file etc) * Add hide/show pane and hidden pane list to PaneStack * Various other fixes
author Chris Cannam
date Mon, 13 Mar 2006 17:55:19 +0000
parents 2e2ad8510e52
children 01ab51f72e84
comparison
equal deleted inserted replaced
51:d2eac322d71b 52:f2fe98a7c57e
39 this, SLOT(propertyContainerPropertyChanged(PropertyContainer *))); 39 this, SLOT(propertyContainerPropertyChanged(PropertyContainer *)));
40 40
41 connect(m_client, SIGNAL(propertyContainerNameChanged(PropertyContainer *)), 41 connect(m_client, SIGNAL(propertyContainerNameChanged(PropertyContainer *)),
42 this, SLOT(propertyContainerNameChanged(PropertyContainer *))); 42 this, SLOT(propertyContainerNameChanged(PropertyContainer *)));
43 43
44 connect(this, SIGNAL(propertyContainerSelected(PropertyContainer *)), 44 connect(this, SIGNAL(propertyContainerSelected(View *, PropertyContainer *)),
45 m_client, SLOT(propertyContainerSelected(PropertyContainer *))); 45 m_client, SLOT(propertyContainerSelected(View *, PropertyContainer *)));
46 } 46 }
47 47
48 void 48 void
49 PropertyStack::repopulate() 49 PropertyStack::repopulate()
50 { 50 {
158 158
159 void 159 void
160 PropertyStack::selectedContainerChanged(int n) 160 PropertyStack::selectedContainerChanged(int n)
161 { 161 {
162 if (n >= int(m_boxes.size())) return; 162 if (n >= int(m_boxes.size())) return;
163 emit propertyContainerSelected(m_boxes[n]->getContainer()); 163 emit propertyContainerSelected(m_client, m_boxes[n]->getContainer());
164 } 164 }
165 165
166 #ifdef INCLUDE_MOCFILES 166 #ifdef INCLUDE_MOCFILES
167 #include "PropertyStack.moc.cpp" 167 #include "PropertyStack.moc.cpp"
168 #endif 168 #endif