Warning, /education/marble/src/bindings/python/sip/DownloadRegionDialog.sip is written in an unsupported language. File is not indexed.
0001 // Copyright 2010 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 DownloadRegionDialog : QDialog
0023 {
0024 %TypeHeaderCode
0025 #include <DownloadRegionDialog.h>
0026 %End
0027
0028 public:
0029 enum SelectionMethod
0030 {
0031 VisibleRegionMethod,
0032 SpecifiedRegionMethod,
0033 RouteDownloadMethod
0034 };
0035 ~DownloadRegionDialog ();
0036 void setAllowedTileLevelRange (const int minimumTileLevel, const int maximumTileLevel);
0037 void setVisibleTileLevel (const int tileLevel);
0038 void setSelectionMethod (const Marble::DownloadRegionDialog::SelectionMethod);
0039 QVector<Marble::TileCoordsPyramid> region () const;
0040 void setSpecifiedLatLonAltBox (const Marble::GeoDataLatLonAltBox&);
0041 void setVisibleLatLonAltBox (const Marble::GeoDataLatLonAltBox&);
0042 void updateTextureLayer ();
0043 signals:
0044 void applied ();
0045 void hidden ();
0046 void shown ();
0047 protected:
0048 virtual void hideEvent (QHideEvent* event);
0049 virtual void showEvent (QShowEvent* event);
0050 public:
0051 //force
0052 DownloadRegionDialog (Marble::MarbleWidget* widget, QWidget* parent = 0, const Qt::WindowFlags f = 0);
0053 //end
0054 //ig explicit DownloadRegionDialog (MarbleWidget*const widget, QWidget*const parent = 0, const Qt::WindowFlags f = 0);
0055 };
0056 };