[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/oxygen-style-animated
From: Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date: 2009-11-01 2:56:34
Message-ID: 1257044194.629110.3781.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1043202 by hpereiradacosta:
added TabBar::TabTextToIconSpace property to have correct icon location in tabs for \
Qt 4.6. Also fixed obsolete call to QComboBox::editable()
M +2 -1 oxygen.cpp
--- branches/work/oxygen-style-animated/oxygen.cpp #1043201:1043202
@@ -178,6 +178,7 @@
setWidgetLayoutProp(WT_TabBar, TabBar::TabContentsMargin + Right, 5);
setWidgetLayoutProp(WT_TabBar, TabBar::TabContentsMargin + Top, 2);
setWidgetLayoutProp(WT_TabBar, TabBar::TabContentsMargin + Bot, 4);
+ setWidgetLayoutProp(WT_TabBar, TabBar::TabTextToIconSpace, 13 );
setWidgetLayoutProp(WT_TabBar, TabBar::ScrollButtonWidth, 18);
setWidgetLayoutProp(WT_TabWidget, TabWidget::ContentsMargin, 4);
@@ -2788,7 +2789,7 @@
}
} else if( const QComboBox *comboBox = qobject_cast<const QComboBox \
*>(widget) ){
- if( comboBox->editable() )
+ if( comboBox->isEditable() )
{
color = pal.color( QPalette::Text );
background = pal.color( QPalette::Background );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic