summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Update following component file name changes.Bea Lam2009-10-021-22/+22
| | | |
* | | | Make compile since QmlValuePropertySource is no longer a Qobject.Bea Lam2009-10-026-4/+11
| | | |
* | | | Use void return type for setter methods.Bea Lam2009-10-022-8/+8
|/ / /
* | | Enhance layout exampleAlan Alpert2009-10-011-1/+2
| |/ |/| | | | | It's actually useful now. A lot slower too.
* | Update testAaron Kennedy2009-09-291-2/+2
| |
* | Another focusscope testAaron Kennedy2009-09-291-0/+75
| |
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into ↵Michael Brasser2009-09-2925-539/+708
|\ \ | |/ | | | | | | | | | | | | kinetic-declarativeui Conflicts: configure.exe mkspecs/features/qt.prf
| * Fixes compileBill King2009-09-291-7/+7
| |
| * Correct the formextractor which was using removed QWebElement APIJocelyn Turcotte2009-09-281-7/+7
| | | | | | | | Reviewed-by: Kent Hansen
| * Animations: updateCurrentTime now receives the currentTime as paramaterThierry Bastian2009-09-281-3/+3
| | | | | | | | Reviewed-by: Leo
| * Make QSignalEvent and QWrappedEvent inner classes of QStateMachineKent Hansen2009-09-283-7/+7
| | | | | | | | | | | | | | | | | | Those two classes are specific to the state machine framework, but their names were so generic that we felt they were polluting the Q-namespace. They are now QStateMachine::SignalEvent and QStateMachine::WrappedEvent. Reviewed-by: Eskil Abrahamsen Blomfeldt
| * Use qDebug() instead of printf() when dumping the simplex matrix.Jan-Arve Sæther2009-09-251-0/+1
| | | | | | | | | | | | printf() does not work very well on windows, since it will not send the output to OutputDebugString(). This allows us to catch the output even if the program is configured without "CONFIG += console".
| * Reuse animation in animatedTiles exampleLeonardo Sobral Cunha2009-09-251-30/+4
| | | | | | | | Reviewed-by: trustme
| * Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2009-09-242-1/+2
| |\ | | | | | | | | | | | | | | | | | | Conflicts: examples/webkit/formextractor/formextractor.pro mkspecs/features/qt.prf src/gui/painting/qpaintengineex.cpp
| | * Fixed background scrolling in the SVG viewer example.Kim Motoyoshi Kalland2009-09-241-0/+1
| | | | | | | | | | | | Reviewed-by: Trond
| | * Paint arrow on top of node, not underneath itEskil Abrahamsen Blomfeldt2009-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | It looked strange that the node and its drop shadow was painted on top of the arrow. Flip the z-axis around to make sure the arrow is painted on top. Task-number: QTBUG-4544 Reviewed-by: Gunnar
| | * Make sure fontextractor example is found by qtdemoEskil Abrahamsen Blomfeldt2009-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Qt Demo seems to assume the executable name is the same as the directory name, so change the name to all lower case to avoid getting the message that the example has not been built even when it has. Found by Black Team.
| | * Update license headers again.Jason McDonald2009-09-08999-3996/+3996
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | AudioServices; Nicer examples.Justin McPherson2009-09-244-192/+82
| | | | | | | | | | | | Reviewed-by: Bill King
| * | AudioService API changes; QString->const QString&, remove QAudioDeviceId use ↵Justin McPherson2009-09-246-32/+21
| | | | | | | | | | | | | | | | | | QAudioDeviceInfo. Reviewed-by: Bill King
| * | Small change in the API of animationsThierry Bastian2009-09-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | We're not taking a parameter in updateCurrentTime any more because that parameter was the total currenttime. So it was taking into account the currenttime and the currentloop at once. This was inconsistent Reviewed-by: Leo
| * | Made hellogl example compile when GL_MULTISAMPLE is not defined.Samuel Rødal2009-09-211-1/+5
| | | | | | | | | | | | | | | | | | | | | Also let the GL widget have sample buffers, otherwise using GL_MULTISAMPLE won't help much. Reviewed-by: Trond
| * | Fixed a warning.Trond Kjernaasen2009-09-211-1/+1
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Fix signal/slot connection bugRichard Moe Gustavsen2009-09-211-7/+2
| | | | | | | | | | | | | | | | | | A signal was renamed. Update the example to reflect this. Rev-By: Trustme. Example fix only.
| * | Make the 'softkeys' example compile again after softkey changes.Jason Barron2009-09-211-6/+3
| | | | | | | | | | | | | | | | | | | | | Change to the new API and remove one of the actions since it has no equivalent in the new framework. Reviewed-by: Alessandro Portale
| * | Refactor soft keys implementation.Jason Barron2009-09-211-21/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Alessandro Portale Squashed commit of the following: commit dae5eda6996d48c12c4a5efd3f6042eb293bacbf Author: Jason Barron <jbarron@trolltech.com> Date: Fri Sep 18 10:32:26 2009 +0200 Only update soft keys when KEYPAD_NAVIGATION is enabled. For 4.6, let's just call these functions when keypad navigation is defined to minimize the impact on other platforms. They should probably get thier own define some day. commit 30a730553531f0f138de5eddb30413936a34fa36 Author: Jason Barron <jbarron@trolltech.com> Date: Fri Sep 18 10:30:23 2009 +0200 Add/remove the menu bar action when menu bar is added/removed. commit a83343a2870b34c228c8bc5e6274607b0e97baf6 Author: Jason Barron <jbarron@trolltech.com> Date: Fri Sep 18 10:28:55 2009 +0200 Compile fix for other platforms commit 39c9e3a0a1d3d62bf6ebd3212cfd2a81b86b9b2a Author: Jason Barron <jbarron@trolltech.com> Date: Thu Sep 17 21:37:59 2009 +0200 Fix 'softkeys' example after API re-factoring. Clean up this example and use the simplified soft key API. Now the actions are only allocated in the constructor and dynamically updated by calling addAction and removeAction. commit 314e45c33f40552db74e61755c2a3b0f8c77a41a Author: Jason Barron <jbarron@trolltech.com> Date: Thu Sep 17 21:30:32 2009 +0200 Re-factor and simplify the soft keys API. Several things here: - Move all the logic into QSoftKeyManager - Move the files into 'kernel' since it is not a widget - Remove QWidget::setSoftKey*(). Use addAction/removeAction instead - Made soft keys update on focus, window activation, and action changes. - Fixed several memory leaks where QAction's were created too often - QAction ownership pushed out to widget's - Added Select/Cancel soft keys for comboboxes and menus to be more consistent to platform look-and-feel. commit fb4c240d970262e9872dc5737df6808879143c75 Author: Jason Barron <jbarron@trolltech.com> Date: Mon Sep 7 15:49:31 2009 +0200 Merge the Symbian implementation with the other platforms nativeMenuBar It seems this has been refactored to share more code across the various platforms that support native menubars so the Symbian code can be mostly removed. commit aa55e4bcd1f009ab35c9519e18aa325fd212dd23 Author: Jason Barron <jbarron@trolltech.com> Date: Wed Aug 26 17:00:34 2009 +0200 Change filenames and move softkey stuff from 'widgets' to 'kernel'. This thing isn't a widget and therefore should not be in the 'widgets' subdirectory of gui. Also rename the files in preparation for refactoring and extending.
| * | Make OpenGL overpainting example compile under OpenGL/ES 1.1Rhys Weatherley2009-09-212-5/+12
| | | | | | | | | | | | Reviewed-by: trustme
| * | remove display lists and qt3d-ize overpainting/hellogl exampleSarah Smith2009-09-218-231/+549
| | | | | | | | | | | | | | | | | | | | | | | | On the way to making opengl examples portable, remove display lists and go to triangles only. Use QMatrix4x4. While on the job use Qt/3D stylee to make the QtLogo as an example of 3D programming more Qt-like. Reviewed-by: Rhys Weatherley
* | | Only same-as-webkit iteration example (QML actually supports more)Warwick Allison2009-09-241-8/+1
| | |
* | | Use new property nameAaron Kennedy2009-09-231-2/+2
| | |
* | | Fix crashAaron Kennedy2009-09-231-2/+2
| | |
* | | Replaced by testcases.Warwick Allison2009-09-2220-117/+0
| | | | | | | | | | | | Was not a helpful example.
* | | Merge branch 'kinetic-declarativeui' of ↵Yann Bodson2009-09-229-20/+51
|\ \ \ | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * | | Syntax updateWarwick Allison2009-09-227-20/+39
| | | | | | | | | | | | | | | | | | | | id must not be a type Image::fillMode change
| * | | Missing files.Warwick Allison2009-09-222-0/+12
| | | |
* | | | Renaming: QFxView -> QmlViewYann Bodson2009-09-221-3/+3
|/ / /
* | | Fixed compile for example support libraryThorbjørn Lindeijer2009-09-213-11/+7
| | |
* | | Fix exampleAaron Kennedy2009-09-211-2/+2
| | |
* | | 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