Warning, /education/marble/src/bindings/python/sip/GeoDataListStyle.sip is written in an unsupported language. File is not indexed.
0001 // Copyright 2011 Simon Edwards <simon@simonzone.com> 0002 0003 // Generated by twine2 0004 0005 // This program is free software; you can redistribute it and/or modify 0006 // it under the terms of the GNU Library General Public License as 0007 // published by the Free Software Foundation; either version 2, or 0008 // (at your option) any later version. 0009 0010 // This program is distributed in the hope that it will be useful, 0011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0013 // GNU General Public License for more details 0014 0015 // You should have received a copy of the GNU Library General Public 0016 // License along with this program; if not, write to the 0017 // Free Software Foundation, Inc., 0018 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0019 0020 namespace Marble 0021 { 0022 class GeoDataListStyle : Marble::GeoDataObject 0023 { 0024 %TypeHeaderCode 0025 #include <GeoDataListStyle.h> 0026 %End 0027 0028 public: 0029 GeoDataListStyle (); 0030 GeoDataListStyle (const Marble::GeoDataListStyle& other); 0031 ~GeoDataListStyle (); 0032 virtual const char* nodeType () const; 0033 enum ListItemType 0034 { 0035 Check, 0036 RadioFolder, 0037 CheckOffOnly, 0038 CheckHideChildren 0039 }; 0040 Marble::GeoDataListStyle::ListItemType listItemType () const; 0041 void setListItemType (const Marble::GeoDataListStyle::ListItemType& type); 0042 QColor backgroundColor () const; 0043 void setBackgroundColor (const QColor& color); 0044 //FIXME 0045 //ig QVector<Marble::GeoDataItemIcon*> itemIconList () const; 0046 0047 //ig Marble::GeoDataItemIcon* child (int); 0048 const Marble::GeoDataItemIcon* child (int) const; 0049 int childPosition (Marble::GeoDataItemIcon* child); 0050 void append (Marble::GeoDataItemIcon* other); 0051 void remove (int index); 0052 int size () const; 0053 //ig Marble::GeoDataItemIcon& at (int pos); 0054 const Marble::GeoDataItemIcon& at (int pos) const; 0055 //ig Marble::GeoDataItemIcon& last (); 0056 const Marble::GeoDataItemIcon& last () const; 0057 //ig Marble::GeoDataItemIcon& first (); 0058 const Marble::GeoDataItemIcon& first () const; 0059 0060 // FIXME 0061 // QVector<GeoDataItemIcon*>::Iterator begin (); 0062 // QVector<GeoDataItemIcon*>::Iterator end (); 0063 // QVector<GeoDataItemIcon*>::ConstIterator constBegin () const; 0064 // QVector<GeoDataItemIcon*>::ConstIterator constEnd () const; 0065 0066 void clear (); 0067 virtual void pack (QDataStream& stream) const; 0068 virtual void unpack (QDataStream& stream); 0069 }; 0070 };