summaryrefslogtreecommitdiff
authorwaspe <waspe>2003-11-16 19:47:24 (UTC)
committer waspe <waspe>2003-11-16 19:47:24 (UTC)
commitec20edfb25997783eb5eac54289b71929b694b87 (patch) (side-by-side diff)
treeddb3713d006a7c0756b7c5d2958c58b29e83a1a9
parent7253dc2e2e4bcdd630f9ec66a0623d8b097077ba (diff)
downloadopie-ec20edfb25997783eb5eac54289b71929b694b87.zip
opie-ec20edfb25997783eb5eac54289b71929b694b87.tar.gz
opie-ec20edfb25997783eb5eac54289b71929b694b87.tar.bz2
made text fit on small pda screen
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/tonleiter/menuwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/tonleiter/menuwidget.cpp b/noncore/multimedia/tonleiter/menuwidget.cpp
index 9cc2c6b..3dfa09d 100644
--- a/noncore/multimedia/tonleiter/menuwidget.cpp
+++ b/noncore/multimedia/tonleiter/menuwidget.cpp
@@ -1,39 +1,39 @@
#include "menuwidget.h"
#include <qlabel.h>
#include <qlayout.h>
MenuWidget::MenuWidget(TonleiterData* data,QWidget* parent,const char* name,WFlags f)
:QWidget(parent,name,f),data(data)
{
QGridLayout* layout=new QGridLayout(this,3,3,10,-1,"menulayout");
- QLabel* instLabel=new QLabel(tr("Instrument"),this,"instLabel");
+ QLabel* instLabel=new QLabel(tr("Instr."),this,"instLabel");
layout->addWidget(instLabel,0,0);
boxInst=new QComboBox(this,"boxInst");
connect(boxInst,SIGNAL(activated(int)),data,SLOT(setCurrentInstrumetID(int)));
layout->addWidget(boxInst,0,1);
editInst=new QPushButton(tr("Edit"),this,"editInst");
layout->addWidget(editInst,0,2);
QLabel* noteLabel=new QLabel(tr("Note"),this,"noteLabel");
layout->addWidget(noteLabel,1,0);
boxNote=new QComboBox(this,"boxNote");
connect(boxNote,SIGNAL(activated(int)),data,SLOT(setCurrentNote(int)));
layout->addWidget(boxNote,1,1);
for(int a=0;a<12;a++)
boxNote->insertItem(Note::notenames[a],a);
boxNote->setCurrentItem(data->getCurrentBaseNote());
- noteCheck=new QCheckBox(tr("show notes"),this,"noteCheck");
+ noteCheck=new QCheckBox(tr("show"),this,"noteCheck");
noteCheck->setChecked(data->isDrawNames());
connect(noteCheck,SIGNAL(toggled(bool)),data,SLOT(setDrawNames(bool)));
layout->addWidget(noteCheck,1,2);
QLabel* scaleLabel=new QLabel(tr("Scale"),this,"scaleLabel");
layout->addWidget(scaleLabel,2,0);
boxScale=new QComboBox(this,"boxScale");
connect(boxScale,SIGNAL(activated(int)),data,SLOT(setCurrentScaleID(int)));
layout->addWidget(boxScale,2,1);
editScale=new QPushButton(tr("Edit"),this,"editScale");
layout->addWidget(editScale,2,2);