summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/4.6' into kinetic-declarativeuiLars Knoll2009-09-181-0/+1
|\ | | | | | | | | Conflicts: configure.exe
| * QGraphicsAnchorLayout: Set size policy in the exampleAnselmo Lacerda S. de Melo2009-09-181-0/+1
| | | | | | | | | | | | | | | | Set QSizePolicy::Preferred to all proxy widgets (after setWidgeT) in the QGraphicsAnchorLayout example to avoid "QSimplex: No feasible solution!" that occurs when all items are set with QPushButton's default size policy. Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
* | Implementations of getAllResponseHeaders () and getResponseHeader ().Tapani Mikola2009-09-181-1/+11
| |
* | Switch Repeater over to use VisualModel.Martin Jones2009-09-171-1/+0
| | | | | | | | Also extend VisualModels to support the usage Repeater used to add.
* | Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-09-161127-4797/+5106
|\ \ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * \ Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-09-152-0/+6
| |\ \ | | |/ | | | | | | | | | | | | | | | kinetic-declarativeui Conflicts: configure.exe
| | * QCursor support for Symbian OSShane Kearns2009-09-152-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-By: Jason Barron Reviewed-By: Alessandro Portale Summary: QT_NO_CURSOR is now not defined for symbian builds Existing QCursor APIs are all supported New public API, QApplication::setNavigationMode, to allow the navigation mode to be set. I.E. on an S60 3.2 phone, some applications will want a virtual mouse cursor (web browser), while others are designed for keypad navigation. Symbian HAL is used for detecting input capabilities. Fix DND, code cleanup & comment QCursor visibility now uses a refcount, and is called from DND and the setNavigationMode so they are both simpler and don't interfere with each other. QApplication::setNavigationMode New public API for configuring cursor/keypad navi style. This links in with ongoing work on the 4-way keypad navi branch, but 2-way and 4-way modes both act as 2-way mode until that is integrated Some of the demos/examples have cursor switched on (those that were not usable with keypad) Virtual mouse support for non touch, non mouse phones (tested on N78) add *.d and .metadata (carbide debug file / workspace dir) to .gitignore System pointers are unavailable when using sprite workaround, so the system cursor shapes are compiled into qtgui as resources. MAC port does this also for shapes that aren't standard on the MAC. Refactor Drag'n'Drop to use QCursor Add test case to check all system cursor shapes Simply a mainwindow containing a label widget for each cursor shape, with the cursor property set appropriately QCursor(QBitmap,QBitmap) supported Fixed problem with the image & mask being inverted when using the QCursor constructor that takes two mono bitmaps. add .make.cache files to .gitignore Correct implementation of QApplication::setOverrideCursor QApplication::restoreOverrideCursor and QApplication::setOverrideCursor are now working correctly on Symbian platform. Performance will be slower compared with other platforms, because the Symbian window server has a cursor associated with each native window. Add test case for custom cursors Create a pixmap cursor and associate it with a widget. No changes to production code, since test passed 1st time ;) Add manual test for QCursor Make cursor independent of construction order Updated to work around window server issue where contruction order affects what cursor is displayed in child windows. Also changed to effectiveWinId following review comments Also fixed a problem which would make qcursor not link if configured with QT_NO_CURSOR Moved some multiply declared extern functions from cpp to _p.h files Implemented Symbian versions of the cursor functions. Merged in work I'd done based on tower. Fill in bits of stub functions based on windows port Removed QT_NO_CURSOR from list of config options forced on symbian Recompiled configure.exe Added stub functions for the missing functions in s60 port
| * | Focus changes to QFxItem and QFxView.Andreas Aardal Hanssen2009-09-152-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove QFxItem::activeFocus, make QFxItem::focus behave like QGraphicsItem::focus (same as activeFocus essentially). Introduce QFxItem::wantsFocus to provide the same behavior as QFxItem::focus used to. Also updated the focusScope manual tests to reflect this new behavior. This change is going to break every example that relies on activeFocus. The fix is to replace all references with "focus" instead. All places that bind to "focus" should now bind to "wantsFocus" instead. Reviewed-by: akennedy
| * | Merge commit 'qt-mainline/4.6' into kinetic-declarativeuiAndreas Aardal Hanssen2009-09-151125-4785/+5088
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsitem.h src/gui/graphicsview/qgraphicsscene.cpp tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
| | * Add an example that shows strength animation QGraphicsColorizeEffect.Ariya Hidayat2009-09-148-1/+274
| | | | | | | | | | | | | | | | | | | | | | | | When a button is pressed, a popup message is shown and the background (everything, every items, behind the popup message) is faded to light green. Reviewed-by: Bjørn Erik Nilsen
| | * Bring back the blurry drop shadow in the lighting example.Ariya Hidayat2009-09-141-1/+3
| | | | | | | | | | | | Reviewed-by: Bjørn Erik Nilsen
| | * API change. This will get rid of the ugly setAnchorSpacing() method.Jan-Arve Sæther2009-09-141-52/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Say hello to QGraphicsAnchor, move the spacing (and removeAnchor) functionality over to that class. This also opens up for a cleaner API when we add support for size policies or min/pref/max sizes for anchors. Also remove - addLeftAndRightAnchors() - addTopAndBottomAnchors() - addAllAnchors() in favor of - addAnchors(itemA, itemB, Qt::Orientations) API change discussed with Caio and Andreas. Reviewed-by: Alexis
| | * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Rhys Weatherley2009-09-142-4/+14
| | |\
| | | * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Kurt Korbatits2009-09-144-35/+92
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: examples/multimedia/audio/audiodevices/audiodevicesbase.ui
| | | * | AudioDevices demo doesn't do anything on WindowsKurt Korbatits2009-09-142-234/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -put example audiodevices in layout. -added more checking to testSettings() in win32 implementation. -disabled objects in example audiodevices that are not editable. -added more checking to alsa implementation for preferredFormat(). -changed internal strings from tr to QLatin1String. Reviewed-by:Justin Mcpherson
| | * | | Don't have to glEnable(GL_TEXTURE_2D) when using shaders.Rhys Weatherley2009-09-141-4/+0
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | OpenGL/ES 2.0 systems were giving a GL error when GL_TEXTURE_2D was enabled and disabled. Reviewed-by: trustme
| | * | Add platform specific libraries required to use OpenVG to star exampleIain2009-09-111-0/+1
| | | | | | | | | | | | | | | | Reviewed-by: Jason Barron
| | * | Port the textures example to OpenGL/ES 2.0Rhys Weatherley2009-09-113-35/+91
| | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | Add a layout in the demo it looks better.Alexis Menard2009-09-101-233/+211
| | |/ | | | | | | | | | Reviewed-by:jan-arve
| | * Doc: First part of my review of the gestures overview.David Boddie2009-09-091-2/+8
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * Updated the pbuffers2 example to make it work with the GL2 engine.Kim Motoyoshi Kalland2009-09-091-0/+2
| | | | | | | | | | | | | | | | | | Added begin/endNativePainting() calls. Reviewed-by: Trond
| | * Update license headers again.Jason McDonald2009-09-091114-4456/+4456
| | | | | | | | | | | | Reviewed-by: Trust Me
* | | Better SQL database performance / memory usage.Warwick Allison2009-09-162-3/+16
| | | | | | | | | | | | | | | Rows accessible incrementally. Rows.forwardOnly for optimization.
* | | Basic first-working SQL database interface.Warwick Allison2009-09-161-0/+30
|/ / | | | | | | A simple Qt-based implementation of HTML5 SQL local storage databases.
* | ListView currentItemMode API replaced with highlight range API.Martin Jones2009-09-144-26/+26
| |
* | Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-09-112-2/+2
|\ \ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * \ Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-09-112-2/+34
| |\ \ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * | | current -> currentItem property in ListView and GridViewMartin Jones2009-09-112-2/+2
| | | |
* | | | Ensure text size changes when text is made empty, or elides to empty.Warwick Allison2009-09-111-2/+2
| |/ / |/| | | | | | | | | | | Previously, old size would persist if text changed from non-"" to "". Elide text in example (tests and demonstrates)
* | | tweakWarwick Allison2009-09-112-2/+34
|/ /
* | Remove unused imports from examples for extending.Christian Kamm2009-09-1010-10/+0
| | | | | | | | Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* | Fix QML_DEFINE_EXTENDED_TYPE use in extending/extended example.Christian Kamm2009-09-101-1/+1
| | | | | | | | Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* | Fix extending examples by inserting the appropriate import.Christian Kamm2009-09-1010-0/+10
| | | | | | | | | | Reviewed-by: owolff Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* | Follow renamed to SpringFollow.Martin Jones2009-09-108-19/+19
| |
* | Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-09-092-7/+7
|\ \ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * \ Merge branch 'kinetic-declarativeui' of ↵Martin Jones2009-09-094-38/+51
| |\ \ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * | | Move ComponentInstance functionality into LoaderMartin Jones2009-09-092-7/+7
| | | |
* | | | clearer exampleWarwick Allison2009-09-091-4/+12
| | | |
* | | | Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-09-094-38/+51
|\ \ \ \ | | |/ / | |/| | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-09-084-38/+51
| |\ \ \ | | |/ / | |/| / | | |/ kinetic-declarativeui
| | * Port examples/opengl/textures to OpenGL/ES 1.1Rhys Weatherley2009-09-084-38/+51
| | | | | | | | | | | | Reviewed-by: Sarah Smith
* | | Modifying ListModel from JS: work for structured data too.Warwick Allison2009-09-091-4/+44
|/ /
* | Missed icons.Warwick Allison2009-09-083-0/+0
| |
* | Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-09-087-20/+25
|\ \ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * \ Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into ↵Martin Jones2009-09-086-18/+23
| |\ \ | | |/ | | | | | | kinetic-declarativeui
| | * Make QGraphicsShaderEffect private API for 4.6Rhys Weatherley2009-09-063-5/+5
| | | | | | | | | | | | | | | | | | | | | The custom shader code in the OpenGL2 paint engine needs time to mature before we make this official public API. Reviewed-by: trustme
| | * Make the view in the flowlayout example big enough.Jan-Arve Sæther2009-09-041-0/+1
| | |
| | * Minor fixes to the graphicsview/flowlayout exampleJan-Arve Sæther2009-09-042-13/+17
| | |
| * | fix tutorial 3 - qmlviewer bails out with "id conflicts with type name"Frederik Gladhorn2009-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | the reason is that MouseRegion is used as id Merge-request: 1443 Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
* | | Dynamic QmlListModelWarwick Allison2009-09-081-0/+91
|/ / | | | | | | | | Reveals a number of bugs in ListView (and probably others). Basic ugly example for now.