| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Code is adapted from QCommonStyle which handles this case for other
styles.
Reviewed-by: thartman
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
According to the spec, if we pass a 0 out pointer,
EGL should tell us how many configurations are available.
However, we pass a 0 out pointer, but say that it's 256 elements big,
it confuses some implementations. Fix that by passing a 0 out pointer
and saying that it has space for 0 elements. Now we correctly get the
amount of available configs.
Reviewed-by: Rhys Weatherley <rhys.weatherley@nokia.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
Conflicts:
src/gui/kernel/qapplication_win.cpp
|
| | | |
| | | |
| | | |
| | | | |
The 'break' statement was misplaced... This was found thanks to coverity
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: brad
The declaration of getQApplicationPrivateInternal was only available
as 'friend' on Q_WS_WIN.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
The appAllTouchPoints variable isn't used on Windows, remove it.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added a new standard gesture, which is implemented using a native zoom and
rotate gestures on Windows and with a direct touch event handling on other
platforms.
Improved pan support - we subscribe to native pan gesture only when it's really
needed, and we pass proper flags for single finger horizontal/vertical panning.
Reviewed-by: Richard Moe Gustavsen
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
By default the QGesture::reset function is protected, and it can be made public
in the derived class if necessary.
Reviewed-by: trustme
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The default widget size is normally calculated from the root window size, but when running on an X server with Xinerama enabled, the root window spans all screens, making the widget far to large.
Use the default screen's size instead to give the widget a size that
should fit on a single screen.
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Aaron Kennedy
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The docs said that the default axis was (0, 0, 1), but the code
and unit tests were using (0, 0, 0). Modify the code to match the
docs because (0, 0, 0) is not very useful. Also optimize the
calculation of sin/cos values for 90, 180, and 270 degrees.
Reviewed-by: Aaron Kennedy
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
in a tree-like model with one of its grand-children being selected.
Added recursive deselection for the model.
Task-number: 232634
Reviewed-by: thierry
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before this patch gcc would fail with this message:
internal compiler error: in add_virtual_operand, at tree-ssa-operands.c:1317
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@nokia.com>
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: gunnar
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-By: TrustMe
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-By: TrustMe
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Move the code out of qapplication_x11.cpp, and qcommonstyle.cpp
to qkde.cpp into the QKde namespace.
This removes few of the code duplication, and is much cleaner.
This will also let us install hook easily later.
Reviewed-by: Jens Bache-Wiig
|