summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove compilation warning from QtGuiSami Merilä2009-10-261-1/+1
| | | | | | | | | | | QS60Style causes a compilation warning due to using incorrect parameter when adjusting rect size in adjusted() call. The problematic line is using twice same parameter and thus leaves one pre-set parameter unused, which causes a compilation warning. Fixed by using the correct parameter. Task-number: N/A Reviewed-by: Trust Me
* S60Style's tab widget is too small for touch useSami Merilä2009-10-211-4/+10
| | | | | | | | | | TabWidget for S60Style is too small for touch use, it is rather hard to accurately touch the tabpane to switch the active tab. To fix this, we ask the native tabpane height from AVKON and set the QTabWiget's pane height to native height (or bigger). Task-number: QTBUG-4243 Reviewed-by: Alessandro Portale
* QT-693 QS60Style does not regard selection beahviors with itemviewsSami Merilä2009-10-201-2/+22
| | | | | | | | | | | QS60Style disregards all selection behaviors for itemviews. This leads to error when showing a highlighted selection rect; rect is only shown for cell having focus. Fixed by setting the highlight to all 'selected' cells. Task-number: QT-693 Reviewed-by: Alessandro Portale
* Color role with higher contrast for focusrectAlessandro Portale2009-10-081-1/+1
| | | | | | | | | | | | | Low-risk, high value change. Beta worthy! As much as QPalette::Highlight sounds like a suitable color role for drawing a focus rect... It simply did not work well with a lot of S60 themes (e.g. the default N95 theme). QPalette::Text is a better candidate, since the S60 themes promise a good contrast of text on background graphics. Reviewed-By: Sami Merilä
* QS60Style: Re-enable color-from-skin-part extractionAlessandro Portale2009-10-081-5/+4
| | | | | | | | | | | After introducing native pixmap support, we had some crashes on certain setups (e.g. 3.2 Emulator) when accessing data that came from native pixmaps (FBServ). However, after fix 064674426ef0c446561b0c338441bb7d5ca091bf this is not reproducable, anymore. Therefore let's re-enable color extraction and enjoy better color palettes. Reviewed-By: Sami Merilä
* Symbian specific fixes to QComboBoxJani Hautakangas2009-09-301-9/+10
| | | | | | | | Fixes QComboBox edit field geometry in s60style Fixes softkey crash when setting a custom itemview to QComboBox Fixes Symbian keyboard input interval in tst_QComboBox::virtualAutocompletion() Reviewed-by: Sami Merila
* Making Keypad Navigation more usableAlessandro Portale2009-09-191-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All changes of this commit are #ifdef'ed in QT_KEYPAD_NAVIGATION. Most desktop Qts won't notice any change. Navigating between QWidgets was not alwys a pleasure on keypad devices. This commit fixes the navigation behavior for some widgets, mostly itemviews. Furthermore, it adds a 'directional' navigation mode. Until now, the existing keypad navigation used the tab order do go back and forth between widgets. The new mode is supposed to provide a more intuitive navigation. It is the new default mode on Symbian. Screens (and their resolutions) become bigger, and also low resolution screens can be used in landscape mode. That's why the directional mode was requested. Another popular request was to put some more convenience into QSlider: If a (horizontal) slider has focus and the user presses left/right, the value of the slider may directing change without being selected (edit mode). This commit also adds the manual test 'keypadnavigation'. Reviewed-by: Shane Kearns
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* doc: Fixed several qdoc errors.Martin Smith2009-08-311-0/+31
|
* Warning --Alessandro Portale2009-08-281-0/+2
|
* Using QFocusFrame to visualize the focus.Alessandro Portale2009-08-281-116/+74
| | | | | | | | | | | | | | | | | | When using the keypad navigation, the focus state of a widget is supposed to be well visible. So it makes much sense to use QFocusFrame, which is able to paint a focus marker _around_ the widget. This change should fix the issue that with some S60 themes, the focus was invisible. Also, a lot of code is removed by this change. Task-number: 256470 Reviewed-by: Sami Merila modified: src/gui/styles/qs60style.cpp modified: src/gui/styles/qs60style.h modified: src/gui/styles/qs60style_p.h
* Fixed unreferenced variable warning in Release mode.Alessandro Portale2009-08-211-2/+1
|
* Changed names and URLs to reflect name change.axis2009-08-191-1/+1
| | | | RevBy: Trust me
* Fixed a compile error for qs60style.cpp on s60 build.Liang Qi2009-08-151-1/+1
|
* S60Style: Draw vertical busy indicator with correct graphic.Sami Merilä2009-08-141-1/+3
|
* S60Style: Draw QFrames in default casesSami Merilä2009-08-141-0/+2
|
* S60Style: Draw non-initialized icons as enabled.Sami Merilä2009-08-141-1/+1
|
* Increasing visibility of the focusAlessandro Portale2009-08-121-3/+10
|
* Revised SIP API.axis2009-08-121-0/+3
| | | | | | | | | | | | | After discussions with Matthias, several things were changed: - the autoSipOnMouseFocus property was removed and replaced with a new style hint, SH_RequestSoftwareInputPanel. This means the style can define when the input panel is launched. - The code which sends RequestSoftwareInputPanel events was moved into its own function, and the widgets call that function. AutoTest: Included and passed RevBy: mae
* Update license headers according to commit 858c70f768e.axis2009-08-061-3/+3
| | | | RevBy: Trust me
* Replaced $MODULE$ with hardcoded module names.axis2009-08-061-1/+1
| | | | RevBy: Trust me
* Merge commit 'origin/master'Jason Barron2009-08-041-14/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/global/qglobal.h src/corelib/kernel/qmetatype.cpp src/corelib/kernel/qobject.cpp src/corelib/thread/qthread_unix.cpp src/gui/graphicsview/qgraphicssceneevent.h src/gui/itemviews/qheaderview.h src/gui/kernel/qapplication_qws.cpp src/gui/kernel/qgesture.h src/gui/kernel/qgesturerecognizer.h src/gui/painting/qpaintengine_raster.cpp src/network/access/qhttpnetworkreply.cpp src/network/access/qnetworkcookie.h src/network/socket/qnativesocketengine_unix.cpp
| * Trailing whitespace and tab/space fixes for src/guiJanne Anttila2009-08-041-3/+3
| |
| * Squashed commit of the topic/exceptions branch.Harald Fernengel2009-08-031-11/+11
| | | | | | | | | | Contains some smaller fixes and renaming of macros. Looks big, but isn't scary at all ;)
* | Compile fixes after latest merge of 4.6.Jason Barron2009-07-281-4/+2
|/ | | | | The ususal suspects like QScopedPointer fixes, but also some changes since the introduction of qcore_unix.*
* S60Style: Use scrollbar extent to initialize rect size on x dimension ↵Sami Merilä2009-06-261-7/+2
| | | | (instead of making it first square)
* S60Style: Slightly less complex way of drawing the QHeaderView in style.Sami Merilä2009-06-261-23/+11
|
* S60Style: QTable theme background moved from cell area to be 'behind' the ↵Sami Merilä2009-06-231-27/+15
| | | | whole widget. Also item view highlight slightly tuned to be closer to what it is like on native UI.
* S60Style: Remove menu scroller from UI.Sami Merilä2009-06-181-0/+2
|
* S60Style: Palette has gets cleared when setting themePalette.Sami Merilä2009-06-181-6/+17
|
* Fix commit 82e19a10f13005a327b134999315ecf39d5d70e3Alessandro Portale2009-06-151-4/+4
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicAlessandro Portale2009-06-151-2/+2
|\
| * Remove warningsAlessandro Portale2009-06-151-2/+2
| |
* | Fix for Task #256174Alessandro Portale2009-06-151-6/+3
|/ | | | | Bring back the keyPad Navigation focus visualization. It disappeared with commit e0690577327097ec3d9be99205bfcf01f8404d23
* S60Style: Itemview active icons are rendered as disabled and vice versa.Sami Merilä2009-06-121-1/+1
|
* S60Style: Drivelist combobox in AddressBook example causes crash due to null ↵Sami Merilä2009-06-121-16/+26
| | | | pointer use in S60Style.
* S60Style: Remove key acceleratorsSami Merilä2009-06-121-0/+2
|
* Correcting my previous patch, there is only qevent.h.Ariya Hidayat2009-06-111-1/+1
| | | | Reviewed-by: Alessandro Portale
* Fix includes, append the .h suffix to the file names.Ariya Hidayat2009-06-111-2/+2
| | | | Reviewed-by: Alessandro Portale
* 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
* Removal of inneccessary QS60StylePrivate scopesAlessandro Portale2009-06-081-31/+31
|
* S60Style: Styled graphic support for editors.Sami Merilä2009-06-051-0/+11
|
* 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-051-13/+16
| | | | RevBy: Sami Merila
* Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-publicJanne Anttila2009-06-051-0/+10
|\
| * S60Style: Drop middlesection from tab graphics, if there is very little of ↵Sami Merilä2009-06-051-0/+10
| | | | | | | | tab content.