def __load_scheme(self, scheme_filename): self._scheme = StructuredNode(decode_file(scheme_filename)) self.scheme_filename = scheme_filename self.scheme_tree_view.load(self._scheme) self.adjustSize()
def __load_data(self, data_filename): self._data = StructuredNode(decode_file(data_filename)) self.save_filename = data_filename self._open_root()
def merge_data(self): add_data_filename = unicode(QFileDialog.getOpenFileName(self, "Open File", get_home_dir(), get_format_filter())) self._merge_data(decode_file(add_data_filename))