| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
it was even a bug when checking against QMetaType::Float because Float
is a user type so it could never be true
|
| |
|
| |
|
|
|
|
|
| |
for unreachable code, break missing and uninitialized members
in constructors
|
|
|
|
|
|
|
| |
We don't get a FontChange event initially, so the control ended up
with the default font instead.
Reviewed-by: Andreas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change would have been much simpler if either QGraphicsItem
inherited QObject, or if we had some similar QPointer-like class that
supported QGraphicsItem. The issue is this: Each item can delegate
another item to be its focus proxy. That item can be a parent or child,
or something completely unrelated. Either of the two items can be
deleted independently.
The former solution was to store backpointers in a map in the scene.
Problem is, the items may not be in a scene when this happens, they
may be removed from the scene, and the items may be moved between
two scenes.
The bad part about this fix is that it adds another pointer to
QGraphicsItemPrivate.
Reviewed-by: Shane Kearns <shane.kearns@sosco.com>
|
|
|
|
|
| |
Task-number: 258378
Reviewed-by: Maurice
|
|
|
|
|
|
|
| |
Also, try not to regress in functionality (which the last compile fix
did just a little)
Reviewed-by: Thomas Hartmann
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When specifying round corners with QStyleSheetStyle and no border-width
specified, the round corners were not rendered with antialiasing. Furthermore,
if border-width was set to 0, part of the border was rendered in discordance
with CSS3.
The background in now rendered directly instead of drawing a clipped
rectangle. The actual border width is checked before rendering.
A test has been added at tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui
Task-number: 230362
Reviewed-by: olivier
|
|
|
|
| |
Reviewed-by: Joerg
|
|
|
|
|
|
|
|
| |
You can now also set the axis following hte Qt::Axis enum
Note: I'm not 100% sure about the maths in QGraphicsRotation::applyTo
Feel free to fix it.
Reviewed-by: ogoffart
|
|
|
|
|
|
|
|
| |
On windows we were not checking whether the widgets receiving the
mouse events are blocked by another modal widget or not.
Task-number: 255912
Reviewed-by: Thierry Bastian
|
|
|
|
|
|
|
|
| |
Widgets with the WA_DontShowOnScreen attribute must not have a window
decoration.
Autotest: tst_QWidget::initialPosForDontShowOnScreenWidgets
Reviewed-by: thartman
|
|
|
|
|
|
| |
There's no QT_OS_WINCE define.
Reviewed-by: mauricek
|
|
|
|
|
|
| |
Q_WS_SINCE_WM ifdefs were broken
Reviewed-by: Joerg
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
| |
Reviewed-by: Trust Me
|
|
|
|
|
|
|
|
|
|
|
| |
Added WA_StyledBackground to QMenuBar when using style sheets. This also implies
that CE_PanelMenuBar (drawing only the menubar border) no longer needs to
be drawn.
Tested in uiloader/baselne/css_borderimage_allwidgets.ui.
Task-number: 230363
Reviewed-by: olivier
|
|
|
|
| |
Reviewed-by: Oswald Buddenhagen
|
|
|
|
|
|
|
| |
string is a multi-length one
Task-number: QT-10
Reviewed-by: Oswald Buddenhagen
|
|
|
|
|
| |
Reviewed-by: Oswald Buddenhagen
Task-number: QT-10
|
|
|
|
|
|
|
|
|
| |
of the biggest string
In case the strings contains multiple strings separated by \x9c
Reviewed-by: Oswald Buddenhagen
Task-number: QT-10
|
|
|
|
|
|
|
|
|
|
|
| |
Patch originally from Oswald on Jira QT-10, with few a modifications.
If a string contains multiple variants sorted by decreasing length,
separated by \x9c, it will try to paint the longest variant which fits
into the bounding box.
Reviewed-by: Oswald Buddenhagen
Task-Number: QT-10
|
|
|
|
|
|
|
|
| |
This function was too strict. It returned 0 if the property wasn't of
type QVariant::Double. Now it tests for QMetaType::Float too.
Reviewed-by: kh1
Reviewed-by: mauricek
|
|
|
|
| |
Reviewed-by: mauricek
|
|
|
|
| |
Reviewed-by: Kavindra
|
|
|
|
|
|
|
|
|
|
| |
has been set.
The hasFrame() or frame property of the QStyleOptionSpinBox was not being copiedthrough to the QStyleOptionComboBox inside the paintEvent method if a
calendarPopup had been enabled.
Task-number:259510
Reviewed-by:Jens Bache-Wiig
|
|\ |
|
| |
| |
| |
| | |
Reviewed-by: Maurice
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
Conflicts:
src/gui/dialogs/qfiledialog_win.cpp
|
| |
| |
| |
| | |
Reviewed-by: Joerg
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Conflicts:
configure
tests/auto/moc/tst_moc.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: 259143
Merge-request: 1119
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QTableView with header-swapped rows wouldn't scroll correctly when PageUp or PageDown pressed.
Simplified calculation for next currentIndex provided in QTableView::moveCursor.
Task-number: 259308
Reviewed-by: olivier
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
use correct function pointer (Get)
Reviewed-by: Thomas Hartmann
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
previous version could run in an endless loop with infinite models.
Reviewed-by: olivier
|
| | |
| | |
| | |
| | |
| | |
| | | |
We must guard the code with QT_WINCE_GESTURES.
Reviewed-by: TrustMe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We only reacted to font changes before when the whole theme changed.
Two things had to be fixed to support this. We need to check if the
font changed in QGtkStyle::updateTheme and we need to make sure that
QApplication does not reset these settings for us.
Reviewed-by: joao
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added some static functions to QIcon to support desktop
themes based on the freedesktop spec. It is not intended to
replace KIcon and the intention is to use it when available to
share icon cache between applications.
Applications currently using icon themes are Assistant, Designer
and the textedit demo.
Reviewed-by: ogoffart
|
| | | |
|