def init_ui(self):
        self.setWindowTitle("执行终端命令")
        self.confirmBtn.clicked.connect(self.on_confirm)
        self.cancelBtn.clicked.connect(self.reject)

        width, height = ScreenUtil.get_screen_size()
        self.resize(width * 0.5, self.height())
示例#2
0
    def init_ui(self):
        self.setWindowTitle("在指定目录打开终端")
        self.destBtn.clicked.connect(self.on_open_dest)  # 打开源文件
        self.confirmBtn.clicked.connect(self.on_confirm)
        self.cancelBtn.clicked.connect(self.reject)

        width, height = ScreenUtil.get_screen_size()
        self.resize(width * 0.5, self.height())
    def init_ui(self):
        self.setWindowTitle("移除文件/文件夹")
        self.originBtn.clicked.connect(self.on_open_origin)  # 打开源文件
        self.confirmBtn.clicked.connect(self.on_confirm)
        self.cancelBtn.clicked.connect(self.reject)

        width, height = ScreenUtil.get_screen_size()
        self.resize(width*0.5, self.height())
    def init_ui(self):
        self.setWindowTitle("合并文件并压缩到指定文件")
        self.originBtn.clicked.connect(self.on_open_origin)  # 打开源文件
        self.zipBtn.clicked.connect(self.on_open_zip)  # 打开源文件
        self.confirmBtn.clicked.connect(self.on_confirm)
        self.cancelBtn.clicked.connect(self.reject)
        self.listView.clicked.connect(self.on_remove_path)

        width, height = ScreenUtil.get_screen_size()
        self.resize(width * 0.5, height * 0.5)
示例#5
0
 def init_ui(self):
     width, height = ScreenUtil.get_screen_size()
     self.resize(width*0.66, height*0.8)