summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the mouse handler of FEP when in inline edit mode.axis2009-06-102-55/+18
| | | | | | We now commit the text if the mouse handler is invoked. This prevents the case where the VK cannot be brought up because the widget is the only focusable widget and is stuck in inline edit mode.
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicSami Merilä2009-06-102-36/+23
|\
| * Switched QDesktopServices mail-to URL handling to RSendAs in Symbian.Janne Anttila2009-06-102-36/+23
| | | | | | | | | | | | | | | | | | Earlier used CSendUi required extensiva capabilities to work correctly, that's why "new email" option in desktop services example application did not work correctly with self signed capabilities. RSendAs requires lower capabilities since SendAs server (separate process) takes care of necessary actions to send the message.
* | S60Style: Fix scrollbar error, when scrollbar PM minimum length is less than ↵Sami Merilä2009-06-101-0/+5
|/ | | | its width on horizontal scrollbar (and height on vertical scrollbar).
* Itemviews have go their focus frame back.Alessandro Portale2009-06-091-4/+4
| | | | Got lost with dc177883bf98a68e61c9a9cda7e1ba9464079275
* Attempt to load default skin only if it is present.Alessandro Portale2009-06-081-1/+3
|
* Removal of inneccessary QS60StylePrivate scopesAlessandro Portale2009-06-081-31/+31
|
* pointSize = 7 seems to be a good desfault for S60Alessandro Portale2009-06-081-1/+0
| | | | | There were no objections from the field with ing one Year of Tech Previews.
* Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-06-0817-73/+106
|\
| * Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-06-0817-73/+106
| |\ | | | | | | | | | | | | Conflicts: tests/auto/qlocalsocket/tst_qlocalsocket.cpp
| | * Fixed an issue with graphicssystem raster on 8 and 16 bit X servers.Trond Kjernåsen2009-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We didn't actually check the depth of the target window before calling the qt_x11_drawImage() fu, that will only work with depths >= 24. Task-number: 255311 Reviewed-by: Samuel BT: yes
| | * Revert "BT: Fixed crash on Mac caused by erroneous handling of native focus ↵jasplin2009-06-051-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | events." This reverts commit 7314c07a3e443b1d5349b419a03db8d41ca43f7e. As reported by Eike, this patch caused several problems for Qt Creator. Potentially it may cause problems for other (external) applications as well. An alternative fix (scheduled for 4.5.x) needs to be found for tasks 254456 and 254460. Reviewed-by: Richard Moe Gustavsen
| | * Example MDI: keybord focus not working correctly!Richard Moe Gustavsen2009-06-051-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | The reason is that cocoa looses the first responder when we raise the fake window inside the MDA area. So we need to re-set the first responder again Task-number: 255040 Reviewed-by: Trenton Schulz
| | * Fixed text drawing on Windows in 16 bit mode.Trond Kjernaasen2009-06-052-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were several problems with antialiased text in 16 bit mode under Windows. No gamma correction was done, yet we prepared the cached glyphs for gamma correction. The mask format we rendered the glyphs into was also set to the desktop depth, which implied that information was lost and the text looked rather odd. Reviewed-by: Samuel BT: yes
| | * Document the proper signals that the ::open() convenience connects to.Norwegian Rock Cat2009-06-044-6/+15
| | | | | | | | | | | | | | | | | | We were saying that it connected to accepted it all these cases, but it actually is doing some nice magic that makes sense assuming you document it.
| | * Document that textVisible is optional when it comes to styles.Norwegian Rock Cat2009-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | No progress bars on the mac show text and it would be bad if we allowed it. There's nothing stopping people from connecting the valueChanged() signal to a slot and have a real label layed out correctly that actually updates with the amount of time it takes to complete, etc. This is more what they do on Mac OS X if they decide to show a label.
| | * BT: Fixes Crash when deleting a QProgressBar which has been styled with ↵Olivier Goffart2009-06-041-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMotifStyle Same fix as in e9a7e43031d7c1ee712e43be682c4e2c183759c4 but with motif Reported by https://bugs.kde.org/show_bug.cgi?id=193911 Task-number: 255138 Reviewed-by: jbache
| | * BT: Fix a crash in the SDI example in CocoaNorwegian Rock Cat2009-06-031-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was quite a bug and it showed to some issues that I hadn't taken into account when doing the initial port to Cocoa. The issue was that we weren't "merging" items into the application menu if an item had already been associated with it. Which seems OK for applications that create one window with one menubar, but breaks down horrible when you have multiple windows with each having their own menubar. The result is that items in the application menu potentially go to the wrong window (and the potential crash). Since there can only ever be one "Quit", "About", or "Preferences" menu item in Cocoa, we need to make sure that we keep these items in sync whenever we switch the menubar or remove actions that are being deleted. That's what we do here. FWIW, QActions with "ApplicationSpecificRole" for their menu role have potential to cause memory leaks or other bugs if abused. If you are a happy open source hacker who wants a thankless job, solving them would get you lots of goodwill in my book. Task-number: 255038 Reviewed-by: Richard Moe Gustavsen
| | * Fixed raster bug causing fully clipped images to be partially blended.Samuel Rødal2009-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The blend functions assume the width / height of the images being blended to be greater than 0. A width of 0 caused the first iteration of a duff's device memcpy (QT_MEMCPY_USHORT) to be executed, thus blending 8 pixels instead of none. BT: yes Task-number: 255014 Reviewed-by: Trond
| | * Fixed a byte ordering issue when using the raster graphicssystem.Trond Kjernåsen2009-06-021-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | The R and B channels were swapped on little endian machines with BGR layout. Task-number: 254934 Reviewed-by: Samuel
| | * Avoid a crash when setting a focus in a widget hierarchy containingDenis Dzyubenko2009-06-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | both visible and invisible widgets. This is a quick hack to avoid a crash in Qt when setting a focus on a visible widget that has invisible parent. Proper fix was committed into master 1a7da7096bbda17197738061902f4489af234bc0, see it's description for more details. Task-number: 254563 Reviewed-by: Thierry Bastian
| | * BT: Remove duplicate code and fix font parsing.Norwegian Rock Cat2009-06-022-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QFont has a feature that you can pass a comma-separated list and it will walk through the list and match the font that it hits first. There's a nice static function that X11 and Windows uses, but the Mac was using an older copied version of it. This old version didn't handle quoting which is what happens in the style sheet. So, using the same code makes everything work well. As a bonus, Creator looks correct again. Reviewed-by: Simon Hausmann
| | * Use a QVarLengthArray instead of some hacky self-made containerHarald Fernengel2009-06-021-12/+3
| | | | | | | | | | | | | | | | | | | | | This won't leak on error case, and will work with arbitrary sizes. Also changed from int to short as instructed by Samuel. Reviewed-by: Samuel <qt-info@nokia.com>
| | * BT: Fixed crash on Mac caused by erroneous handling of native focus events.jasplin2009-06-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Mac, a widget with a NoFocus policy could still get focus (if only temporarily) as the result of a native focus event. In particular, a line edit with a completer should not lose focus (if only for a brief moment) as a result of the completer popup being shown. This will for example cause an item delegate to think that the user has navigated away from the cell and delete the line edit as a result. This will in turn cause the completer to access a null pointer. Reviewed-by: Richard Moe Gustavsen Task-number: 254456 and 254460
| | * Fixes possible infinite loop in QApplication::topLevelAtJoão Abecasis2009-06-021-4/+4
| | | | | | | | | | | | | | | KDE Bug: https://bugs.kde.org/show_bug.cgi?id=191759 Reviewed-by: Bradley T. Hughes
* | | Avoid unnecessary calls to FocusChanged in Symbian.Janne Anttila2009-06-081-3/+6
|/ / | | | | | | | | | | | | Called setFocus only when the widget does not already have the focus. This should remove unncessary calls to FocusChanged since CCoeControl always calls FocusChanged when SetFocus is called, even there was no changes in focus.
* | S60Style: Styled graphic support for editors.Sami Merilä2009-06-053-2/+34
| |
* | S60Style: Remove some magic numbers.Sami Merilä2009-06-051-7/+10
| |
* | S60Style: Missing break-statementSami Merilä2009-06-051-0/+1
| |
* | S60Style: More styleHintsSami Merilä2009-06-051-1/+27
| |
* | Prevent double deletion of m_themePaletteAlessandro Portale2009-06-052-16/+20
| | | | | | | | RevBy: Sami Merila
* | Turned off input methods on Windows when using certain hints.axis2009-06-051-1/+6
| | | | | | | | | | If any of those hints are present, complex input is not possible, so input methods should be turned off on Windows.
* | Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-06-052-2/+13
|\ \
| * | S60Style: Drop middlesection from tab graphics, if there is very little of ↵Sami Merilä2009-06-051-0/+10
| | | | | | | | | | | | tab content.
| * | Made Selection updates relative to the block.axis2009-06-051-2/+3
| | | | | | | | | | | | | | | Otherwise the update would always end up with the selection being in the first block.
* | | Added subElementRect implementation for SE_ItemViewItemCheckIndicator.Janne Anttila2009-06-051-0/+2
|/ / | | | | | | | | | | S60Style did not implement SE_ItemViewItemCheckIndicator if given option was somethign else than QStyleOptionViewItemV4. This causes some autotests to fail. Added appropriate query for QCommonStyle.
* | Compile on newer SDKs >= S60 5.0.Jason Barron2009-06-051-1/+1
| | | | | | | | Semi-colons, colons, they all look the same to me.
* | Enabling QGraphicsTextItem to handle input method events.Aleksandar Sasha Babic2009-06-051-1/+128
| | | | | | | | On S60 one should get virtual keyboard.
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicJason Barron2009-06-0510-262/+457
|\ \
| * | Turned off input methods on X11 when using certain hints.axis2009-06-051-1/+1
| | | | | | | | | | | | | | | If any of those hints are present, complex input is not possible, so input methods should be turned off on X11.
| * | Loading fonts from other /resource/fonts folders than the one on Z:Alessandro Portale2009-06-041-4/+40
| | | | | | | | | | | | | | | | | | Order is 'soft to hard' W:, X: ... A:, Z: Duplicated font file names are ignored. That should imitate the font loading behaviour in the fbSrv.
| * | S60Style: Buildbreak fix. Remove problematic #ifdef line.Sami Merilä2009-06-041-2/+0
| | |
| * | S60Style: Missing constantSami Merilä2009-06-041-0/+1
| | |
| * | S60Style: Cleanup code before Tower release.Sami Merilä2009-06-042-233/+229
| | |
| * | In QGraphicsView the viewport itself has to be enabled for InputMethods.Aleksandar Sasha Babic2009-06-041-0/+15
| | | | | | | | | | | | When events are comming, exactly that widget will be aske for InputContext.
| * | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicSami Merilä2009-06-047-12/+166
| |\ \
| | * | Added loadS60ThemeFromBlob and saveS60ThemeToBlob.Alessandro Portale2009-06-034-8/+135
| | | | | | | | | | | | | | | | The simulated style will by default try to load the 'Default.blob'
| | * | Fixed an update bug in QTextControl.axis2009-06-031-0/+3
| | | | | | | | | | | | | | | | | | | | Previously, the input context would not get updated on every selection update.
| | * | Gave QTextControl support for ImAnchorPosition and Selection.axis2009-06-031-3/+23
| | | | | | | | | | | | | | | | | | | | RevBy: Trust me The fix is almost identical to the one made for QLineEdit.
| | * | Added inputMethodQuery fallback to QWidget.axis2009-06-031-0/+3
| | | |