Example #1
0
 def __set_properties(self):
     self.SetTitle(_("MapTiler - Map Tile Generator for Mashups"))
     if sys.platform in ['win32','win64'] or sys.platform.startswith('linux'):
         self.SetIcon( icons.getIconIcon() )
     self.SetBackgroundColour(wx.Colour(253, 253, 253))
     for label in self.steplabel[1:]:
         label.Enable(False)
     self.label_10.SetForegroundColour(wx.Colour(220, 83, 9))
     self.label_10.SetFont(wx.Font(18, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
     self.panel_2.SetBackgroundColour(wx.Colour(255, 255, 255))
     self.panel_1.SetBackgroundColour(wx.Colour(192, 192, 192))
     self.label_8.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
     self.label_9.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
     self.button_back.Enable(False)
     self.button_continue.SetDefault()
Example #2
0
	def __set_properties(self):
		self.SetTitle(_("mapCutr - Tile Generator for Map Mashups"))
		if sys.platform in ['win32','win64']:
			icon = wx.Icon( sys.executable, wx.BITMAP_TYPE_ICO )
			self.SetIcon( icon )
		if sys.platform.startswith('linux'):
			self.SetIcon( icons.getIconIcon() )
		self.SetBackgroundColour(wx.Colour(253, 253, 253))
		for label in self.steplabel[1:]:
			label.Enable(False)
		self.label_10.SetForegroundColour(wx.Colour(19, 63, 101))
		self.label_10.SetFont(wx.Font(18, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
		self.panel_2.SetBackgroundColour(wx.Colour(255, 255, 255))
		self.panel_1.SetBackgroundColour(wx.Colour(192, 192, 192))
		self.label_8.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
		self.label_9.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
		self.button_back.Enable(False)
		self.button_continue.SetDefault()
Example #3
0
 def __set_properties(self):
     self.SetTitle(_("MapMbTiles - MbTiles / Tile Generator"))
     if sys.platform in ["win32", "win64"]:
         icon = wx.Icon(sys.executable, wx.BITMAP_TYPE_ICO)
         self.SetIcon(icon)
     if sys.platform.startswith("linux"):
         self.SetIcon(icons.getIconIcon())
     self.SetBackgroundColour(wx.Colour(253, 253, 253))
     for label in self.steplabel[1:]:
         label.Enable(False)
     self.label_10.SetForegroundColour(wx.Colour(220, 83, 9))
     self.label_10.SetFont(wx.Font(18, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
     self.panel_2.SetBackgroundColour(wx.Colour(255, 255, 255))
     # self.panel_0.SetBackgroundColour(wx.Colour(192, 192, 192))
     self.panel_1.SetBackgroundColour(wx.Colour(192, 192, 192))
     self.label_8.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
     self.label_9.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
     self.button_back.Enable(False)
     self.button_continue.SetDefault()
Example #4
0
 def __set_properties(self):
     self.SetTitle(_("MapTiler - Map Tile Generator for Mashups"))
     if sys.platform in ['win32', 'win64'
                         ] or sys.platform.startswith('linux'):
         self.SetIcon(icons.getIconIcon())
     self.SetBackgroundColour(wx.Colour(253, 253, 253))
     for label in self.steplabel[1:]:
         label.Enable(False)
     self.label_10.SetForegroundColour(wx.Colour(220, 83, 9))
     self.label_10.SetFont(
         wx.Font(18, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
     self.panel_2.SetBackgroundColour(wx.Colour(255, 255, 255))
     self.panel_1.SetBackgroundColour(wx.Colour(192, 192, 192))
     self.label_8.SetFont(
         wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
     self.label_9.SetFont(
         wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
     self.button_back.Enable(False)
     self.button_continue.SetDefault()