Warning, /education/marble/src/bindings/python/sip/global.sip is written in an unsupported language. File is not indexed.
0001 //
0002 // Copyright 2008 Simon Edwards <simon@simonzone.com>
0003 //
0004 // This library is free software; you can redistribute it and/or
0005 // modify it under the terms of the GNU Lesser General Public
0006 // License as published by the Free Software Foundation; either
0007 // version 2.1 of the License, or (at your option) any later version.
0008 //
0009 // This library is distributed in the hope that it will be useful,
0010 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0012 // Lesser General Public License for more details.
0013 //
0014 // You should have received a copy of the GNU Lesser General Public
0015 // License along with this library. If not, see <http://www.gnu.org/licenses/>.
0016 //
0017
0018 %ModuleHeaderCode
0019 #include <MarbleGlobal.h>
0020 %End
0021
0022
0023 namespace Marble
0024 {
0025
0026 enum TessellationFlag
0027 {
0028 NoTessellation,
0029 Tessellate,
0030 RespectLatitudeCircle,
0031 FollowGround,
0032 RotationIndicatesFill,
0033 SkipLatLonNormalization
0034 };
0035
0036 typedef QFlags<Marble::TessellationFlag> TessellationFlags;
0037
0038
0039 enum Projection
0040 {
0041 Spherical,
0042 Equirectangular,
0043 Mercator
0044 };
0045
0046
0047
0048
0049 enum Dimension
0050 {
0051 Latitude,
0052 Longitude
0053 };
0054
0055 typedef QFlags<Marble::Dimension> Dimensions;
0056
0057
0058 enum AngleUnit
0059 {
0060 DMSDegree,
0061 DecimalDegree,
0062 UTM
0063 };
0064
0065
0066 enum ViewContext
0067 {
0068 Still,
0069 Animation
0070 };
0071
0072
0073 enum MapQuality
0074 {
0075 OutlineQuality,
0076 LowQuality,
0077 NormalQuality,
0078 HighQuality,
0079 PrintQuality
0080 };
0081
0082
0083 enum LabelPositionFlag
0084 {
0085 NoLabel,
0086 LineStart,
0087 LineCenter,
0088 LineEnd,
0089 IgnoreXMargin,
0090 IgnoreYMargin
0091 };
0092
0093 typedef QFlags<Marble::LabelPositionFlag> LabelPositionFlags;
0094
0095
0096 enum LabelLocalization
0097 {
0098 CustomAndNative,
0099 Custom,
0100 Native
0101 };
0102
0103
0104 enum DragLocation
0105 {
0106 KeepAxisVertically,
0107 FollowMousePointer
0108 };
0109
0110
0111 enum OnStartup
0112 {
0113 ShowHomeLocation,
0114 LastLocationVisited
0115 };
0116
0117
0118 enum AltitudeMode
0119 {
0120 ClampToGround,
0121 RelativeToGround,
0122 Absolute
0123 };
0124
0125
0126 enum Pole
0127 {
0128 AnyPole,
0129 NorthPole,
0130 SouthPole
0131 };
0132
0133
0134 class MarbleGlobal
0135 {
0136 %TypeHeaderCode
0137 #include <MarbleGlobal.h>
0138 %End
0139
0140 public:
0141 static Marble::MarbleGlobal* getInstance ();
0142
0143 private:
0144 MarbleGlobal ();
0145 public:
0146 ~MarbleGlobal ();
0147 //ig MarbleLocale* locale () const;
0148 enum Profile
0149 {
0150 Default,
0151 SmallScreen,
0152 HighResolution
0153 };
0154 typedef QFlags<Marble::MarbleGlobal::Profile> Profiles;
0155 Marble::MarbleGlobal::Profiles profiles () const;
0156 void setProfiles (Marble::MarbleGlobal::Profiles profiles);
0157 static Marble::MarbleGlobal::Profiles detectProfiles ();
0158 };
0159 // MarbleGlobal
0160
0161 enum ProxyType
0162 {
0163 HttpProxy,
0164 Socks5Proxy
0165 };
0166 enum DownloadUsage
0167 {
0168 DownloadBulk,
0169 DownloadBrowse
0170 };
0171 enum FlyToMode
0172 {
0173 Automatic,
0174 Instant,
0175 Linear,
0176 Jump
0177 };
0178 };
0179 // Marble
0180
0181