-rw-r--r-- | kmicromail/composemail.cpp | 26 | ||||
-rw-r--r-- | kmicromail/composemailui.ui | 4 | ||||
-rw-r--r-- | kmicromail/selectstoreui.ui | 8 |
3 files changed, 26 insertions, 12 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 35ad367..5f7a76f 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp @@ -20,2 +20,3 @@ #include <qcheckbox.h> +#include <qiconset.h> #include <qtimer.h> @@ -112,2 +113,19 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m warnAttach = true; + QIconSet icon; + //icon = SmallIcon("fileexport"); + icon = SmallIcon("filesave"); + SaveButton->setIconSet (icon ) ; + if ( QApplication::desktop()->width() < 320 ) { + SaveButton->setText ("") ; + SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ; + } + else + SaveButton->setText (i18n("Save")); +#ifndef DESKTOP_VERSION + QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold ); + QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold ); + QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold ); +#endif + message->setFont ( KOPrefs::instance()->mComposeFont ); + message->setWordWrap (QMultiLineEdit::WidgetWidth); if ( smtpAccounts.count() > 0 ) { @@ -116,3 +134,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m QMessageBox::information( 0, i18n( "Problem" ), - i18n( "Please create an SMTP account first.\nThe SMTP is needed for sending mail.\n" ), + i18n( "Please create an\nSMTP account first.\nThe SMTP is needed\nfor sending mail.\n" ), i18n( "Ok" ) ); @@ -121,7 +139,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m connect( smtpAccountBox, SIGNAL( activated(int) ), SLOT( fillValues(int) ) ); - message->setFont ( KOPrefs::instance()->mComposeFont ); - message->setWordWrap (QMultiLineEdit::WidgetWidth); -#ifndef DESKTOP_VERSION - QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold ); -#endif + diff --git a/kmicromail/composemailui.ui b/kmicromail/composemailui.ui index 0a5a750..c66b0c8 100644 --- a/kmicromail/composemailui.ui +++ b/kmicromail/composemailui.ui @@ -15,3 +15,3 @@ <width>276</width> - <height>262</height> + <height>263</height> </rect> @@ -449,3 +449,3 @@ <name>text</name> - <string>Save</string> + <string> S</string> </property> diff --git a/kmicromail/selectstoreui.ui b/kmicromail/selectstoreui.ui index 2da103b..89f6ebc 100644 --- a/kmicromail/selectstoreui.ui +++ b/kmicromail/selectstoreui.ui @@ -14,4 +14,4 @@ <y>0</y> - <width>279</width> - <height>304</height> + <width>230</width> + <height>307</height> </rect> @@ -184,3 +184,3 @@ <name>text</name> - <string>Prefix will prepend, no need to enter it!</string> + <string>Prefix will prepend, do not enter</string> </property> @@ -248,3 +248,3 @@ <name>text</name> - <string>apply only to mails smaller</string> + <string>only mails smaller</string> </property> |