def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.ui = Ui_FredWindow() self.ui.setupUi(self) self.ui.tech.horizontalHeader().resizeSection(0, 320) self._tech_item = QtCore.QString() self.dns_sets = add_dns_sets(self.ui.frame_dns, FredWindowDNS, 2)
class FredWindow(QtGui.QWidget): def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.ui = Ui_FredWindow() self.ui.setupUi(self) self.ui.tech.horizontalHeader().resizeSection(0,320) self._tech_item = QtCore.QString() self.dns_sets = add_dns_sets(self.ui.frame_dns, FredWindowDNS, 2) def tech_current_changed(self,r,c,x,y): self._tech_item = table_current_changed(self.ui.tech, r, c) def tech_value_changed(self,r,c): self._tech_item = table_value_changed(self.ui.tech, self._tech_item, r, c)
class FredWindow(QtGui.QWidget): def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.ui = Ui_FredWindow() self.ui.setupUi(self) self.ui.tech.horizontalHeader().resizeSection(0, 320) self._tech_item = QtCore.QString() self.dns_sets = add_dns_sets(self.ui.frame_dns, FredWindowDNS, 2) def tech_current_changed(self, r, c, x, y): self._tech_item = table_current_changed(self.ui.tech, r, c) def tech_value_changed(self, r, c): self._tech_item = table_value_changed(self.ui.tech, self._tech_item, r, c)
def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.ui = Ui_FredWindow() self.ui.setupUi(self) self.ui.tech.horizontalHeader().resizeSection(0,320) self._tech_item = QtCore.QString() self.dns_sets = add_dns_sets(self.ui.frame_dns, FredWindowDNS, 2)