コード例 #1
0
 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)
コード例 #2
0
ファイル: create_nsset.py プロジェクト: LANJr4D/FRED
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)
コード例 #3
0
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)
コード例 #4
0
ファイル: create_nsset.py プロジェクト: LANJr4D/FRED
 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)