diff widgets/PluginParameterDialog.cpp @ 63:fb02fe13ff47

* Add editing for auralisation plugin parameters and programs * Rename and reorganise the sample plugin sample set
author Chris Cannam
date Thu, 23 Mar 2006 15:49:41 +0000
parents 50429a56680f
children 10bcd53ddc71
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.cpp	Wed Mar 22 17:38:29 2006 +0000
+++ b/widgets/PluginParameterDialog.cpp	Thu Mar 23 15:49:41 2006 +0000
@@ -39,6 +39,9 @@
     QGridLayout *subgrid = new QGridLayout;
     pluginBox->setLayout(subgrid);
 
+    subgrid->setSpacing(0);
+    subgrid->setMargin(10);
+
     QFont font(pluginBox->font());
     font.setBold(true);
 
@@ -55,17 +58,23 @@
     QLabel *copyrightLabel = new QLabel(plugin->getCopyright().c_str());
     copyrightLabel->setFont(font);
 
+    QLabel *typeLabel = new QLabel(plugin->getType().c_str());
+    typeLabel->setFont(font);
+
     subgrid->addWidget(new QLabel(tr("Name:")), 0, 0);
     subgrid->addWidget(nameLabel, 0, 1);
 
-    subgrid->addWidget(new QLabel(tr("Maker:")), 1, 0);
-    subgrid->addWidget(makerLabel, 1, 1);
+    subgrid->addWidget(new QLabel(tr("Type:")), 1, 0);
+    subgrid->addWidget(typeLabel, 1, 1);
 
-    subgrid->addWidget(new QLabel(tr("Copyright:")), 2, 0);
-    subgrid->addWidget(copyrightLabel, 2, 1);
+    subgrid->addWidget(new QLabel(tr("Maker:")), 2, 0);
+    subgrid->addWidget(makerLabel, 2, 1);
 
-    subgrid->addWidget(new QLabel(tr("Version:")), 3, 0);
-    subgrid->addWidget(versionLabel, 3, 1);
+    subgrid->addWidget(new QLabel(tr("Copyright:  ")), 3, 0);
+    subgrid->addWidget(copyrightLabel, 3, 1);
+
+    subgrid->addWidget(new QLabel(tr("Version:")), 4, 0);
+    subgrid->addWidget(versionLabel, 4, 1);
 
     subgrid->setColumnStretch(1, 2);
 
@@ -75,6 +84,7 @@
     grid->setRowStretch(1, 10);
 
     QHBoxLayout *paramLayout = new QHBoxLayout;
+    paramLayout->setMargin(0);
     paramBox->setLayout(paramLayout);
 
     m_parameterBox = new PluginParameterBox(m_plugin);