summaryrefslogtreecommitdiffstats
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* Symbian fix: rename examples ftp and musicplayer to start with q.Frans Englich2009-10-0911-9/+8
| | | | | | | | | | | | | | | | Symbian already has the executables musicplayer.exe, mediaplayer.exe and ftp.exe, with the result that we overwrite them with Qt. We solve this by renaming the examples, and do it not only on Symbian, such that Qt remains consistent across platforms. This was previously partly done for mediaplayer. The folder name needs to be consistent with the executable, for qtdemo to work. Done jointly with Alessandro. Task-number: QTBUG-4743 Reviewed-by: Alessandro Portale Reviewed-by: Frans Englich
* Fix .ui of Styledemo (Layout tweaks)Alessandro Portale2009-10-081-184/+149
| | | | | | | | | | | Let's make sure to have enough layout spacings around the widgets in order to see the focusrect. Also, the issue with the growing dialog is fixed. It was the spinbox and it's label which with the stylesheets set did not have enough horizontal space, and thus made the dialog grow on the following CSS change Reviewed-By: TrustMe
* Compiler warning given for missing audio file (sax.mp3)Sami Merilä2009-10-071-2/+1
| | | | | | | | | Use desktopservices sax.mp3 instead of one in autotests when deploying mediaplayer for symbian. This avoids getting a warning for missing file in install packages. Task-number: QTBUG-4719 Reviewed-by: Alessandro Portale
* Fixing some GCC warningsJoão Abecasis2009-10-072-1/+3
| | | | Reviewed-by: Markus Goetz
* Removed ICON for apps and demos except fluidlauncher and desktopservicesEspen Riskedal2009-10-062-29/+2
| | | | | | | | mifconv can't always handle absolute paths to the .svg specified, so for now we don't use absolute paths, and fix it later. Task-number: QTBUG-4693 Reviewed-by: Shane Kearns
* Only build demo-browser 32-bit if Qt was actually built 32-bitTor Arne Vestbø2009-10-061-2/+8
| | | | | | Also, add same trick for PPC Reviewed-by: MortenS
* Build the demo-browser 32-bit on Mac since there's no 64-bit FlashTor Arne Vestbø2009-10-061-0/+4
| | | | Reviewed-by: Simon Hausmann
* Simplification and use of QGraphicsObject in sub-attas demoThierry Bastian2009-10-0522-674/+181
| | | | Reviewed-by: alexis
* Enable multitouch on the Gradients demoBenjamin Poulain2009-10-021-1/+3
| | | | | Reviewed-by: Denis Dzyubenko Reviewed-by: Pierre Rossi
* Enable multitouch on the affine demoBenjamin Poulain2009-10-021-1/+3
| | | | | Reviewed-by: Denis Dzyubenko Reviewed-by: Pierre Rossi
* Add multitouch to the PathStroke demoBenjamin Poulain2009-10-023-5/+97
| | | | | | | | Add multitouch to the position of the path, and enable multitouch on the controls of the demo. Reviewed-by: Denis Dzyubenko Reviewed-by: Pierre Rossi
* Add multitouch capabilities to the shared classes of the demoBenjamin Poulain2009-10-023-1/+104
| | | | | | | | | | Add multitouch feature to the HoverPoints and the ArthurWidget. Multitouch is enabled by default for widgets using HoverPoints. The ArthurWidget propagate the TouchEvents in order to have them handled by a parent if a parent accept the touch events. Reviewed-by: Denis Dzyubenko Reviewed-by: Pierre Rossi
* Merge commit 'origin/4.6' into mmfphononFrans Englich2009-10-0217-19/+49
|\ | | | | | | | | Conflicts: demos/mediaplayer/mediaplayer.pro
| * Demos and applications have a nice Qt logo when installed on SymbianEspen Riskedal2009-10-0217-19/+48
| | | | | | | | | | | | | | | | | | | | Added a line to the symbianpkgrules.pri files which includes an ICON if the TARGET.UID3 is defined. We should fix the application_icon.prf to handle ICON without UID3 situations more gracefully, but for now I reordered existing UID3s to be specified before the symbianpkgrules.pri includes. Reviewed-by: Aleksandar Babic
* | Update screenshot to not be the Linux version; the emulator is better.Frans Englich2009-10-021-0/+0
| |
* | Adjust the location that we install into, and use the sound location.Frans Englich2009-10-023-2/+4
| | | | | | | | | | Note that fluidlauncher, because of desktopservices, installs the same mp3 to the same location.
* | Use storage location MoviesLocation instead of app folder.Frans Englich2009-10-021-1/+2
| |
* | Install the sax.mp3 test file.Frans Englich2009-10-021-1/+5
| |
* | Ensure we can handle file names on the cmdline too.Frans Englich2009-10-021-3/+11
| |
* | Phonon MMF Backend: mediaplayer should be fullscreen.Frans Englich2009-10-024-13/+41
|/ | | | | Task-number: QTBUG-4665 Reviewed-by: Gareth Stockwell
* Added support for -small-screen argument for Context2d exampleMiikka Heikkinen2009-10-021-1/+1
| | | | | | | | To improve screen real-estate utilization in small screen devices, added -small-screen command line argument to the Context2d application. Task-number: QTBUG-3296 Reviewed-by: Janne Koskinen
* Merge commit 'origin/4.6' into mmfphononFrans Englich2009-09-304-5/+9
|\
| * Install sub-attaq in the correct place.Alexis Menard2009-09-301-2/+2
| | | | | | | | Reviewed-by:TrustMe
| * Fix the sub-attaq menu (new game and quit).Alexis Menard2009-09-301-1/+5
| | | | | | | | | | | | | | | | | | Now QStateMachine can be a child of a QState but here in sub-attaq the code was not design for that so the code breaks. Task-number:QT-665 Task-number:QT-914 Reviewed-by:TrustMe
| * Fix compile of anomaly for S60 3.1 SDKEspen Riskedal2009-09-291-1/+1
| | | | | | | | | | | | It seems that for 3.1 we need to explicitly link with insock.dll as well Reviewed-by: Aleksandar Babic
| * The text fit now in the screen.Alexis Menard2009-09-291-1/+1
| | | | | | | | | | Task-number:QT-739 Reviewed-by:TrustMe
* | Install the qmediaplayer.exe too.Frans Englich2009-09-301-0/+1
|/
* Merge commit 'qt/4.6' into mmfphononFrans Englich2009-09-2911-26/+144
|\
| * Fix spelling error in the demo browser close-multiple-tabs dialogTor Arne Vestbø2009-09-291-1/+1
| |
| * Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-292-6/+6
| |\
| | * Fixed a crash in the boxes demo when using -graphicssystem opengl.Trond Kjernaasen2009-09-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several problems: 1. The demo leaked the scene contents, which caused cleanup problems. 2. The QGLContext::currentContext() could be changed behind Qt's back under Windows (the temp contexts never reset the current context). 3. QGLFormat::openGLVersionFlags() function would return uninitialized flags if the QGLWidget constructor happened to call qt_gl_preferGL2Engine(). Reviewed-by: Kim
| | * Make QSignalEvent and QWrappedEvent inner classes of QStateMachineKent Hansen2009-09-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fixed: Fluidlauncher doesn't react to keys.Miikka Heikkinen2009-09-291-0/+1
| |/ | | | | | | | | | | | | | | | | Some recent changes had made Fluidlauncher unresponsive to keyboard input. It appears none of the Fluidlauncher widgets got keyboard focus by default, so set the focus explicitly to proper widget. Task-number: QT-2214 Reviewed-by: Alessandro Portale
| * Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-252-4/+9
| |\
| | * browser demo: Disable debug logging in release modeTor Arne Vestbø2009-09-251-0/+2
| | |
| | * browser: Don't add closed tabs to the closed-tab history in privacy modeTor Arne Vestbø2009-09-251-4/+7
| | | | | | | | | | | | | | | Task-number: QTBUG-4508 Reviewed-by: Simon Hausmann
| * | Desktopservices demo no longer attempts to play music files in emulatorMiikka Heikkinen2009-09-251-3/+14
| |/ | | | | | | | | | | | | | | | | Since Symbian emulator support for playing music files is spotty at best, resulting in failure to launch at best and freezing of the emulator at worst, disabled even trying to launch music files. Task-number: QT-2047 Reviewed-by: Janne Koskinen
| * Stop fluidlauncher timers when in background to save batteryShane Kearns2009-09-254-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | Changed fluidlauncher to use a stacked widget instead of two top level windows. Used the ActivationChange event to get notification from the OS window system when fluidlauncher is active. Slideshow related timers are stopped when the window is deactivated and restarted when activated. Task-number: QT-886 Reviewed-by: Alessandro Portale
| * Raycasting example: fix painting error when the orientation changes.Ariya Hidayat2009-09-251-2/+2
| | | | | | | | Reviewed-by: TrustMe
| * Raycasting example: basic, minimalistic support for touch devices.Ariya Hidayat2009-09-251-4/+82
| | | | | | | | Reviewed-by: TrustMe
* | Revert "Modified MediaPlayer to set names on its child QObject instances"Frans Englich2009-09-241-14/+0
| | | | | | | | | | | | | | | | | | | | | | This reverts commit ea6b181df68a18044a06063ab33dc6eb35b2aba1. We revert it because although it's useful for us developers when debugging, it's intended for customers, to demonstrate how to use Qt code. Conflicts: demos/mediaplayer/mediaplayer.cpp
* | Merge commit 'qt/4.6' into mmfphononFrans Englich2009-09-23342-4123/+37327
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: demos/embedded/fluidlauncher/config_s60/config.xml demos/embedded/fluidlauncher/fluidlauncher.pro src/corelib/io/io.pri src/gui/kernel/qapplication_s60.cpp src/gui/kernel/qwidget_s60.cpp src/s60installs/qt_libs.pro
| * Ray casting example: bypass alpha-blending for an easy speed-up.Ariya Hidayat2009-09-221-0/+1
| | | | | | | | Reviewed-by: TrustMe
| * Demo browser: Enable DNS prefetchingMarkus Goetz2009-09-211-0/+2
| | | | | | | | Reviewed-by: TrustMe
| * Wrong string when setting formula through menu in demos/spreadsheet.Gabriel de Dietrich2009-09-171-1/+1
| | | | | | | | | | | | Reviewed-by: TrustMe Task-number: 260975 Task-number: QT-4506
| * QCursor support for Symbian OSShane Kearns2009-09-157-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Don't use UI_TOOLS for browser demo on QWSAnders Bakken2009-09-111-1/+1
| | | | | | | | | | | | | | | | | | When cross-compiling and shadow building Makefiles are not generated for designer and libQtUiTools. For this reason designer usually doesn't build for people trying to compile the browser example on QWS due to unresolved externals or weird link errors when the build tries to pick up the system Qt libraries instead. The mechanism to fix this is already in place for S60.
| * demos/embedded/anomaly compile fix for non-RTTI settingsJoerg Bornemann2009-09-091-10/+18
| | | | | | | | | | Reviewed-by: mauricek Reviewed-by: thartman
| * Update license headers again.Jason McDonald2009-09-09267-1060/+1062
| | | | | | | | Reviewed-by: Trust Me
| * Fixes "Out of heap space" error when compiling on some setups.Bill King2009-09-081-2/+2
| | | | | | | | | | The original fix was for "out of stack space" due to to low a value, this one is for too high a value.