manager/qubesmanager/ui_newfwruledlg.py

49 lines
2.4 KiB
Python
Raw Normal View History

2011-02-21 18:15:35 +01:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'newfwruledlg.ui'
#
2011-03-03 22:41:47 +01:00
# Created: Thu Mar 3 17:36:19 2011
2011-02-21 18:15:35 +01:00
# by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_NewFwRuleDlg(object):
def setupUi(self, NewFwRuleDlg):
NewFwRuleDlg.setObjectName("NewFwRuleDlg")
NewFwRuleDlg.setWindowModality(QtCore.Qt.NonModal)
2011-03-03 22:41:47 +01:00
NewFwRuleDlg.resize(381, 121)
2011-02-21 18:15:35 +01:00
NewFwRuleDlg.setModal(True)
self.buttonBox = QtGui.QDialogButtonBox(NewFwRuleDlg)
2011-03-03 22:41:47 +01:00
self.buttonBox.setGeometry(QtCore.QRect(10, 80, 361, 32))
2011-02-21 18:15:35 +01:00
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
2011-03-03 22:41:47 +01:00
self.label_2 = QtGui.QLabel(NewFwRuleDlg)
self.label_2.setGeometry(QtCore.QRect(10, 14, 62, 17))
2011-02-21 18:15:35 +01:00
self.label_2.setObjectName("label_2")
2011-03-03 22:41:47 +01:00
self.addressEdit = QtGui.QLineEdit(NewFwRuleDlg)
self.addressEdit.setGeometry(QtCore.QRect(70, 10, 301, 27))
2011-02-21 18:15:35 +01:00
self.addressEdit.setObjectName("addressEdit")
2011-03-03 22:41:47 +01:00
self.label_4 = QtGui.QLabel(NewFwRuleDlg)
self.label_4.setGeometry(QtCore.QRect(10, 44, 61, 21))
2011-02-21 18:15:35 +01:00
self.label_4.setObjectName("label_4")
2011-03-03 22:41:47 +01:00
self.serviceComboBox = QtGui.QComboBox(NewFwRuleDlg)
self.serviceComboBox.setGeometry(QtCore.QRect(70, 40, 301, 27))
self.serviceComboBox.setEditable(True)
self.serviceComboBox.setObjectName("serviceComboBox")
2011-02-21 18:15:35 +01:00
self.retranslateUi(NewFwRuleDlg)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), NewFwRuleDlg.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), NewFwRuleDlg.reject)
QtCore.QMetaObject.connectSlotsByName(NewFwRuleDlg)
2011-03-03 22:41:47 +01:00
NewFwRuleDlg.setTabOrder(self.addressEdit, self.serviceComboBox)
NewFwRuleDlg.setTabOrder(self.serviceComboBox, self.buttonBox)
2011-02-21 18:15:35 +01:00
def retranslateUi(self, NewFwRuleDlg):
2011-03-03 22:41:47 +01:00
NewFwRuleDlg.setWindowTitle(QtGui.QApplication.translate("NewFwRuleDlg", "New Address", None, QtGui.QApplication.UnicodeUTF8))
2011-02-21 18:15:35 +01:00
self.label_2.setText(QtGui.QApplication.translate("NewFwRuleDlg", "Address", None, QtGui.QApplication.UnicodeUTF8))
2011-03-03 22:41:47 +01:00
self.label_4.setText(QtGui.QApplication.translate("NewFwRuleDlg", "Service", None, QtGui.QApplication.UnicodeUTF8))
2011-02-21 18:15:35 +01:00