[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps
From: Diego Iastrubni <elcuco () kde ! org>
Date: 2008-08-15 23:02:06
Message-ID: 1218841326.348289.17167.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 847671 by iastrubni:
For the URL control of Dolphin and Konqueror to be LTR on RTL desktops (those are \
URLs, and are not affected by the direction of the desktop). Force the filterbar of \
Dolphin to be LTR as well, as again it deals with files/directories which are \
english/latin letters most of the time.
M +1 -0 dolphin/src/dolphincolumnview.cpp
M +1 -0 dolphin/src/dolphindetailsview.cpp
M +1 -0 dolphin/src/dolphiniconsview.cpp
M +1 -0 dolphin/src/filterbar.cpp
M +5 -1 konqueror/src/konqcombo.cpp
--- trunk/KDE/kdebase/apps/dolphin/src/dolphincolumnview.cpp #847670:847671
@@ -48,6 +48,7 @@
setSelectionMode(ExtendedSelection);
setFocusPolicy(Qt::NoFocus);
setFrameShape(QFrame::NoFrame);
+ setLayoutDirection(Qt::LeftToRight);
connect(this, SIGNAL(viewportEntered()),
controller, SLOT(emitViewportEntered()));
--- trunk/KDE/kdebase/apps/dolphin/src/dolphindetailsview.cpp #847670:847671
@@ -60,6 +60,7 @@
Q_ASSERT(settings != 0);
Q_ASSERT(controller != 0);
+ setLayoutDirection(Qt::LeftToRight);
setAcceptDrops(true);
setSortingEnabled(true);
setUniformRowHeights(true);
--- trunk/KDE/kdebase/apps/dolphin/src/dolphiniconsview.cpp #847670:847671
@@ -50,6 +50,7 @@
m_dropRect()
{
Q_ASSERT(controller != 0);
+ setLayoutDirection(Qt::LeftToRight);
setViewMode(QListView::IconMode);
setResizeMode(QListView::Adjust);
setSpacing(KDialog::spacingHint());
--- trunk/KDE/kdebase/apps/dolphin/src/filterbar.cpp #847670:847671
@@ -45,6 +45,7 @@
hLayout->addSpacing(KDialog::spacingHint());
m_filterInput = new KLineEdit(this);
+ m_filterInput->setLayoutDirection(Qt::LeftToRight);
m_filterInput->setClearButtonShown(true);
m_filter->setBuddy(m_filterInput);
hLayout->addWidget(m_filterInput);
--- trunk/KDE/kdebase/apps/konqueror/src/konqcombo.cpp #847670:847671
@@ -119,6 +119,7 @@
m_permanent( false ),
m_pageSecurity( KonqMainWindow::NotCrypted )
{
+ setLayoutDirection(Qt::LeftToRight);
setInsertPolicy( NoInsertion );
setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ));
setSizeAdjustPolicy( QComboBox::AdjustToMinimumContentsLength );
@@ -892,7 +893,10 @@
///////////////////////////////////////////////////////////////////////////////
KonqComboCompletionBox::KonqComboCompletionBox( QWidget *parent )
- :KCompletionBox( parent ) {}
+ :KCompletionBox( parent )
+{
+ setLayoutDirection(Qt::LeftToRight);
+}
void KonqComboCompletionBox::setItems( const QStringList& items )
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic