Mercurial > hg > svgui
changeset 1275:3ca1be2e2c91
Tidy
author | Chris Cannam |
---|---|
date | Thu, 26 Apr 2018 15:06:41 +0100 |
parents | 97d977091d4e |
children | b4cb11ca8233 a04f1012fca2 |
files | widgets/PluginParameterDialog.cpp |
diffstat | 1 files changed, 0 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.cpp Thu Apr 26 09:27:01 2018 +0100 +++ b/widgets/PluginParameterDialog.cpp Thu Apr 26 15:06:41 2018 +0100 @@ -89,10 +89,6 @@ QLabel *copyrightLabel = new QLabel(plugin->getCopyright().c_str()); copyrightLabel->setWordWrap(true); -// QLabel *typeLabel = new QLabel(plugin->getType().c_str()); -// typeLabel->setWordWrap(true); -// typeLabel->setFont(boldFont); - QLabel *descriptionLabel = 0; if (plugin->getDescription() != "") { descriptionLabel = new QLabel(plugin->getDescription().c_str()); @@ -117,9 +113,6 @@ row++; if (descriptionLabel) { -// label = new QLabel(tr("Description:")); -// label->setAlignment(Qt::AlignTop | Qt::AlignLeft); -// subgrid->addWidget(label, row, 0); subgrid->addWidget(descriptionLabel, row, 1, 1, 2); row++; } @@ -132,12 +125,6 @@ row++; } -// label = new QLabel(tr("Type:")); -// label->setAlignment(Qt::AlignTop | Qt::AlignLeft); -// subgrid->addWidget(label, row, 0); -// subgrid->addWidget(typeLabel, row, 1); -// row++; - label = new QLabel(tr("Maker:")); label->setAlignment(Qt::AlignTop | Qt::AlignLeft); subgrid->addWidget(label, row, 0); @@ -596,8 +583,6 @@ void PluginParameterDialog::setAdvancedVisible(bool visible) { -// m_advanced->setVisible(visible); - if (visible) { m_advancedButton->setText(tr("Advanced <<")); m_advancedButton->setChecked(true); @@ -608,22 +593,14 @@ m_advancedButton->setChecked(false); } -// cerr << "resize to " << sizeHint().width() << " x " << sizeHint().height() << endl; - -// setMinimumHeight(sizeHint().height()); adjustSize(); -// (sizeHint()); - m_advancedVisible = visible; QSettings settings; settings.beginGroup("PluginParameterDialog"); settings.setValue("advancedvisible", visible); settings.endGroup(); - -// if (visible) setMaximumHeight(sizeHint().height()); -// adjustSize(); } void