~ubuntu-branches/ubuntu/breezy/muse/breezy

« back to all changes in this revision

Viewing changes to score/papersize.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2004-02-07 15:18:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040207151822-es27xxkzbcxkebjm
Tags: 0.6.3-1
* New upstream version.
* Added patches:
  + [10_alsa_init_fix] New, from upstream CVS.
    Initialize direction variable when setting Alsa parameters.
  + [10_canvas_translation_fix] New, from upstream CVS.
    Do not translate tooltips twice in canvas popup.
  + [10_checkbox_fix] New, from upstream CVS.
    Use proper set/test methods on metronome checkboxes.
  + [10_html_doc_cleanup] New.
    Fix links and HTML errors in documentation.
  + [20_allow_system_timer] New.
    The new upstream version fails by default if the real-time clock
    could not be accessed (usually the case when not running suid-root).
    This patch reverts the old behaviour of falling back to the more
    inaccurate system timer.
* Updated patches:
  + [11_PIC_fixes_fixup] Rediffed.
* Removed patches:
  + [20_no_atomic_asm] Merged upstream.
* debian/compat: Splice out debhelper compatibility level from rules file.
* debian/control: Build-depend on latest jack release by default.
  Closes: #228788
* debian/control: Bump standards version.
* debian/control: Use auto-generated debconf dependency via misc:Depends.
* debian/control: Minor tweaks to the long description.
* debian/control: Tighten fluidsynth build dependency to sane version.
* debian/muse.doc-base: New. Register HTML documentation with doc-base.
* debian/templates: Tiny rewording, and typo fix.
* debian/templates, debian/po/*: Switch to po-debconf for translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//=========================================================
2
2
//  MusE
3
3
//  Linux Music Editor
4
 
//    $Id: papersize.cpp,v 1.1 2002/01/30 12:08:38 muse Exp $
 
4
//    $Id: papersize.cpp,v 1.1.1.1 2003/10/29 10:05:29 wschweer Exp $
5
5
//  (C) Copyright 2000 Werner Schweer (ws@seh.de)
6
6
//=========================================================
7
7
 
31
31
MMSpinBox::MMSpinBox(int v1, int v2, int step, int value, QWidget* parent)
32
32
   : QSpinBox(v1, v2, step, parent)
33
33
      {
34
 
      setSuffix("mm");
 
34
      setSuffix(QString("mm"));
35
35
      setValue(value);
36
36
      }
37
37
 
86
86
      {
87
87
      bp = barsPage;
88
88
 
89
 
      setCaption("MusE");
 
89
      setCaption(QString("MusE"));
90
90
      QVBoxLayout* layout = new QVBoxLayout(this);
91
91
 
92
92
      QGroupBox* g1 = new QGroupBox(4, Horizontal, tr("Paper Size"), this);
93
93
 
94
 
      a4 = new QRadioButton("A4", g1);
95
 
      new QLabel("210", g1);
96
 
      new QLabel("x", g1);
97
 
      new QLabel("297", g1);
 
94
      a4 = new QRadioButton(QString("A4"), g1);
 
95
      new QLabel(QString("210"), g1);
 
96
      new QLabel(QString("x"), g1);
 
97
      new QLabel(QString("297"), g1);
98
98
 
99
99
      user = new QRadioButton(tr("user"), g1);
100
100
      u1 = new QLineEdit(g1);
101
 
      new QLabel("x", g1);
 
101
      new QLabel(QString("x"), g1);
102
102
      u2 = new QLineEdit(g1);
103
103
 
104
104
      u1->setFixedWidth(35);
106
106
 
107
107
      QGroupBox* g2 = new QGroupBox(4, Horizontal, tr("Margins"), this);
108
108
      sb1 = new MMSpinBox(-5000, 5000, 10, int(leftMargin*10), g2);
109
 
      new QLabel("left Margin", g2);
 
109
      new QLabel(tr("left Margin"), g2);
110
110
      sb2 = new MMSpinBox(-5000, 5000, 10, int(topMargin*10), g2);
111
 
      new QLabel("top Margin", g2);
 
111
      new QLabel(tr("top Margin"), g2);
112
112
      sb3 = new MMSpinBox(-5000, 5000, 10, int(rightMargin*10), g2);
113
 
      new QLabel("right Margin", g2);
 
113
      new QLabel(tr("right Margin"), g2);
114
114
      sb4 = new MMSpinBox(-5000, 5000, 10, int(bottomMargin*10), g2);
115
 
      new QLabel("bottom Margin", g2);
 
115
      new QLabel(tr("bottom Margin"), g2);
116
116
 
117
117
      QButtonGroup* bg = new QButtonGroup(g1);
118
118
      bg->hide();
143
143
 
144
144
      QWidget* w6 = new QGroupBox(4, Horizontal, tr("Layout"), this);
145
145
      sb5 = new QSpinBox(1, 8, 1, w6);
146
 
      new QLabel("Bars across the Page", w6);
 
146
      new QLabel(tr("Bars across the Page"), w6);
147
147
      sb5->setValue(barsPage);
148
148
      sb6 = new ScaleSpinBox(30, 500, 10, int(printScale*100.0), w6);
149
149
      new QLabel(tr("Scale"), w6);