Warning, /education/marble/src/bindings/python/sip/GeoGraphicsItem.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 GeoGraphicsItem
0025 {
0026 %TypeHeaderCode
0027 #include <GeoGraphicsItem.h>
0028 %End
0029 
0030 public:
0031                             GeoGraphicsItem (const Marble::GeoDataFeature* feature);
0032     virtual ~GeoGraphicsItem ();
0033     enum GeoGraphicsItemFlag
0034     {
0035         NoOptions,
0036         ItemIsMovable,
0037         ItemIsSelectable,
0038         ItemIsVisible
0039     };
0040     typedef QFlags<Marble::GeoGraphicsItem::GeoGraphicsItemFlag> GeoGraphicsItemFlags;
0041     Marble::GeoGraphicsItem::GeoGraphicsItemFlags  flags () const;
0042     void                    setFlag (Marble::GeoGraphicsItem::GeoGraphicsItemFlag flag, bool enabled = 1);
0043     void                    setFlags (Marble::GeoGraphicsItem::GeoGraphicsItemFlags flags);
0044     Marble::GeoDataLatLonAltBox  latLonAltBox () const;
0045     void                    setLatLonAltBox (const Marble::GeoDataLatLonAltBox& latLonAltBox);
0046     int                     minZoomLevel () const;
0047     void                    setMinZoomLevel (int zoomLevel);
0048     const Marble::GeoDataStyle*  style () const;
0049     bool                    visible () const;
0050     void                    setVisible (bool visible);
0051     void                    setStyle (const Marble::GeoDataStyle* style);
0052     qreal                   zValue () const;
0053     void                    setZValue (qreal z);
0054     virtual void            paint (Marble::GeoPainter* painter, const Marble::ViewportParams* viewport)=0;
0055 protected:
0056 //ig    GeoGraphicsItemPrivate*  p () const;
0057 public:
0058     const Marble::GeoDataFeature*  feature () const;
0059 };
0060 // GeoGraphicsItem
0061 
0062 };
0063 // Marble
0064 
0065