comparison widgets/PropertyBox.h @ 185:dd932fe5f3ff

* Fix failure to reload play mute state correctly from session file * Ensure Show and Play buttons in layer property box are initialised with the correct state
author Chris Cannam
date Fri, 05 Jan 2007 14:46:45 +0000
parents bf196d6e8998
children 5b7472db612b
comparison
equal deleted inserted replaced
184:3a6fea0abf56 185:dd932fe5f3ff
24 class QLayout; 24 class QLayout;
25 class QWidget; 25 class QWidget;
26 class QGridLayout; 26 class QGridLayout;
27 class QVBoxLayout; 27 class QVBoxLayout;
28 class QLabel; 28 class QLabel;
29 class LEDButton;
29 30
30 class PropertyBox : public QFrame 31 class PropertyBox : public QFrame
31 { 32 {
32 Q_OBJECT 33 Q_OBJECT
33 34
45 void showLayer(bool); 46 void showLayer(bool);
46 47
47 public slots: 48 public slots:
48 void propertyContainerPropertyChanged(PropertyContainer *); 49 void propertyContainerPropertyChanged(PropertyContainer *);
49 void pluginConfigurationChanged(QString); 50 void pluginConfigurationChanged(QString);
51 void layerVisibilityChanged(bool);
50 52
51 protected slots: 53 protected slots:
52 void propertyControllerChanged(int); 54 void propertyControllerChanged(int);
53 55
54 void playGainChanged(float); 56 void playGainChanged(float);
69 QWidget *m_mainWidget; 71 QWidget *m_mainWidget;
70 QGridLayout *m_layout; 72 QGridLayout *m_layout;
71 PropertyContainer *m_container; 73 PropertyContainer *m_container;
72 QFrame *m_viewPlayFrame; 74 QFrame *m_viewPlayFrame;
73 QVBoxLayout *m_mainBox; 75 QVBoxLayout *m_mainBox;
76 LEDButton *m_showButton;
74 std::map<QString, QLayout *> m_groupLayouts; 77 std::map<QString, QLayout *> m_groupLayouts;
75 std::map<QString, QWidget *> m_propertyControllers; 78 std::map<QString, QWidget *> m_propertyControllers;
76 }; 79 };
77 80
78 #endif 81 #endif