summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* compile fix after the last commitDenis Dzyubenko2009-07-201-1/+1
|
* QDesktopServices::openUrl failed for local file paths with a file schemaDenis Dzyubenko2009-07-201-2/+4
| | | | | | | | | OpenUrl couldn't open relative urls because we were passing 'file:///' schema to the ShellExecute on Windows Reviewed-by: Prasanth Ullattil # with '#' will be ignored, and an empty message aborts the commit.
* Compile fix with namepaceshjk2009-07-203-16/+13
| | | | | | Some QT_{BEGIN,END}_HEADER macros had been missing or misplaced. Reviewed-by: thiago
* Doc: A few cleanups, fixes and improvements.Volker Hilsheimer2009-07-196-11/+14
|
* Doc: add \since 4.6 for new APIsVolker Hilsheimer2009-07-197-8/+30
|
* Doc: Document QAction::Priority and Qt::ToolButtonFollowStyle.Volker Hilsheimer2009-07-182-7/+27
|
* Doc: add documentation for new overloads, and mark old overloads thatVolker Hilsheimer2009-07-181-5/+57
| | | | might lead to incorrect results as obsolete (and explain why).
* optimize painting of dithered disabled textOswald Buddenhagen2009-07-171-2/+3
| | | | | | no need to calculate the bounding rect twice Reviewed-by: jbache
* Fix for selection with Shift-Arrow/Shift-Click in QListView's IconModeFrank Reininghaus2009-07-171-2/+8
| | | | | | | | | | | This addresses the selection of items using Shift-Arrow or Shift-Click in QListView's IconMode if the items are in a grid layout. In the case that the items do not have the same size (e.g., because their text is wrapped), this commit prevents the unexpected selection of additional items. New unit tests are included. Merge-request: 666 Reviewed-by: Olivier Goffart
* Fix compilation on Mac.Volker Hilsheimer2009-07-171-1/+1
|
* Implement QDesktopWidget::screenCount as a property, and add Q_PROPERTYVolker Hilsheimer2009-07-171-0/+4
| | | | for other attributes as well.
* Merge branch 'screencountchanged'Volker Hilsheimer2009-07-176-47/+80
|\ | | | | | | | | Reviewed-by: denis Reviewed-by: Prasanth
| * Implement QDesktopWidget::screenCountChanged signal on desktop platforms,Volker Hilsheimer2009-07-176-47/+80
| | | | | | | | | | | | | | and add manual testcase. Provide replacement "screenCount" for numScreens and document numScreens as obsolete to be more consistent with other APIs.
* | Add priority property to QActionJens Bache-Wiig2009-07-175-4/+44
| | | | | | | | | | | | | | | | | | | | | | We need this to support the behavior in Gtk+ where, when Qt::ToolButtonTextBesideIcon is used, only text labels for important actions are shown. It will also enable us to prioritize actions in the future when for instance collapsing a toolbar. Task-number: 258290 Reviewed-by: thierry
* | Lets the size of the completer be configurable in a way similar to QComboBox.Frédéric Mercille2009-07-173-3/+32
| | | | | | | | | | Merge-request: 884 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* | Add reading of kde colors Link and LinkVisited colors from qt apps in ↵Jeremy Whiting2009-07-171-0/+12
| | | | | | | | | | | | | | | | | | qapplication_x11.cpp so these two colors don't get overridden by the defaults when kde config is found. Merge-request: 917 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMarius Bugge Monsen2009-07-1724-257/+434
|\ \
| * | Move QMacStyle icon handling down to the common style.Norwegian Rock Cat2009-07-176-146/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more follow the cue of what is done on X11, mainly, if you are creating things like messageboxes or file views, you want them to follow the desktop (yes, you do). If you disable desktop settings aware, you get the old look. This also meant shifting around some functions into qt_cocoa_helpers_mac to make them more readily available instead of living in differnt files. People who use standard pixmap get the old values, but I think that's fine. If you haven't moved onto standardIcon (introduced in 4.1), you don't get the latest bling. Review-by: Jens Bache-Wiig
| * | Handle Jens' new variable.Norwegian Rock Cat2009-07-171-0/+3
| | | | | | | | | | | | | | | In theory, the new "follow style" value will never be hit, let's make that explicit in the code.
| * | Fixes: ItemView text editor is not visible with empty text and iconsOlivier Goffart2009-07-172-4/+16
| |/ | | | | | | | | | | | | It was not visible wicause its height was 0 Task-number: 257481 Reviewed-by: mbm
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-07-1710-21/+100
| |\
| | * Fix MinGW (g++ 3.4.5) compilation.Friedemann Kleint2009-07-171-3/+4
| | | | | | | | | | | | | | | ...to be reverted once it is deprecated. Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com>
| | * Allow picking up tool button style from the systemJens Bache-Wiig2009-07-167-4/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KDE and GNOME has the concept of a default tool button style that can be set system-wide. Qt currently allways default to IconOnly. I have added an optional Qt::ToolButtonSystemDefault value so you can opt-in to respect the system setting. We did not change the default because a lot of apps will look odd when for instance text is beside icons and the descriptive text is too long. Task-number: 237864 Reviewed-by: ogoffart
| | * ItemViews: don't commit data from editors when hiding the viewThierry Bastian2009-07-162-2/+2
| | | | | | | | | | | | Task-number: 258106
| | * Small simplification of code in ItemViews (delegate)Thierry Bastian2009-07-162-12/+6
| | |
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-07-1612-57/+130
| |\ \ | | |/
| | * QTreeView: fix the scrollTo with position center and bottomThierry Bastian2009-07-161-10/+14
| | | | | | | | | | | | | | | | | | This still needs to be autotested Task-number: 258225
| | * Doc: fix qdoc errors and clarify purpose of deviceTransform parameterVolker Hilsheimer2009-07-163-39/+58
| | | | | | | | | | | | | | | | | | in new overloads. Reviewed-By: bnilsen
| | * Fix warnings for mingwThierry Bastian2009-07-161-2/+2
| | |
| | * Fixed warnings on mingwThierry Bastian2009-07-161-2/+2
| | |
| | * Wrapped the XInput include with an ifdef.Denis Dzyubenko2009-07-161-0/+4
| | | | | | | | | | | | | | | | | | | | | That should fix compilation on platforms that do not have xinput headers installed. Reviewed-by: Thiago Macieira
| | * With license it's better.Alexis Menard2009-07-161-0/+41
| | |
| | * Update the license header in a few more placesThiago Macieira2009-07-162-2/+2
| | |
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-07-1535-295/+260
| |\ \
| * \ \ Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-07-1432-55/+180
| |\ \ \
| * | | | Doc: Review of documentation forDavid Boddie2009-07-141-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 254461 Reviewed-by: Alexis Menard
* | | | | Fixes: Do not create a mapping for filtered items in QSortFilterProxyModel.Marius Bugge Monsen2009-07-171-16/+26
| |_|_|/ |/| | | | | | | | | | | | | | | Task: 258227 Details: This patch fixes the problem where items that are filtered, can sometime still have a mapping. This creates a problem when they become visible again, and the outdated mapping already exists.
* | | | QGraphicsItems not painted after QGraphicsScene::clear().Bjoern Erik Nilsen2009-07-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that we didn't regenerate the bsp when adding items after calling QGraphicsScene::clear. Reviewed-by: alexis
* | | | fix warnings with mingwThierry Bastian2009-07-154-2/+6
| |_|/ |/| |
* | | fix build on linuxThierry Bastian2009-07-151-11/+1
| | |
* | | Compile fix.Denis Dzyubenko2009-07-151-0/+1
| | | | | | | | | | | | Include the qstylehelper header file since the macro uses it.
* | | Fix warnings for mingwThierry Bastian2009-07-1516-195/+92
| | | | | | | | | | | | | | | did a small refactor and used QStyleHelper::uniqueName in plastique and windows styles
* | | Fix license header in new files - make testcase pass.Volker Hilsheimer2009-07-153-9/+9
| | |
* | | Compile after a72c30020bdadbe0d82e583e17acd25715604f7bBjørn Erik Nilsen2009-07-151-1/+1
| | | | | | | | | | | | | | | We don't translate the painter anymore (we instead set the brush origin), so we don't have to (and shouldn't) translate the rects here.
* | | repair the mouse cursor on Windows CEJoerg Bornemann2009-07-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | The LoadImage function doesn't seem to work for loading cursors from resources. Also, it isn't marked as deprecated for Windows CE like on desktop Windows. So we'll just use it again. Reviewed-by: thartman
* | | Bad drawing of styled viewports within QAbstractScrollAreaOlivier Goffart2009-07-155-52/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes lots of refactoring, but the real problem was that in QWidgetPrivate::paintBackground we call drawPrimitive(PE_Widget) with a potentialy translated painter, but the opt.rect is not translated. When having a scroll area the calling function used to translated the painter and then pass the offset around to rectify. but drawPrimitive cannot rectify it. The solution is not to translate the painter but use other way to rectify the brush Task-number: 257517 Reviewed-by: bnilsen
* | | Fix painting of the background of QAbstractItemView, QTextEdit and coOlivier Goffart2009-07-151-1/+1
| | | | | | | | | | | | when only setting a border with the stylesheet
* | | support context menu for system tray icons on Windows CEJoerg Bornemann2009-07-141-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | This is Windows CE only. For Windows mobile we don't support context menus for system tray icons. Task-number: 250528 Reviewed-by: thartman
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtMarius Bugge Monsen2009-07-143-15/+19
|\ \ \
| * | | Make sure QGraphicsScene::update() only requires one event-loopBjørn Erik Nilsen2009-07-143-15/+19
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | iteration before the views are updated. A full scene update (scene.update()) already supported it because the scene called update() on the views directly. However, partially scene updates (scene.update(rect)) required two event-loop iterations before the views were updated. Auto-test included.