diff options
| author | Shaun Reich <[email protected]> | 2009-03-27 01:03:02 +0000 |
|---|---|---|
| committer | Shaun Reich <[email protected]> | 2009-03-27 01:03:02 +0000 |
| commit | 87594350e88d630c5de58b2a73128b63ebfcc070 (patch) | |
| tree | 73d46221b68fb124e91978d7280c717b96140459 | |
| parent | 0bca984ad14487072631425304e1e2dcb22f681b (diff) | |
A few changes...
*The search bar displays "Search..." as that nice inactive-hinted text, this provides a clue as to what it is, aside from merely the small icon. Text disappears upon clicking
*Also changed text on tooltip from "Search" to "Click to begin the search".
*No need to specify layout direction as Left to Right, it is this way on construction.
svn path=/trunk/KDE/kdebase/apps/; revision=945167
| -rw-r--r-- | src/dolphinsearchbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinsearchbox.cpp b/src/dolphinsearchbox.cpp index 438944362..cc305599f 100644 --- a/src/dolphinsearchbox.cpp +++ b/src/dolphinsearchbox.cpp @@ -39,9 +39,9 @@ DolphinSearchBox::DolphinSearchBox(QWidget* parent) : hLayout->setSpacing(0); m_searchInput = new KLineEdit(this); - m_searchInput->setLayoutDirection(Qt::LeftToRight); m_searchInput->setClearButtonShown(true); m_searchInput->setMinimumWidth(150); + m_searchInput->setClickMessage(i18nc("@label:textbox", "Search...")); hLayout->addWidget(m_searchInput); connect(m_searchInput, SIGNAL(returnPressed()), this, SLOT(emitSearchSignal())); @@ -49,7 +49,7 @@ DolphinSearchBox::DolphinSearchBox(QWidget* parent) : m_searchButton = new QToolButton(this); m_searchButton->setAutoRaise(true); m_searchButton->setIcon(KIcon("edit-find")); - m_searchButton->setToolTip(i18nc("@info:tooltip", "Search")); + m_searchButton->setToolTip(i18nc("@info:tooltip", "Click to begin the search")); hLayout->addWidget(m_searchButton); connect(m_searchButton, SIGNAL(clicked()), this, SLOT(emitSearchSignal())); |
