summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Polishing QS60Style by removing compiler warningSami Merila2010-01-271-5/+4
| | | | | | | | | Removes one compiler warning caused by animation support additions (member variables are initialized in incorrect order in default constructor). Also, removing unnecessary struct variable and one unnecessary scope definition. Reviewed-by: Alessandro Portale
* QListWidget itemActivated does not follow S60 conventionsSami Merila2010-01-251-0/+1
| | | | | | | | Set StyleHint SH_ItemView_ActivateItemOnSingleClick inactive for 3.x and 5th edition S60. Task-number: QTBUG-6182 Reviewed-by: Alessandro Portale
* S60Style: Add support for animations to styleSami Merila2010-01-221-1/+104
| | | | | | | | | | Add support of theme animations to AVKON-based QS60Style. Currently only QProgressBar's have animations, but adding others with same kind of S60 theming (mainly note animations) would be really easy to do. Task-number: QTBUG-4050 Reviewed-by: Alessandro Portale
* Merge remote branch 'mainline/4.6' into 4.6Oswald Buddenhagen2010-01-131-1/+1
|\ | | | | | | | | Conflicts: tests/auto/linguist/lupdate/testlupdate.cpp
| * Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Do not set the font size unnecessarily in the simulated s60 style.Christian Kamm2010-01-111-2/+3
|/ | | | Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
* QS60Style: Groove changes caused build break of S60 3.1Sami Merila2009-12-111-0/+1
| | | | | | | | 3.1 does not have theme graphics IDs that we use in style, so it cannot be compiled in 3.1. As a fallback, 3.1 will use the previous method of drawing a slider. Reviewed-by: Alessandro Portale
* QS60Style: Style does not support pressed state for slidersSami Merila2009-12-111-1/+4
| | | | | | | | Currently there is no visual clue that slider is "sunken" (pressed state). There is S60 theme graphic for it, so lets use it. Task-number: QTBUG-6722 Reviewed-by: Janne Koskinen
* QS60Style: Slider groove is incorrectSami Merila2009-12-111-0/+5
| | | | | | | | Style uses just a line as slider groove, when S60 provides themed graphics for it as well. Task-number: QTBUG-6723 Reviewed-by: Janne Koskinen
* Crash: when opening the File Dialog in Media Player (armv5)Sami Merilä2009-12-081-1/+1
| | | | | | | | | | | | This is due to NGA API changes in Tb9.2. Because of API changes, S60Style needs to have a lot of internal changes. First, the changed style no longer itself tries to uncompress and handle CFbsBitmaps, but instead uses the QPixmap backend for it. Second, all references to CFbsBitmap::DataAddress() have been removed. Third, the lookup table for theme parts has been cleaned up. Task-number: QTBUG-4644 Reviewed-by: Janne Koskinen
* Tidyup QS60Style - remove unused constants, replace magic valuesSami Merilä2009-11-261-9/+0
| | | | | | | | | | | Basically this has three minor fixes: - remove unused style parts that were left over after unifying textEdit and lineEdit graphics - make radiobutton indicator one pixel smaller so it is perfect circle - replace magic "10" with calculated value Reviewed-by: Alessandro Portale
* Removed unused setThemePalette(QStyleOption *option)Alessandro Portale2009-11-251-2/+0
| | | | | | Not used or missed, anywhere. Reviewed-By: Trustme
* LineEdit graphics are sometimes missing from webpages with s60styleSami Merilä2009-11-171-0/+4
| | | | | | | | | | | | | | | | | | If the webpage does define BODY colors for background, it is possible that lineEdits are not drawn at all. Actually, they are drawn but with transparent background, which makes them near-invisible. This is due to that QS60Style tries to check if the themePalette has been changed and if it has forwards the drawing of that particular widget to common style. Common style unfortunately uses active style's palette to draw the widget. S60Style defines Base to be transparent (to get the theme background shine through) and common style tries to use Base to draw lineEdit. End result is transparent lineEdit on webpage. This fix makes more educated deduction when it tries to see if style has been changed. This is related to QTBUG-4885. Task-number: QTBUG-4885 Reviewed-by: Janne Koskinen
* Fix typo in license headerAlessandro Portale2009-11-121-1/+1
| | | | | | The word 'module' was missing. Reviewed-By: TrustMe
* Removed unused public Api from QS60StyleAlessandro Portale2009-11-101-8/+0
| | | | | | | | | | | | | | | QS60Style::setStyleProperty() and QS60Style::styleProperty() were intended as generic property setter/getters, but are not needed anymore. Reviewed-by: Sami Merila modified: src/gui/styles/qs60style.cpp modified: src/gui/styles/qs60style.h modified: src/gui/styles/qs60style_p.h modified: src/gui/styles/qs60style_s60.cpp modified: src/gui/styles/qs60style_simulated.cpp modified: src/s60installs/eabi/QtGuiu.def
* QS60Style: Harmonize theme graphic with LineEdit and QTextEditSami Merilä2009-11-051-1/+0
| | | | | | | | | | | | In S60 the single line and multi line editors have same theme background. We should share one as well. Now we are using fancy notepad graphic with QTextEdit, but it makes QTextEdits to look apart from QLineEdits and in some themes it is styled rather badly (as it is not a central graphic item in a theme). Therefore it is better to use one and same graphic for both widgets. Task-number: QTBUG-5259 Reviewed-by: Alessandro Portale
* QS60Style does not mix well with the stylesheetsSami Merilä2009-10-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | QS60Style basically ignores user set / stylesheet set palettes. Now, tested with: * QLineEdit * QPushButton * QSpinBox * QComboBox * QAbstractScrollArea * QCheckBox * QRadioButton * QGroupBox * QFrame * QTreeView * QTableView * QHeaderView * QProgressBar * QScrollBar * QSplitter * QSlider * QTabWidget * QToolButton * QToolBar and fixed QS60Style so that it obeys externally set palettes. Task-number: QTBUG-4820 Reviewed-by: Janne Koskinen
* S60Style's tab widget is too small for touch useSami Merilä2009-10-211-0/+2
| | | | | | | | | | 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
* 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
* Using QFocusFrame to visualize the focus.Alessandro Portale2009-08-281-2/+4
| | | | | | | | | | | | | | | | | | 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
* Changed names and URLs to reflect name change.axis2009-08-191-1/+1
| | | | RevBy: Trust me
* Cleaned public Api of QS60Style due to review by Volker Hilsheimer.Alessandro Portale2009-08-111-0/+5
| | | | | | | Moved handleDynamicLayoutVariantSwitch and handleSkinChange from QS60Style to QS60StylePrivate. QApplication (the only one calling those functions) is now a friend, thus has access to the private class.
* 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
* Trailing whitespace and tab/space fixes for src/guiJanne Anttila2009-08-041-1/+1
|
* Squashed commit of the topic/exceptions branch.Harald Fernengel2009-08-031-1/+1
| | | | | Contains some smaller fixes and renaming of macros. Looks big, but isn't scary at all ;)
* S60Style: Styled graphic support for editors.Sami Merilä2009-06-051-1/+12
|
* Prevent double deletion of m_themePaletteAlessandro Portale2009-06-051-3/+4
| | | | RevBy: Sami Merila
* Merge branch 'imSelections'axis2009-06-031-1/+31
|\
| * Fixed incorrect headers.axis2009-06-031-1/+31
| |
* | S60Style: Add support for setting themePalette to QStyleOption. Also, set up ↵Sami Merilä2009-06-021-2/+15
| | | | | | | | themePaletteHash.
* | Moved originalPalette member from public to private class.Alessandro Portale2009-06-011-0/+1
| |
* | S60Style: Remove unneeded case-statements and own implementation for ↵Sami Merilä2009-05-291-2/+0
|/ | | | drawItemText.
* Enabled QtS60Style background filling also for _simulated, by movingAlessandro Portale2009-05-281-2/+0
| | | | | | some code to qs60style.cpp. De-duplicated some code in qt_s60_fill_background. The unused QT_S60STYLE_LAYOUTDATA_SIMULATED had to go, too.
* S60Style: Keep the background texture in static QPixmap pointer.Sami Merilä2009-05-271-8/+12
|
* S60Style: Add reason for clearing style specific caches.Sami Merilä2009-05-261-1/+8
|
* S60Style: Change IsSkinnableDialog method name to drawsOwnThemeBackground.Sami Merilä2009-05-251-2/+1
|
* S60Style: Reorganize methods in source files to match header file order.Sami Merilä2009-05-251-7/+13
|
* S60Style: Support theme graphics for inactive (disabled) button.Sami Merilä2009-05-201-3/+14
|
* S60Style: Set theme palette to widgets once theme changes.Sami Merilä2009-05-201-0/+1
|
* S60Style: Draw all arrows as skinned graphics.Sami Merilä2009-05-181-0/+4
|
* S60Style: Scrollbar pressed state (missing changes from ↵Sami Merilä2009-05-151-2/+7
| | | | 9765faecf15fbd54b8817fdea66669cab91b5235),
* S60Style: Facelift for panels. It now uses settings page frame graphics sans ↵Sami Merilä2009-05-111-2/+4
| | | | center piece instead of multicolored lines (aka windows95 look). The new frame is drawn slightly smaller than generic frames to ensure that the background shines through between frame border and widgets.
* S60Style: Style QTreeView nodes and lines.Sami Merilä2009-05-071-0/+5
|
* S60Style: Improved polish. Now fonts are polished instead of set in drawing ↵Sami Merilä2009-05-071-0/+1
| | | | code. Also, backgroundTexture is set in its own method, so there is no need to reset whole application palette when layout changes. Finally, some widget specific polishing corrections.
* S60Style: Add support for busy indicator for progres bar.Sami Merilä2009-05-061-0/+1
|
* Merge commit 'private/translucentWindows'Jason Barron2009-04-301-1/+1
|\ | | | | | | | | Conflicts: src/gui/styles/qs60style_symbian.cpp
| * Avoid overwriting a user set palette.Jason Barron2009-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The polish(QWidget*) function is called the first time a widget is shown and therefore setting the widget's palette in this function will overwrite the user set palette if one is specified before show() is called. The solution is to break this into two parts, the first part sets the global palette in polish(QApplication*) and this is the part of the palette that is independent of widget. The second part involves adding the widget specific palettes using the QApplication:: setPalette() function that takes a classname and this is done in the polish(QWidget*) function.
* | S60Style: Styled QToolBar implementation.Sami Merilä2009-04-291-3/+38
|/