Mercurial > hg > easaier-soundaccess
comparison widgets/PropertyBox.cpp @ 182:7386cd014f52
active the PropertyBox when double-clicking on it
move the PropertyBox in the bottom right corner
author | lbajardsilogic |
---|---|
date | Thu, 22 Nov 2007 15:54:30 +0000 |
parents | 76d4fbab5f20 |
children | 2e81141893db |
comparison
equal
deleted
inserted
replaced
181:3d68e73a877b | 182:7386cd014f52 |
---|---|
25 | 25 |
26 #include "plugin/RealTimePluginFactory.h" | 26 #include "plugin/RealTimePluginFactory.h" |
27 #include "plugin/RealTimePluginInstance.h" | 27 #include "plugin/RealTimePluginInstance.h" |
28 #include "plugin/PluginXml.h" | 28 #include "plugin/PluginXml.h" |
29 | 29 |
30 #include "main/MainWindow.h" | |
31 | |
30 #include "AudioDial.h" | 32 #include "AudioDial.h" |
31 #include "Slider.h" | 33 #include "Slider.h" |
32 #include "LEDButton.h" | 34 #include "LEDButton.h" |
33 | 35 |
34 #include "NotifyingCheckBox.h" | 36 #include "NotifyingCheckBox.h" |
90 | 92 |
91 m_layout->setRowStretch(m_layout->rowCount(), 10); | 93 m_layout->setRowStretch(m_layout->rowCount(), 10); |
92 | 94 |
93 connect(UnitDatabase::getInstance(), SIGNAL(unitDatabaseChanged()), | 95 connect(UnitDatabase::getInstance(), SIGNAL(unitDatabaseChanged()), |
94 this, SLOT(unitDatabaseChanged())); | 96 this, SLOT(unitDatabaseChanged())); |
97 | |
98 move(MainWindow::instance()->pos().x() + 3*MainWindow::instance()->width()/4, | |
99 MainWindow::instance()->pos().y() + 3*MainWindow::instance()->height()/5); | |
95 | 100 |
96 #ifdef DEBUG_PROPERTY_BOX | 101 #ifdef DEBUG_PROPERTY_BOX |
97 std::cerr << "PropertyBox[" << this << "]::PropertyBox returning" << std::endl; | 102 std::cerr << "PropertyBox[" << this << "]::PropertyBox returning" << std::endl; |
98 #endif | 103 #endif |
99 } | 104 } |