author | llornkcor <llornkcor> | 2002-04-12 18:05:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-12 18:05:12 (UTC) |
commit | 7e31b1fba119f69929d6744d7295555ff1727f4f (patch) (side-by-side diff) | |
tree | dc8a85f548599a26a4a6b4e6cc600b27e9575065 | |
parent | b7e13820e0adc60fa4927edeb60d8f2c3c221887 (diff) | |
download | opie-7e31b1fba119f69929d6744d7295555ff1727f4f.zip opie-7e31b1fba119f69929d6744d7295555ff1727f4f.tar.gz opie-7e31b1fba119f69929d6744d7295555ff1727f4f.tar.bz2 |
use resizing buttons for big German words
-rw-r--r-- | noncore/tools/clock/clock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/tools/clock/clock.cpp b/noncore/tools/clock/clock.cpp index 097ea90..a21a061 100644 --- a/noncore/tools/clock/clock.cpp +++ b/noncore/tools/clock/clock.cpp @@ -110,37 +110,37 @@ Clock::Clock( QWidget * parent, const char * name, WFlags f ) grp->setButton( 0 ); set = new QPushButton ( controls ); set->setMaximumSize(50,30); gl->addWidget( set, 0, 1 ); set->setText( tr( "Start" ) ); set->setEnabled( FALSE ); grp->insert( set ); reset = new QPushButton ( controls ); gl->addWidget( reset, 1, 1 ); reset->setText( tr( "Reset" ) ); reset->setEnabled( FALSE ); grp->insert( reset ); alarmOffBtn = new QPushButton ( controls ); - alarmOffBtn->setMaximumSize(60,30); +// alarmOffBtn->setMaximumSize(60,30); gl->addWidget( alarmOffBtn, 0, 2 ); alarmBtn = new QPushButton ( controls ); - alarmBtn->setMaximumSize(60,30); + // alarmBtn->setMaximumSize(60,30); gl->addWidget( alarmBtn, 1, 2 ); alarmBtn->setText( tr( "Set Alarm" ) ); connect( set, SIGNAL( pressed() ), SLOT( slotSet() ) ); connect( reset, SIGNAL( clicked() ), SLOT( slotReset() ) ); connect( alarmBtn, SIGNAL( clicked() ), SLOT( slotSetAlarm() ) ); connect( snoozeBtn, SIGNAL( clicked() ), SLOT( slotSnooze() ) ); connect( alarmOffBtn, SIGNAL( clicked() ), SLOT( slotToggleAlarm() ) ); connect( qApp, SIGNAL(appMessage(const QCString&, const QByteArray&)), this, SLOT(appMessage(const QCString&, const QByteArray&)) ); t = new QTimer( this ); connect( t, SIGNAL( timeout() ), SLOT( updateClock() ) ); t->start( 1000 ); |