# HG changeset patch # User Chris Cannam # Date 1176726027 0 # Node ID 20ec0c6d4a979c615b500983bc076d13e794b924 # Parent 6caf27d1e5e8662f3583111c50eb25c825d2e051 * Experiment with sizing the property stacks and using a frame on the overview widget with an eye to making the default empty window look a bit nicer diff -r 6caf27d1e5e8 -r 20ec0c6d4a97 main/MainWindow.cpp --- a/main/MainWindow.cpp Mon Apr 02 12:12:36 2007 +0000 +++ b/main/MainWindow.cpp Mon Apr 16 12:20:27 2007 +0000 @@ -167,6 +167,7 @@ m_overview = new Overview(frame); m_overview->setViewManager(m_viewManager); m_overview->setFixedHeight(40); + m_overview->setFrameStyle(QFrame::StyledPanel | QFrame::Sunken); connect(m_overview, SIGNAL(contextHelpChanged(const QString &)), this, SLOT(contextHelpChanged(const QString &))); @@ -236,6 +237,7 @@ m_playMono->setChecked(settings.value("playmono", false).toBool()); settings.endGroup(); + layout->setSpacing(4); layout->addWidget(m_paneStack, 0, 0, 1, 5); layout->addWidget(m_overview, 1, 0); layout->addWidget(m_fader, 1, 1); @@ -243,6 +245,10 @@ layout->addWidget(m_playSharpen, 1, 3); layout->addWidget(m_playMono, 1, 4); + m_paneStack->setPropertyStackMinWidth + (m_fader->width() + m_playSpeed->width() + m_playSharpen->width() + + m_playMono->width() + layout->spacing() * 4); + layout->setColumnStretch(0, 10); frame->setLayout(layout); diff -r 6caf27d1e5e8 -r 20ec0c6d4a97 main/main.cpp --- a/main/main.cpp Mon Apr 02 12:12:36 2007 +0000 +++ b/main/main.cpp Mon Apr 16 12:20:27 2007 +0000 @@ -51,7 +51,9 @@ curve extracted from it): Transform and subclasses - Creating the plugins used by transforms: RealTimePluginFactory, - FeatureExtractionPluginFactory + FeatureExtractionPluginFactory. See also the API documentation for + Vamp feature extraction plugins at + http://www.vamp-plugins.org/code-doc/. - File reading and writing code: AudioFileReader and subclasses, WavFileWriter, DataFileReader, SVFileReader