summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_uuid.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-11-02 13:44:20 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-11-02 13:44:20 (GMT)
commite6996ed5d9c3ce149a8384a625521ab5a0820ae3 (patch)
tree3a650836587ea15ec283efa03418422da466e384 /Lib/test/test_uuid.py
parented71918d1297c9d478e497c783520d46b2bc0ee4 (diff)
downloadcpython-e6996ed5d9c3ce149a8384a625521ab5a0820ae3.zip
cpython-e6996ed5d9c3ce149a8384a625521ab5a0820ae3.tar.gz
cpython-e6996ed5d9c3ce149a8384a625521ab5a0820ae3.tar.bz2
Issue #16145: Support legacy strings in the _csv module.
Diffstat (limited to 'Lib/test/test_uuid.py')
0 files changed, 0 insertions, 0 deletions
s file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** If you are unsure which license is appropriate for your use, please ** contact the sales department at http://qt.nokia.com/contact. ** $QT_END_LICENSE$ ** ****************************************************************************/ #ifndef NODE_H #define NODE_H #include <QGraphicsItem> class Node: public QObject, public QGraphicsItem { Q_OBJECT Q_PROPERTY(QPointF position READ pos WRITE setPos) public: Node(const QPointF &pos, QGraphicsItem *parent = 0); ~Node(); QRectF boundingRect() const; void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); signals: void positionChanged(); protected: QVariant itemChange(GraphicsItemChange change, const QVariant &value); void mousePressEvent(QGraphicsSceneMouseEvent *); void mouseMoveEvent(QGraphicsSceneMouseEvent *); void mouseReleaseEvent(QGraphicsSceneMouseEvent *); private: bool m_dragging; }; #endif