aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui
Commit message (Collapse)AuthorAgeFilesLines
* Replaced Nokia copyrights and contact detailsTeemu Kaukoranta2013-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced Nokia copyrights with correct Digia copyrights. Text in front of copyright is now retained: ** File is part of Foo, Copyright Nokia... -> ** File is part of Foo, Copyright Digia... Replaced Nokia contact details with Digia's. Removing "All Rights Reserved" no longer leaves an empty line. Used the following command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*|.*Contact.*' {} \; | tee >(xargs sed -i -r '1,50 { /INdT|copy[a-z]*[ ]*=/ !{ s/(^[ \t:#*]*)([a-z ]*) (Copyright.*Nokia.*)/ \1\2Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I }}') >(xargs sed -i -r '1,50 s/(^[ \t:#*]*)(.*info@qt\.nokia\.com.* |.*INSERT EMAIL ADDRESS.*|.*qt-info@nokia\.com.* |.*qt-label1@nokia\.com.*|.*http:\/\/qt\.nokia\.com\/contact.* |.*qt-sales@nokia\.com.*|.*http:\/\/www\.qt-project\.org\/.*)/ \1Contact: http:\/\/www\.qt-project\.org\/legal/I') >(xargs sed -i -r '1,50{/(^[ \t:#*]*)(all rights reserved.*)/Id}') Command now finds command details that point to qt-project.org and changes them to qt-project.org/legal Also no longer wrongly replaces code snippet "copyright = ..". Need to fix these case-by-case later. Change-Id: I4456c00202c4a2264a400bdc18c19cd097876861 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Invalidate invisibleRootItem in clear() methodJohn Ehresman2012-07-311-0/+8
| | | | | | | Fixes PYSIDE-56 Change-Id: If0529a289e6d9613fdd85bd9d37ccf438d4e92ca Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Do not always try to remove bytecode version of the test.Hugo Parente Lima2012-05-041-7/+7
| | | | | | | | | | | Trying to remove the bytecode file doesn't work if it wasn't created in the first place. This can happen for example under Gentoo, where bytecode is disabled while building packages to avoid sandbox violations when Python tries to write a bytecode file for an already-installed module outside the package build directory. Change-Id: I4cbd63527479365e6f201d3fc51c576f55830680 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Add hash-function for QModelIndex and QPersistenModelIndexAlexander Jones2012-04-192-0/+45
| | | | | | Change-Id: I2725e78a1006fbee54894f202997e2e408998551 Task-number: PYSIDE-41 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Fix BUG #1091 - "PixmapFragment and drawPixmapFragments are not bound"Paulo Alcantara2012-03-082-0/+15
| | | | | | | | | See http://bugs.pyside.org/show_bug.cgi?id=1091. Also minor coding style fixes in QtGui's typesystem. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
* Fix BUG #1077 - "Application exit crash when call QSyntaxHighlighter.document()"Paulo Alcantara2012-03-082-0/+18
| | | | | | Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix BUG #1048Paulo Alcantara2012-03-082-0/+9
| | | | | | Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewer: Willer Moreira <willer.moreira@openbossa.org> Hugo Parente Lima <hugo.lima@openbossa.org>
* Remove unused code in bug 844 unit test.Hugo Parente Lima2012-03-081-1/+0
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed unittest to work with python3.Renato Filho2012-03-081-2/+6
|
* Updated QtGui modue to works with python 2.x and 3.xRenato Filho2012-03-0814-67/+90
|
* Created unit test for layout policy.Renato Filho2012-03-081-5/+45
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unit test for bug #1006.Renato Filho2012-03-082-0/+44
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unit test for bug #1002.Renato Filho2012-03-082-0/+20
| | | | | Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Create unit test for bug #998.Renato Filho2012-03-082-0/+11
| | | | | Reviewed by: Hugo Parente <hugo.lima@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Fix bug 966 - "QX11Info.display() missing"Hugo Parente Lima2012-03-082-6/+13
|
* Created unit test for QColor reduce function.Renato Filho2012-03-082-0/+32
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Unit test for bug 967, a side effect of bug 988.Hugo Parente Lima2012-03-082-0/+19
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Created test for bug #979.Renato Filho2012-03-083-0/+12
|
* Fix bug 988 - "The type supplied with currentChanged signal in QTabWidget ↵Hugo Parente Lima2012-03-082-0/+19
| | | | | | | has changed in 1.0.6" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unit test for repr function.Renato Filho2012-03-082-0/+16
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for QMenu, QMenuBar, QToolBar clear function.Renato Filho2012-03-082-0/+47
| | | | | Reviewed by: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for __reduce__ of empty QColor.Renato Filho2012-03-081-1/+12
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Created unitest for bug #972.Renato Filho2012-03-082-0/+40
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Fix bug 964 - "QAbstractItemView.moveCursor() method is missing"Hugo Parente Lima2012-03-082-0/+19
| | | | | Reviewer: Marcelo Lira <marcelol.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Created unit test for QColor.__repr__ and QColor.__str__ functions.Renato Filho2012-03-081-0/+12
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixes Bug #944: Segfault on QIcon(None).pixmap()Marcelo Lira2012-03-082-0/+18
| | | | | | | http://bugs.pyside.org/show_bug.cgi?id=944 Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug 941 - "Signals with QtCore.Qt types as arguments has invalid signatures"Hugo Parente Lima2012-03-082-0/+18
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Moved test for bug #921 from QtCore's directory to QtGui's.Marcelo Lira2012-03-082-0/+53
| | | | | | | Because it imports QtGui module. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Fix bug 821 - "Mapping interface for QPixmapCache"Hugo Parente Lima2012-03-081-0/+7
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixes bug #910 - installEventFilter() increments reference count on target ↵Marcelo Lira2012-03-081-3/+3
| | | | | | | | | | | object. http://bugs.pyside.org/show_bug.cgi?id=910 Also added/fixed unit tests. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for bug #919.Renato Filho2012-03-082-0/+28
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fixed QMainWindow ownership control.Renato Filho2012-03-081-2/+13
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 879 - "QDoubleSpinBox: Can't call the parent validate() method from ↵Hugo Parente Lima2012-03-082-0/+29
| | | | | | | a subclass" Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug 822 - "Can't use QApplication without X"Hugo Parente Lima2012-03-082-0/+14
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added an unit test for bug #871.Marcelo Lira2012-03-082-0/+42
| | | | | | | http://bugs.pyside.org/show_bug.cgi?id=871 Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Created unit test for bug #860.Renato Filho2012-03-082-0/+37
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
* Unit test for bug862 - "Problems when printing objects"Hugo Parente Lima2012-03-082-0/+41
|
* Updated example to handle with Python warnings.Renato Filho2012-03-081-1/+5
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for QObject.eventFilter function.Renato Filho2012-03-082-0/+40
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created DestroyListener class.Renato Filho2012-03-081-0/+1
| | | | | | | | | | | This class is used to keep the Python object live until the signal destroyed emission. With this is possible to use the QObject on destruction signal. Fixes bug #505. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Added the missing QPixmapCache.Key class to the type system.Marcelo Lira2012-03-082-0/+37
| | | | | | | Unit tests for QPixmapCache were also added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for bug #854.Renato Filho2012-03-082-0/+41
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
* Added tests for bug #716 - QPersistentModelIndex isn't convertible to ↵Marcelo Lira2012-03-082-0/+10
| | | | | | | | | | | | | QModelIndex The main test (exactly the same as reported) was added to QtGui tests, but also extended QAbstractItemModel test with a case that is the essence of the problem. http://bugs.pyside.org/show_bug.cgi?id=716 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Create unit tests for bug #606Paulo Alcantara2012-03-082-0/+27
| | | | | | | Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created test for mew pythonic functions on QTransform class.Renato Filho2012-03-081-1/+58
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix assert in bug 722 unit test.Hugo Parente Lima2012-03-081-2/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Moved unit test of bug 834 from QtCore to QtGui, as it tests QtGui classes.Hugo Parente Lima2012-03-082-0/+19
|
* Created unit test for bug #785.Renato Filho2012-03-082-0/+30
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 844 - "Crash in QGraphicsItem::toGraphicsObject when printing obj ↵Hugo Parente Lima2012-03-082-0/+20
| | | | | | | reference" Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Updated unit test for bug #617 to new enum repr format.Renato Filho2012-03-081-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>