# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'label_options.ui'
#
# Created: Thu Feb 12 10:53:29 2015
# by: PyQt4 UI code generator 4.10.4
#
# WARNING! Do not regenerate this file unless you know what you're doing
# This file is excluded from code coverage by # pragma: no cover directives
# which would be deleted

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8

    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)


class Ui_labelOptions(object):
    def setupUi(self, labelOptions):  # pragma: no cover
        labelOptions.setObjectName(_fromUtf8("labelOptions"))
        labelOptions.resize(337, 235)
        self.label_4 = QtGui.QLabel(labelOptions)
        self.label_4.setGeometry(QtCore.QRect(462, 41, 16, 17))
        self.label_4.setText(_fromUtf8(""))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.layoutWidget = QtGui.QWidget(labelOptions)
        self.layoutWidget.setGeometry(QtCore.QRect(20, 20, 298, 202))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_4.addWidget(self.label)
        self.font = QtGui.QFontComboBox(self.layoutWidget)
        self.font.setObjectName(_fromUtf8("font"))
        self.horizontalLayout_4.addWidget(self.font)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_5.addWidget(self.label_2)
        self.fontsize = QtGui.QSpinBox(self.layoutWidget)
        self.fontsize.setObjectName(_fromUtf8("fontsize"))
        self.horizontalLayout_5.addWidget(self.fontsize)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_2.addWidget(self.label_3)
        self.time_format = QtGui.QLineEdit(self.layoutWidget)
        self.time_format.setObjectName(_fromUtf8("time_format"))
        self.horizontalLayout_2.addWidget(self.time_format)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_5 = QtGui.QLabel(self.layoutWidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout.addWidget(self.label_5)
        self.placement = QtGui.QComboBox(self.layoutWidget)
        self.placement.setObjectName(_fromUtf8("placement"))
        self.horizontalLayout.addWidget(self.placement)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_6 = QtGui.QLabel(self.layoutWidget)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_3.addWidget(self.label_6)
        self.text_color = gui.QgsColorButton(self.layoutWidget)
        self.text_color.setObjectName(_fromUtf8("text_color"))
        self.horizontalLayout_3.addWidget(self.text_color)
        self.label_7 = QtGui.QLabel(self.layoutWidget)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.horizontalLayout_3.addWidget(self.label_7)
        self.bg_color = gui.QgsColorButton(self.layoutWidget)
        self.bg_color.setObjectName(_fromUtf8("bg_color"))
        self.horizontalLayout_3.addWidget(self.bg_color)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        self.buttonBox = QtGui.QDialogButtonBox(self.layoutWidget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(
            QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_3.addWidget(self.buttonBox)

        self.retranslateUi(labelOptions)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")),
                               labelOptions.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")),
                               labelOptions.reject)
        QtCore.QMetaObject.connectSlotsByName(labelOptions)

    def retranslateUi(self, labelOptions):  # pragma: no cover
        labelOptions.setWindowTitle(_translate("labelOptions", "Options", None))
        self.label.setText(_translate("labelOptions", "Font:", None))
        self.label_2.setText(_translate("labelOptions", "Font Size:", None))
        self.label_3.setText(_translate("labelOptions", "Time Format:", None))
        self.label_5.setText(_translate("labelOptions", "Placement Direction:", None))
        self.label_6.setText(_translate("labelOptions", "Text Color:", None))
        self.label_7.setText(_translate("labelOptions", "Bg Color:", None))


from qgis import gui
