summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.cpp
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-31 17:16:34 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-31 17:16:34 +0000
commitd011eecad4b894e4829e8fc75836cb69f81452c0 (patch)
tree605bbbf4e7dd16b5a9ef4483c8b3dd8637dda9f8 /rbutil/rbutilqt/configure.cpp
parentd25baecc0bb15308ff430340da8c461a43ed235a (diff)
downloadrockbox-d011eecad4b894e4829e8fc75836cb69f81452c0.tar.gz
rockbox-d011eecad4b894e4829e8fc75836cb69f81452c0.tar.bz2
rockbox-d011eecad4b894e4829e8fc75836cb69f81452c0.zip
FS#10748 - rbutil: Explicitly override GUI layout direction setting for some widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23441 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r--rbutil/rbutilqt/configure.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 3e7b5f729e..7d427a66f7 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -71,6 +71,17 @@ Config::Config(QWidget *parent,int index) : QDialog(parent)
ui.treeDevices->setAlternatingRowColors(true);
ui.listLanguages->setAlternatingRowColors(true);
+ /* Explicitly set some widgets to have left-to-right layout */
+ ui.treeDevices->setLayoutDirection(Qt::LeftToRight);
+ ui.treeDevices->setLayoutDirection(Qt::LeftToRight);
+ ui.mountPoint->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyHost->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyPort->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyUser->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyPass->setLayoutDirection(Qt::LeftToRight);
+ ui.listLanguages->setLayoutDirection(Qt::LeftToRight);
+ ui.cachePath->setLayoutDirection(Qt::LeftToRight);
+
this->setModal(true);
connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept()));