summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2010-01-03 20:04:45 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2010-01-03 20:04:45 +0000
commita398e446805d200c6b553424cf69dc3f861fed31 (patch)
treed7546984152da92129bae41e0346e47e046cae28
parent443cba7507a6a947bdca8d6b49051659ed1f5503 (diff)
rbutil: Explicitly set some widgets layout direction to LTR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24173 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/browsedirtree.cpp1
-rw-r--r--rbutil/rbutilqt/configure.cpp1
-rw-r--r--rbutil/rbutilqt/encttscfggui.cpp1
-rw-r--r--rbutil/rbutilqt/themesinstallwindow.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/browsedirtree.cpp b/rbutil/rbutilqt/browsedirtree.cpp
index fa8aa74bff..dd05ab7f70 100644
--- a/rbutil/rbutilqt/browsedirtree.cpp
+++ b/rbutil/rbutilqt/browsedirtree.cpp
@@ -55,6 +55,7 @@ void BrowseDirtree::setDir(const QDir &dir)
ui.tree->expand(p);
ui.tree->scrollTo(p);
ui.tree->resizeColumnToContents(0);
+ ui.tree->setLayoutDirection(Qt::LeftToRight);
}
}
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 3c31ab75dd..3dff2b1397 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -80,6 +80,7 @@ Config::Config(QWidget *parent,int index) : QDialog(parent)
ui.proxyPass->setLayoutDirection(Qt::LeftToRight);
ui.listLanguages->setLayoutDirection(Qt::LeftToRight);
ui.cachePath->setLayoutDirection(Qt::LeftToRight);
+ ui.comboTts->setLayoutDirection(Qt::LeftToRight);
this->setModal(true);
diff --git a/rbutil/rbutilqt/encttscfggui.cpp b/rbutil/rbutilqt/encttscfggui.cpp
index 2ff1e93003..b063b658bf 100644
--- a/rbutil/rbutilqt/encttscfggui.cpp
+++ b/rbutil/rbutilqt/encttscfggui.cpp
@@ -59,6 +59,7 @@ void EncTtsCfgGui::setUpWindow()
gridLayout->addWidget(label, i, 0);
QWidget *widget = createWidgets(m_settingsList.at(i));
gridLayout->addWidget(widget, i, 1);
+ widget->setLayoutDirection(Qt::LeftToRight);
QWidget *btn = createButton(m_settingsList.at(i));
if(btn != NULL)
{
diff --git a/rbutil/rbutilqt/themesinstallwindow.cpp b/rbutil/rbutilqt/themesinstallwindow.cpp
index c36560a47b..4717457fdb 100644
--- a/rbutil/rbutilqt/themesinstallwindow.cpp
+++ b/rbutil/rbutilqt/themesinstallwindow.cpp
@@ -35,6 +35,7 @@ ThemesInstallWindow::ThemesInstallWindow(QWidget *parent) : QDialog(parent)
ui.themePreview->clear();
ui.themePreview->setText(tr("no theme selected"));
ui.labelSize->setText(tr("no selection"));
+ ui.listThemes->setLayoutDirection(Qt::LeftToRight);
ui.themeDescription->setLayoutDirection(Qt::LeftToRight);
connect(ui.buttonCancel, SIGNAL(clicked()), this, SLOT(close()));