comparison widgets/PropertyBox.cpp @ 44:ad214997dddb

* Refactor Layer classes so as no longer to store a single View pointer; instead they need to be able to draw themselves on any View on demand. Layers with caches (e.g. spectrogram) will need to be further refactored so as to maintain a per-View cache * Begin refactoring MainWindow by pulling out the document stuff (set of layers, models etc) into a Document class. Not yet in use. This revision is fairly unstable.
author Chris Cannam
date Thu, 02 Mar 2006 16:58:49 +0000
parents c28ebb4ba4de
children 2152e19d7db9
comparison
equal deleted inserted replaced
43:78515b1e29eb 44:ad214997dddb
120 layout->addWidget(showLabel); 120 layout->addWidget(showLabel);
121 layout->setAlignment(showLabel, Qt::AlignVCenter); 121 layout->setAlignment(showLabel, Qt::AlignVCenter);
122 122
123 LEDButton *showButton = new LEDButton(Qt::blue); 123 LEDButton *showButton = new LEDButton(Qt::blue);
124 layout->addWidget(showButton); 124 layout->addWidget(showButton);
125 connect(showButton, SIGNAL(stateChanged(bool)), 125 //!!! connect(showButton, SIGNAL(stateChanged(bool)),
126 layer, SLOT(showLayer(bool))); 126 // layer, SLOT(showLayer(bool)));
127 layout->setAlignment(showButton, Qt::AlignVCenter); 127 layout->setAlignment(showButton, Qt::AlignVCenter);
128 } 128 }
129 129
130 if (params) { 130 if (params) {
131 131