Various improvements for RTL languages.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1527 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-24 21:26:24 +00:00
parent a73c260e6c
commit 271ee23116
3 changed files with 6 additions and 5 deletions

View File

@@ -689,6 +689,8 @@ void TitleBlockTemplateView::loadTemplate(TitleBlockTemplate *tbt) {
// assign the layout to a basic QGraphicsWidget
form_ = new QGraphicsWidget();
// enforce the layout direction to avoid reversing the template rendering
form_ -> setLayoutDirection(Qt::LeftToRight);
form_ -> setLayout(tbgrid_);
scene() -> addItem(form_);
adjustSceneRect();