Example #1
0
    def __init__(self, master1):
        """
		:param master1: self.master, a widget from interface.py
		"""
        super(Txt2shp, self).__init__(master1, "txt2shp.gc", self.confirm)
        self.name = "txt转shp"
        frame = (self.Frame, self.FrameStatic, self.FrameDynamic)
        # block1
        self.block1 = tooltk.blockDIR_in(frame, u"TXT文件夹")
        # block2
        self.block2 = tooltk.blockDIR_in(frame, u"输出地址")
        self.commu = multication.MuCation()
Example #2
0
 def __init__(self, master):
     super(MainGUI, self).__init__(master,
                                   "cal_real_area.gc",
                                   self.confirm)
     self.name=u"计算真实面积"
     frame = (self.Frame, self.FrameStatic, self.FrameDynamic)
     # block
     self.block1 = tooltk.blockShp_in(frame, u"DLTB图层")
     self.block2 = tooltk.blockShp_in(frame, u"XZQ图层")
     self.block3 = tooltk.blockDIR_in(frame, u"GBZ文件夹")
     self.block4 = tooltk.blockValue(frame, u"区县名称")
     self.block5 = tooltk.blockDIR_in(frame, u"GBZ文件夹(19-20年)")
Example #3
0
 def __init__(self, master1):
     super(ZLDJGui, self).__init__(master1, "ZLDJ.gc", self.confirm)
     self.name = "质量等级"
     frame = (self.Frame, self.FrameStatic, self.FrameDynamic)
     # block1
     self.block1 = tooltk.blockDIR_in(frame, u"数据文件地址")
     self.block2 = tooltk.blockSheet(frame, u"入库清单")
Example #4
0
 def __init__(self, master1):
     super(AreaCalGui, self).__init__(master1, "area_cal.gc", self.confirm)
     self.name = "计算地类面积"
     frame = (self.Frame, self.FrameStatic, self.FrameDynamic)
     # block1
     self.block1 = tooltk.blockDIR_in(frame, u"数据文件地址")
     self.block2 = tooltk.blockShp_in(frame, u"DLTB图层")
     self.block3 = tooltk.blockSheet(frame, u"复核表")
Example #5
0
 def __init__(self, master1):
     super(ZLDJCalGui, self).__init__(master1, "zldj_cal.gc", self.confirm)
     self.name = u"计算耕地质量等级"
     frame = (self.Frame, self.FrameStatic, self.FrameDynamic)
     # block1
     self.block1 = tooltk.blockDIR_in(frame, u"数据文件地址")
     self.block2 = tooltk.blockShp_in(frame, u"DLTB图层")
     self.block3 = tooltk.blockSheet(frame, u"复核表")
Example #6
0
    def __init__(self, master1):
        """
        :param master1: mian_f , a widget from tool_entrance.py
        """
        super(MultipExp, self).__init__(master1, "multiplexport.gc",
                                        self.confirm_mu)
        self.name = u"多进程批量导图"
        frame = (self.Frame, self.FrameStatic, self.FrameDynamic)
        # block1
        self.block1 = tooltk.blockDIR_in(frame, u"mxd文档文件夹")
        # block2 取消按钮
        self.block2 = tooltk.blockValue(frame, u"进程数")
        # block3 取消按钮
        self.block3 = tooltk.blockValue(frame, u"出图分辨率")
        # self.addfile_button.config(state = "disable")
        # self.addfile_button.pack_forget()  # 隐藏模块
        # self.addfile_button.destroy()	# 隐藏模块

        # stdout = multication.StdoutQueue()
        # sys.stdout = stdout.new_stdout
        self.commu = multication.MuCation()