コード例 #1
0
ファイル: qnet_object.py プロジェクト: maximerobin/Ufwi
    def __init__(self, parent=None):
        QConfigObject.__init__(self, deserialize, 'netcfg', 'setNetCfg', parent=parent)
        self.models[MODEL_NETWORKS_EXCL_HA] = QStandardItemModel()
        self.models[MODEL_NETWORKS_INCL_HA] = QStandardItemModel()
        self.models[MODEL_KNOWNNETWORKS_EXCL_HA] = QStandardItemModel()
        self.models[MODEL_NETWORKS_IPV4_EXCL_HA] = QStandardItemModel()
        self.models[MODEL_NETWORKS_IPV4_EXCL_HA_SER_PRI_SEC] = QStandardItemModel()

        self.__net_icon = QIcon(":/icons-32/network.png")
コード例 #2
0
ファイル: q_snmpd_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     QConfigObject.__init__(self, SnmpdConf.deserialize, 'snmpd',
                            'setSnmpdConfig', parent=parent)
コード例 #3
0
ファイル: q_http_out_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     QConfigObject.__init__(self, HttpOutConf.deserialize, 'httpout', 'setHttpOutConfig', parent=parent)
コード例 #4
0
ファイル: q_squid_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     # FIXME: Don't create QSquidObject instead of disabling the constructor
     if not EDENWALL:
         return
     QConfigObject.__init__(self, SquidConf.deserialize, 'squid',
                            'setSquidConfig', parent=parent)
コード例 #5
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, AuthCertConf.deserialize, 'auth_cert',
                            'setAuthCertConfig', parent=parent)
コード例 #6
0
ファイル: qha_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     QConfigObject.__init__(self, HAConf.deserialize, 'hacfg', 'setHACfg',
         parent=parent)
コード例 #7
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, SyslogExportConf.deserialize,
                            'syslog_export', 'setSyslogExportConfig',
                            parent=parent)
コード例 #8
0
ファイル: qhostname_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     QConfigObject.__init__(self, deserialize, 'hostnamecfg', 'setHostnameCfg', parent=parent)
コード例 #9
0
ファイル: q_openvpn_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     QConfigObject.__init__(self, OpenVpnConf.deserialize, 'openvpn',
                            'setOpenVpnConfig', parent=parent)
コード例 #10
0
ファイル: qresolv_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     QConfigObject.__init__(self, deserialize, 'resolvcfg', 'setResolvCfg', parent=parent)
コード例 #11
0
ファイル: q_mail_object.py プロジェクト: maximerobin/Ufwi
 def __init__(self, parent=None):
     QConfigObject.__init__(self, MailConf.deserialize, 'mailcfg',
                            'setMailConfig', parent=parent)