diff options
Diffstat (limited to 'src/gui/widgets/QuantizeParameters.cpp')
-rw-r--r-- | src/gui/widgets/QuantizeParameters.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/gui/widgets/QuantizeParameters.cpp b/src/gui/widgets/QuantizeParameters.cpp index ff4841c..9e55e0d 100644 --- a/src/gui/widgets/QuantizeParameters.cpp +++ b/src/gui/widgets/QuantizeParameters.cpp @@ -82,18 +82,18 @@ QuantizeParameters::QuantizeParameters(TQWidget *parent, m_mainLayout->addWidget(quantizerBox, zero, 0); TQFrame *typeFrame = new TQFrame(quantizerBox); - TQGridLayout *tqlayout = new TQGridLayout(typeFrame, 2, 2, 5, 3); - tqlayout->addWidget(new TQLabel(i18n("Quantizer type:"), typeFrame), 0, 0); + TQGridLayout *layout = new TQGridLayout(typeFrame, 2, 2, 5, 3); + layout->addWidget(new TQLabel(i18n("Quantizer type:"), typeFrame), 0, 0); m_typeCombo = new KComboBox(typeFrame); m_typeCombo->insertItem(i18n("Grid quantizer")); m_typeCombo->insertItem(i18n("Legato quantizer")); m_typeCombo->insertItem(i18n("Heuristic notation quantizer")); - tqlayout->addWidget(m_typeCombo, 0, 1); + layout->addWidget(m_typeCombo, 0, 1); m_notationTarget = new TQCheckBox (i18n("Quantize for notation only (leave performance unchanged)"), typeFrame); - tqlayout->addMultiCellWidget(m_notationTarget, 1, 1, 0, 1); + layout->addMultiCellWidget(m_notationTarget, 1, 1, 0, 1); if (!showNotationOption) m_notationTarget->hide(); @@ -104,14 +104,14 @@ QuantizeParameters::QuantizeParameters(TQWidget *parent, (1, Qt::Horizontal, i18n("Notation parameters"), parameterBox); TQFrame *notationFrame = new TQFrame(m_notationBox); - tqlayout = new TQGridLayout(notationFrame, 4, 2, 5, 3); + layout = new TQGridLayout(notationFrame, 4, 2, 5, 3); - tqlayout->addWidget(new TQLabel(i18n("Base grid unit:"), notationFrame), + layout->addWidget(new TQLabel(i18n("Base grid unit:"), notationFrame), 1, 0); m_notationUnitCombo = new KComboBox(notationFrame); - tqlayout->addWidget(m_notationUnitCombo, 1, 1); + layout->addWidget(m_notationUnitCombo, 1, 1); - tqlayout->addWidget(new TQLabel(i18n("Complexity:"), + layout->addWidget(new TQLabel(i18n("Complexity:"), notationFrame), 0, 0); m_simplicityCombo = new KComboBox(notationFrame); @@ -120,9 +120,9 @@ QuantizeParameters::QuantizeParameters(TQWidget *parent, m_simplicityCombo->insertItem(i18n("Normal")); m_simplicityCombo->insertItem(i18n("Low")); m_simplicityCombo->insertItem(i18n("Very low")); - tqlayout->addWidget(m_simplicityCombo, 0, 1); + layout->addWidget(m_simplicityCombo, 0, 1); - tqlayout->addWidget(new TQLabel(i18n("Tuplet level:"), + layout->addWidget(new TQLabel(i18n("Tuplet level:"), notationFrame), 2, 0); m_maxTuplet = new KComboBox(notationFrame); m_maxTuplet->insertItem(i18n("None")); @@ -136,34 +136,34 @@ QuantizeParameters::QuantizeParameters(TQWidget *parent, m_maxTuplet->insertItem(i18n("8-Tuplet")); */ m_maxTuplet->insertItem(i18n("Any")); - tqlayout->addWidget(m_maxTuplet, 2, 1); + layout->addWidget(m_maxTuplet, 2, 1); m_counterpoint = new TQCheckBox(i18n("Permit counterpoint"), notationFrame); - tqlayout->addMultiCellWidget(m_counterpoint, 3, 3, 0, 1); + layout->addMultiCellWidget(m_counterpoint, 3, 3, 0, 1); m_gridBox = new TQGroupBox (1, Qt::Horizontal, i18n("Grid parameters"), parameterBox); TQFrame *gridFrame = new TQFrame(m_gridBox); - tqlayout = new TQGridLayout(gridFrame, 4, 2, 5, 3); + layout = new TQGridLayout(gridFrame, 4, 2, 5, 3); - tqlayout->addWidget(new TQLabel(i18n("Base grid unit:"), gridFrame), 0, 0); + layout->addWidget(new TQLabel(i18n("Base grid unit:"), gridFrame), 0, 0); m_gridUnitCombo = new KComboBox(gridFrame); - tqlayout->addWidget(m_gridUnitCombo, 0, 1); + layout->addWidget(m_gridUnitCombo, 0, 1); m_swingLabel = new TQLabel(i18n("Swing:"), gridFrame); - tqlayout->addWidget(m_swingLabel, 1, 0); + layout->addWidget(m_swingLabel, 1, 0); m_swingCombo = new KComboBox(gridFrame); - tqlayout->addWidget(m_swingCombo, 1, 1); + layout->addWidget(m_swingCombo, 1, 1); m_iterativeLabel = new TQLabel(i18n("Iterative amount:"), gridFrame); - tqlayout->addWidget(m_iterativeLabel, 2, 0); + layout->addWidget(m_iterativeLabel, 2, 0); m_iterativeCombo = new KComboBox(gridFrame); - tqlayout->addWidget(m_iterativeCombo, 2, 1); + layout->addWidget(m_iterativeCombo, 2, 1); m_durationCheckBox = new TQCheckBox (i18n("Quantize durations as well as start times"), gridFrame); - tqlayout->addMultiCellWidget(m_durationCheckBox, 3, 3, 0, 1); + layout->addMultiCellWidget(m_durationCheckBox, 3, 3, 0, 1); m_postProcessingBox = new TQGroupBox (1, Qt::Horizontal, i18n("After quantization"), this); @@ -188,17 +188,17 @@ QuantizeParameters::QuantizeParameters(TQWidget *parent, TQFrame *postFrame = new TQFrame(m_postProcessingBox); - tqlayout = new TQGridLayout(postFrame, 4, 1, 5, 3); + layout = new TQGridLayout(postFrame, 4, 1, 5, 3); m_rebeam = new TQCheckBox(i18n("Re-beam"), postFrame); m_articulate = new TQCheckBox (i18n("Add articulations (staccato, tenuto, slurs)"), postFrame); m_makeViable = new TQCheckBox(i18n("Tie notes at barlines etc"), postFrame); m_deCounterpoint = new TQCheckBox(i18n("Split-and-tie overlapping chords"), postFrame); - tqlayout->addWidget(m_rebeam, 0, 0); - tqlayout->addWidget(m_articulate, 1, 0); - tqlayout->addWidget(m_makeViable, 2, 0); - tqlayout->addWidget(m_deCounterpoint, 3, 0); + layout->addWidget(m_rebeam, 0, 0); + layout->addWidget(m_articulate, 1, 0); + layout->addWidget(m_makeViable, 2, 0); + layout->addWidget(m_deCounterpoint, 3, 0); TQPixmap noMap = NotePixmapFactory::toTQPixmap (NotePixmapFactory::makeToolbarPixmap("menu-no-note")); |