Exemple #1
0
 def update_config(self):
     self.server_entry.set_text(self.config["ip"])
     self.user_entry.set_text(self.config["username"])
     self.password_entry.set_text(self.config["password"])
     self.port_spinbutton.set_value(float(self.config["port"]))
     self.mount_point_entry.set_text(self.config["mount"])
     OutputUI.update_config(self)
Exemple #2
0
 def get_config(self):
     self.config["ip"] = self.server_entry.get_text()
     self.config["username"] = self.user_entry.get_text()
     self.config["password"] = self.password_entry.get_text()
     self.config["port"] = int(self.port_spinbutton.get_value())
     OutputUI.get_config(self)
     return self.config
Exemple #3
0
 def get_config(self):
     self.config["ip"] = self.server_entry.get_text()
     self.config["username"] = self.user_entry.get_text()
     self.config["password"] = self.password_entry.get_text()
     self.config["port"] = int(self.port_spinbutton.get_value())
     OutputUI.get_config(self)
     return self.config
Exemple #4
0
    def __init__(self):
        OutputUI.__init__(self)
        self.interface.add_from_file(UI_DIR + "/output/fileoutput.ui")
        self.box = self.interface.get_object("file_box")
        self.config["location"] = "default.ogg"
        self.button = SaveButton()

        self.box.attach(self.button, 1, 2, 0, 1)
    def __init__(self):
        OutputUI.__init__(self)
        self.interface.add_from_file(UI_DIR + "/output/fileoutput.ui")
        self.box = self.interface.get_object("file_box")
        self.config["location"] = "default.ogg"
        self.button = SaveButton()

        self.box.attach(self.button, 1, 2, 0, 1)
Exemple #6
0
    def __init__(self):
        OutputUI.__init__(self)
        self.interface.add_from_file(UI_DIR + "/output/fgdpoutput.ui")

        self.server_entry = self.interface.get_object("server_entry")
        self.user_entry = self.interface.get_object("user_entry")
        self.port_spinbutton = self.interface.get_object("port_spinbutton")
        self.password_entry = self.interface.get_object("password_entry")

        self.box = self.interface.get_object("fgdp_box")
        self.config["location"] = ""
Exemple #7
0
    def __init__(self):
        OutputUI.__init__(self)
        self.interface.add_from_file(UI_DIR + "/output/fgdpoutput.ui")

        self.server_entry = self.interface.get_object("server_entry")
        self.user_entry = self.interface.get_object("user_entry")
        self.port_spinbutton = self.interface.get_object("port_spinbutton")
        self.password_entry = self.interface.get_object("password_entry")

        self.box = self.interface.get_object("fgdp_box")
        self.config["location"] = ""
Exemple #8
0
 def __init__(self):
     OutputUI.__init__(self)
Exemple #9
0
 def update_config(self):
     self.button.set_filename(self.config["location"])
     OutputUI.update_config(self)
Exemple #10
0
 def get_config(self):
     self.config["location"] = self.button.get_filename()
     OutputUI.get_config(self)
     return self.config
Exemple #11
0
 def __init__(self):
     OutputUI.__init__(self)
Exemple #12
0
 def update_config(self):
     self.button.set_filename(self.config["location"])
     OutputUI.update_config(self)
Exemple #13
0
 def get_config(self):
     self.config["location"] = self.button.get_filename()
     OutputUI.get_config(self)
     return self.config