Warning, /education/marble/src/bindings/python/sip/QtMarbleConfigDialog.sip is written in an unsupported language. File is not indexed.
0001 // Copyright 2009 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 QtMarbleConfigDialog : QDialog
0023 {
0024 %TypeHeaderCode
0025 #include <QtMarbleConfigDialog.h>
0026 %End
0027
0028 public:
0029 explicit QtMarbleConfigDialog (Marble::MarbleWidget* marbleWidget, QWidget* parent /TransferThis/ = 0);
0030 ~QtMarbleConfigDialog ();
0031 Marble::AngleUnit angleUnit () const;
0032 Marble::MapQuality stillQuality () const;
0033 Marble::MapQuality animationQuality () const;
0034 int labelLocalization () const;
0035 QFont mapFont () const;
0036 int dragLocation () const;
0037 int onStartup () const;
0038 bool animateTargetVoyage () const;
0039 int volatileTileCacheLimit () const;
0040 int persistentTileCacheLimit () const;
0041 QString proxyUrl () const;
0042 int proxyPort () const;
0043 QString proxyUser () const;
0044 QString proxyPass () const;
0045 bool proxyType () const;
0046 bool proxyAuth () const;
0047 signals:
0048 void settingsChanged ();
0049 void clearVolatileCacheClicked ();
0050 void clearPersistentCacheClicked ();
0051 public:
0052 void readSettings ();
0053 void writeSettings ();
0054 QString externalMapEditor () const;
0055 bool systemTime () const;
0056 bool lastSessionTime () const;
0057 bool systemTimezone () const;
0058 bool UTC () const;
0059 bool customTimezone () const;
0060 int chosenTimezone () const;
0061 void initializeCustomTimezone ();
0062 QLocale::MeasurementSystem measurementSystem () const;
0063 bool inertialEarthRotation () const;
0064 bool mouseViewRotation () const;
0065 };
0066 };