[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kmenuedit
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-09-16 13:04:01
Message-ID: 20040916130401.52FC8990A () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

* Fix icon size on icon button when using huge icons on desktop
* Add whatsthis for %U etc. (exact copy from kdelibs/kio/kfile/kpropertiesdialog.cpp!)


  M +16 -1     basictab.cpp   1.42


--- kdebase/kmenuedit/basictab.cpp  #1.41:1.42
@@ -25,4 +25,5 @@
 #include <qgroupbox.h>
 #include <qhbox.h>
+#include <qwhatsthis.h>
 
 #include <klocale.h>
@@ -74,4 +75,17 @@ BasicTab::BasicTab( QWidget *parent, con
     _execEdit = new KURLRequester(general_group);
     _execEdit->lineEdit()->setAcceptDrops(false);
+    QWhatsThis::add(_execEdit,i18n(
+    "Following the command, you can have several place holders which will be replaced "
+    "with the actual values when the actual program is run:\n"
+    "%f - a single file name\n"
+    "%F - a list of files; use for applications that can open several local files at once\n"
+    "%u - a single URL\n"
+    "%U - a list of URLs\n"
+    "%d - the folder of the file to open\n"
+    "%D - a list of folders\n"
+    "%i - the icon\n"
+    "%m - the mini-icon\n"
+    "%c - the caption"));
+
     _launchCB = new QCheckBox(i18n("Enable &launch feedback"), general_group);
     _systrayCB = new QCheckBox(i18n("&Place in system tray"), general_group);
@@ -111,5 +125,6 @@ BasicTab::BasicTab( QWidget *parent, con
     // setup icon button
     _iconButton = new KIconButton(general_group);
-    _iconButton->setFixedSize(52,52);
+    _iconButton->setFixedSize(56,56);
+    _iconButton->setIconSize(48);
     connect(_iconButton, SIGNAL(iconChanged(QString)), SLOT(slotChanged()));
     grid->addMultiCellWidget(_iconButton, 0, 1, 2, 2);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic