Warning, /education/marble/src/bindings/python/sip/ScreenGraphicsItem.sip is written in an unsupported language. File is not indexed.
0001 //
0002 // Copyright 2009 Simon Edwards <simon@simonzone.com>
0003
0004 // Generated by twine
0005
0006 // This file is part of PyKDE4.
0007
0008 // PyKDE4 is free software; you can redistribute it and/or modify
0009 // it under the terms of the GNU Lesser General Public License as
0010 // published by the Free Software Foundation; either version 2.1 of
0011 // the License, or (at your option) any later version.
0012
0013 // PyKDE4 is distributed in the hope that it will be useful,
0014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0016 // GNU General Public License for more details.
0017
0018 // You should have received a copy of the GNU General Public License
0019 // along with this program. If not, see <http://www.gnu.org/licenses/>.
0020
0021 namespace Marble
0022 {
0023
0024 class ScreenGraphicsItem : Marble::MarbleGraphicsItem
0025 {
0026 %TypeHeaderCode
0027 #include <ScreenGraphicsItem.h>
0028 %End
0029
0030 public:
0031 ScreenGraphicsItem (Marble::MarbleGraphicsItem* parent = 0);
0032 //ig ScreenGraphicsItem (ScreenGraphicsItemPrivate* d_ptr);
0033 QPointF position () const;
0034
0035
0036 enum GraphicsItemFlag
0037 {
0038 ItemIsMovable,
0039 ItemIsHideable
0040 };
0041 typedef QFlags<Marble::ScreenGraphicsItem::GraphicsItemFlag> GraphicsItemFlags;
0042 virtual ~ScreenGraphicsItem ();
0043 void setPosition (const QPointF& position);
0044 QPointF positivePosition () const;
0045 Marble::ScreenGraphicsItem::GraphicsItemFlags flags () const;
0046 void setFlags (Marble::ScreenGraphicsItem::GraphicsItemFlags flags);
0047 protected:
0048 virtual bool eventFilter (QObject*, QEvent*);
0049 public:
0050 QVector<QPointF> absolutePositions () const;
0051 };
0052 // ScreenGraphicsItem
0053
0054 };
0055 // Marble