예제 #1
0
class Ui_GeneralPage(object):
    def setupUi(self, GeneralPage):
        GeneralPage.setObjectName("GeneralPage")
        GeneralPage.resize(299, 92)
        self.formLayout = QtGui.QFormLayout(GeneralPage)
        self.formLayout.setObjectName("formLayout")
        self.thumbnalLabel = QtGui.QLabel(GeneralPage)
        self.thumbnalLabel.setObjectName("thumbnalLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.thumbnalLabel)
        self.kcfg_thumbnailMaxRetrieve = KIntSpinBox(GeneralPage)
        self.kcfg_thumbnailMaxRetrieve.setMinimum(1)
        self.kcfg_thumbnailMaxRetrieve.setMaximum(100)
        self.kcfg_thumbnailMaxRetrieve.setProperty("value", 3)
        self.kcfg_thumbnailMaxRetrieve.setObjectName("kcfg_thumbnailMaxRetrieve")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.kcfg_thumbnailMaxRetrieve)
        self.columnLabel = QtGui.QLabel(GeneralPage)
        self.columnLabel.setObjectName("columnLabel")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.columnLabel)
        self.kcfg_displayColumns = KIntSpinBox(GeneralPage)
        self.kcfg_displayColumns.setMinimum(1)
        self.kcfg_displayColumns.setMaximum(100)
        self.kcfg_displayColumns.setObjectName("kcfg_displayColumns")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.kcfg_displayColumns)
        self.kcfg_maxAllowedRating = KComboBox(GeneralPage)
        self.kcfg_maxAllowedRating.setObjectName("kcfg_maxAllowedRating")
        self.kcfg_maxAllowedRating.addItem("")
        self.kcfg_maxAllowedRating.addItem("")
        self.kcfg_maxAllowedRating.addItem("")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.kcfg_maxAllowedRating)
        self.ratingLabel = QtGui.QLabel(GeneralPage)
        self.ratingLabel.setObjectName("ratingLabel")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.ratingLabel)

        self.retranslateUi(GeneralPage)
        QtCore.QMetaObject.connectSlotsByName(GeneralPage)

    def retranslateUi(self, GeneralPage):
        self.thumbnalLabel.setText(kdecore.i18n("Default number of thumbnails to retrieve"))
        self.columnLabel.setText(kdecore.i18n("Number of columns to display"))
        self.kcfg_maxAllowedRating.setItemText(0, kdecore.i18n("Safe"))
        self.kcfg_maxAllowedRating.setItemText(1, kdecore.i18n("Questionable"))
        self.kcfg_maxAllowedRating.setItemText(2, kdecore.i18n("Explicit"))
        self.ratingLabel.setText(kdecore.i18n("Maximum allowed rating"))
예제 #2
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(400, 300)
        self.verticalLayout = QtGui.QVBoxLayout(Form)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.recKeyboardButton = QtGui.QCheckBox(Form)
        self.recKeyboardButton.setObjectName(_fromUtf8("recKeyboardButton"))
        self.verticalLayout.addWidget(self.recKeyboardButton)
        self.recMouseButton = QtGui.QCheckBox(Form)
        self.recMouseButton.setObjectName(_fromUtf8("recMouseButton"))
        self.verticalLayout.addWidget(self.recMouseButton)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.secondsSpinBox = KIntSpinBox(Form)
        self.secondsSpinBox.setProperty("value", 5)
        self.secondsSpinBox.setObjectName(_fromUtf8("secondsSpinBox"))
        self.horizontalLayout.addWidget(self.secondsSpinBox)
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout.addWidget(self.label_3)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(kdecore.i18n(_fromUtf8("Form")))
        self.label.setText(
            kdecore.i18n(_fromUtf8("Record a keyboard/mouse macro")))
        self.recKeyboardButton.setText(
            kdecore.i18n(_fromUtf8("Record keyboard events")))
        self.recMouseButton.setText(
            kdecore.i18n(_fromUtf8("Record mouse events (experimental)")))
        self.label_2.setText(kdecore.i18n(_fromUtf8("Start recording after")))
        self.label_3.setText(kdecore.i18n(_fromUtf8("seconds")))
예제 #3
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(400, 300)
        self.verticalLayout = QtGui.QVBoxLayout(Form)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.recKeyboardButton = QtGui.QCheckBox(Form)
        self.recKeyboardButton.setObjectName(_fromUtf8("recKeyboardButton"))
        self.verticalLayout.addWidget(self.recKeyboardButton)
        self.recMouseButton = QtGui.QCheckBox(Form)
        self.recMouseButton.setObjectName(_fromUtf8("recMouseButton"))
        self.verticalLayout.addWidget(self.recMouseButton)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.secondsSpinBox = KIntSpinBox(Form)
        self.secondsSpinBox.setProperty("value", 5)
        self.secondsSpinBox.setObjectName(_fromUtf8("secondsSpinBox"))
        self.horizontalLayout.addWidget(self.secondsSpinBox)
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout.addWidget(self.label_3)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(kdecore.i18n(_fromUtf8("Form")))
        self.label.setText(kdecore.i18n(_fromUtf8("Record a keyboard/mouse macro")))
        self.recKeyboardButton.setText(kdecore.i18n(_fromUtf8("Record keyboard events")))
        self.recMouseButton.setText(kdecore.i18n(_fromUtf8("Record mouse events (experimental)")))
        self.label_2.setText(kdecore.i18n(_fromUtf8("Start recording after")))
        self.label_3.setText(kdecore.i18n(_fromUtf8("seconds")))
예제 #4
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(362, 205)
        self.gridLayoutWidget = QtGui.QWidget(Dialog)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 50, 341, 135))
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.gridLayout_2 = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout_2.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.textColor_button = KColorButton(self.gridLayoutWidget)
        self.textColor_button.setObjectName("textColor_button")
        self.gridLayout_2.addWidget(self.textColor_button, 0, 1, 1, 1)
        self.Dropshadow_label = QtGui.QLabel(self.gridLayoutWidget)
        self.Dropshadow_label.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.Dropshadow_label.setObjectName("Dropshadow_label")
        self.gridLayout_2.addWidget(self.Dropshadow_label, 1, 0, 1, 1)
        self.shadowColor_button = KColorButton(self.gridLayoutWidget)
        self.shadowColor_button.setObjectName("shadowColor_button")
        self.gridLayout_2.addWidget(self.shadowColor_button, 1, 1, 1, 1)
        self.TextColor_label = QtGui.QLabel(self.gridLayoutWidget)
        self.TextColor_label.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.TextColor_label.setTextFormat(QtCore.Qt.AutoText)
        self.TextColor_label.setObjectName("TextColor_label")
        self.gridLayout_2.addWidget(self.TextColor_label, 0, 0, 1, 1)
        self.Logo_checkbox = QtGui.QCheckBox(self.gridLayoutWidget)
        self.Logo_checkbox.setObjectName("Logo_checkbox")
        self.gridLayout_2.addWidget(self.Logo_checkbox, 2, 1, 1, 1)
        self.Background_checkbox = QtGui.QCheckBox(self.gridLayoutWidget)
        self.Background_checkbox.setObjectName("Background_checkbox")
        self.gridLayout_2.addWidget(self.Background_checkbox, 3, 1, 1, 1)
        self.Interval_label = QtGui.QLabel(self.gridLayoutWidget)
        self.Interval_label.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.Interval_label.setObjectName("Interval_label")
        self.gridLayout_2.addWidget(self.Interval_label, 4, 0, 1, 1)
        self.update_SpinBox = KIntSpinBox(self.gridLayoutWidget)
        self.update_SpinBox.setMaximum(120)
        self.update_SpinBox.setProperty("value", 5)
        self.update_SpinBox.setObjectName("update_SpinBox")
        self.gridLayout_2.addWidget(self.update_SpinBox, 4, 1, 1, 1)
        self.Font_combo = QtGui.QFontComboBox(Dialog)
        self.Font_combo.setGeometry(QtCore.QRect(7, 20, 208, 25))
        self.Font_combo.setObjectName("Font_combo")
        self.Italic_button = QtGui.QPushButton(Dialog)
        self.Italic_button.setGeometry(QtCore.QRect(330, 20, 25, 25))
        self.Italic_button.setObjectName("Italic_button")
        self.fontSize_combo = QtGui.QComboBox(Dialog)
        self.fontSize_combo.setGeometry(QtCore.QRect(215, 20, 91, 25))
        self.fontSize_combo.setObjectName("fontSize_combo")
        self.Bold_button = QtGui.QPushButton(Dialog)
        self.Bold_button.setGeometry(QtCore.QRect(305, 20, 25, 25))
        self.Bold_button.setObjectName("Bold_button")

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.Dropshadow_label.setText(QtGui.QApplication.translate("Dialog", "Dropshadow color", None, QtGui.QApplication.UnicodeUTF8))
        self.TextColor_label.setText(QtGui.QApplication.translate("Dialog", "Text color", None, QtGui.QApplication.UnicodeUTF8))
        self.Logo_checkbox.setText(QtGui.QApplication.translate("Dialog", "Show UFP Flag", None, QtGui.QApplication.UnicodeUTF8))
        self.Background_checkbox.setText(QtGui.QApplication.translate("Dialog", "Show Plasma Background", None, QtGui.QApplication.UnicodeUTF8))
        self.Interval_label.setText(QtGui.QApplication.translate("Dialog", "Update Interval", None, QtGui.QApplication.UnicodeUTF8))
        self.Italic_button.setText(QtGui.QApplication.translate("Dialog", "I", None, QtGui.QApplication.UnicodeUTF8))
        self.Bold_button.setText(QtGui.QApplication.translate("Dialog", "B", None, QtGui.QApplication.UnicodeUTF8))