mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-17 08:19:59 +01:00
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:
@@ -79,7 +79,6 @@ void TitleBlockTemplateLogoManager::initWidgets() {
|
||||
logos_view_ -> setMinimumSize(iconsize() * 2.9);
|
||||
logos_view_ -> setIconSize(iconsize());
|
||||
logos_view_ -> setWrapping(true);
|
||||
logos_view_ -> setFlow(QListView::LeftToRight);
|
||||
logos_view_ -> setMovement(QListView::Static);
|
||||
logos_view_ -> setResizeMode(QListView::Adjust);
|
||||
add_button_ = new QPushButton(tr("Ajouter un logo"));
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user