author | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
commit | ef1d97a243957180f5ffc3c3b055ffd8bf52e157 (patch) (unidiff) | |
tree | 57ebf97cfd0d324ffcecbfb0c9814745f73d54a5 /korganizer | |
parent | 0850ade22908615389800c6ee973f5906154d980 (diff) | |
download | kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.zip kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.gz kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.bz2 |
many stribg fixes
-rw-r--r-- | korganizer/filteredit_base.cpp | 13 | ||||
-rw-r--r-- | korganizer/koeditordetails.cpp | 3 | ||||
-rw-r--r-- | korganizer/koeditorgeneral.cpp | 8 | ||||
-rw-r--r-- | korganizer/koprefsdialog.cpp | 6 |
4 files changed, 18 insertions, 12 deletions
diff --git a/korganizer/filteredit_base.cpp b/korganizer/filteredit_base.cpp index 15a4aaa..505edf6 100644 --- a/korganizer/filteredit_base.cpp +++ b/korganizer/filteredit_base.cpp | |||
@@ -15,2 +15,3 @@ | |||
15 | #include <qbuttongroup.h> | 15 | #include <qbuttongroup.h> |
16 | #include <qapplication.h> | ||
16 | #include <qradiobutton.h> | 17 | #include <qradiobutton.h> |
@@ -109,3 +110,3 @@ FilterEdit_base::FilterEdit_base( QWidget* parent, const char* name, WFlags fl ) | |||
109 | languageChange(); | 110 | languageChange(); |
110 | resize( QSize(324, 281).expandedTo(minimumSizeHint()) ); | 111 | resize( QSize(300, 200).expandedTo(minimumSizeHint()) ); |
111 | clearWState( WState_Polished ); | 112 | clearWState( WState_Polished ); |
@@ -133,4 +134,10 @@ void FilterEdit_base::languageChange() | |||
133 | textLabel1->setText( tr( "Exclude" ) ); | 134 | textLabel1->setText( tr( "Exclude" ) ); |
134 | mRecurringCheck->setText( tr( "recurring events" ) ); | 135 | if (QApplication::desktop()->width() > 480 ) { |
135 | mCompletedCheck->setText( tr( "completed to-dos" ) ); | 136 | mCompletedCheck->setText( tr( "completed to-dos" ) ); |
137 | mRecurringCheck->setText( tr( "recurring events" ) ); | ||
138 | } | ||
139 | else { | ||
140 | mCompletedCheck->setText( tr( "compl.todos" ) ); | ||
141 | mRecurringCheck->setText( tr( "recurr. events" ) ); | ||
142 | } | ||
136 | textLabel1_2->setText( tr( "Exclude" ) ); | 143 | textLabel1_2->setText( tr( "Exclude" ) ); |
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp index b73d22f..cf0a458 100644 --- a/korganizer/koeditordetails.cpp +++ b/korganizer/koeditordetails.cpp | |||
@@ -146,3 +146,4 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) | |||
146 | if ( qApp->desktop()->width() < 300 ) | 146 | if ( qApp->desktop()->width() < 300 ) |
147 | mListView->setFixedHeight(80); | 147 | topLayout->setSpacing(1); |
148 | ;//mListView->setFixedHeight(80); | ||
148 | topLayout->addMultiCellWidget(mOrganizerLabel,0,0,0,3); | 149 | topLayout->addMultiCellWidget(mOrganizerLabel,0,0,0,3); |
diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp index b4fe965..f5eb52e 100644 --- a/korganizer/koeditorgeneral.cpp +++ b/korganizer/koeditorgeneral.cpp | |||
@@ -251,5 +251,5 @@ void KOEditorGeneral::pickAlarmSound() | |||
251 | if (mAlarmProgramButton->isOn()) | 251 | if (mAlarmProgramButton->isOn()) |
252 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Proc.Al.: ") + mAlarmProgram ); | 252 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Proc.Al.: ") + getFittingPath(mAlarmProgram) ); |
253 | if ( mAlarmSoundButton->isOn()) | 253 | if ( mAlarmSoundButton->isOn()) |
254 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Audio.Al.: ") + mAlarmSound ); | 254 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Audio.Al.: ") + getFittingPath(mAlarmSound) ); |
255 | } | 255 | } |
@@ -279,5 +279,5 @@ void KOEditorGeneral::pickAlarmProgram() | |||
279 | if (mAlarmProgramButton->isOn()) | 279 | if (mAlarmProgramButton->isOn()) |
280 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Proc.Al.: ") + mAlarmProgram ); | 280 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Proc.Al.: ") + getFittingPath(mAlarmProgram) ); |
281 | if ( mAlarmSoundButton->isOn()) | 281 | if ( mAlarmSoundButton->isOn()) |
282 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Sound.Al.: ") + mAlarmSound ); | 282 | ((QWidget*)parent())->topLevelWidget()->setCaption(i18n("Sound.Al.: ") + getFittingPath(mAlarmSound) ); |
283 | } | 283 | } |
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index ea73fd0..1b24f56 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp | |||
@@ -718,3 +718,3 @@ void KOPrefsDialog::setupViewsTab() | |||
718 | QHBox *habo = new QHBox( topFrame ); | 718 | QHBox *habo = new QHBox( topFrame ); |
719 | if ( QApplication::desktop()->width() < 320 ) { | 719 | if ( QApplication::desktop()->width() <= 480 ) { |
720 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); | 720 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); |
@@ -722,6 +722,4 @@ void KOPrefsDialog::setupViewsTab() | |||
722 | ii++; | 722 | ii++; |
723 | |||
724 | } else { | 723 | } else { |
725 | new QLabel ( i18n("Show events that recur "), habo ); | 724 | new QLabel ( i18n("Show events that recur "), habo ); |
726 | |||
727 | } | 725 | } |
@@ -740,3 +738,3 @@ void KOPrefsDialog::setupViewsTab() | |||
740 | habo = new QHBox( topFrame ); | 738 | habo = new QHBox( topFrame ); |
741 | if ( QApplication::desktop()->width() < 320 ) { | 739 | if ( QApplication::desktop()->width() <= 480 ) { |
742 | lab = new QLabel (i18n("Show in every cell ") , topFrame ); | 740 | lab = new QLabel (i18n("Show in every cell ") , topFrame ); |