本文整理匯總了Python中qgis.gui.QgsColorButton類的典型用法代碼示例。如果您正苦於以下問題:Python QgsColorButton類的具體用法?Python QgsColorButton怎麽用?Python QgsColorButton使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了QgsColorButton類的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
def __init__(self, setting, widget, allow_alpha: bool = False, dialog_title: str = None):
color_widget = QgsColorButton(widget)
color_widget.setColorDialogTitle(dialog_title)
signal = color_widget.colorChanged
SettingWidget.__init__(self, setting, color_widget, signal)
self.widget.setAllowOpacity(allow_alpha)
示例2: setWidget
def setWidget(self, widget):
txt = self.options.get("dialogTitle", "")
self.widget = QgsColorButton(widget, txt)
if self.options.get("alpha", False):
self.widget.setColorDialogOptions(QColorDialog.ShowAlphaChannel)
self.signal = "colorChanged" # TODO: check if signal is working
self.widgetSetMethod = self.widget.setColor
self.widgetGetMethod = self.widget.color
示例3: testClearingColors
def testClearingColors(self):
"""
Test setting colors to transparent
"""
# start with a valid color
button = QgsColorButton()
button.setAllowAlpha(True)
button.setColor(QColor(255, 100, 200, 255))
self.assertEqual(button.color(), QColor(255, 100, 200, 255))
# now set to no color
button.setToNoColor()
# ensure that only the alpha channel has changed - not the other color components
self.assertEqual(button.color(), QColor(255, 100, 200, 0))
示例4: Color
class Color(Setting):
def __init__(self, pluginName, name, scope, defaultValue, options={}):
setGlobal = lambda(value): QSettings(pluginName, pluginName).setValue(name, [value.red(),
value.green(),
value.blue(),
value.alpha()])
setProject = lambda(value): QgsProject.instance().writeEntry(pluginName, name,
["%u" % value.red(),
"%u" % value.green(),
"%u" % value.blue(),
"%u" % value.alpha()])
getGlobal = lambda: self.list2color(QSettings(pluginName, pluginName).value(name, defaultValue))
getProject = lambda: self.list2color(QgsProject.instance().readListEntry(pluginName, name, defaultValue))
Setting.__init__(self, pluginName, name, scope, defaultValue, options,
setGlobal, setProject, getGlobal, getProject)
def check(self, color):
if type(color) != QColor:
raise NameError("Color setting %s must be a QColor." % self.name)
def setWidget(self, widget):
txt = self.options.get("dialogTitle", "")
self.widget = QgsColorButton(widget, txt)
if self.options.get("alpha", False):
self.widget.setColorDialogOptions(QColorDialog.ShowAlphaChannel)
self.signal = "colorChanged" # TODO: check if signal is working
self.widgetSetMethod = self.widget.setColor
self.widgetGetMethod = self.widget.color
def list2color(self, color):
if type(color) != list or len(color) != 4:
return self.defaultValue
else:
r = int(color[0])
g = int(color[1])
b = int(color[2])
a = int(color[3])
if not self.options.get("alpha", False):
a = 255
return QColor(r, g, b, a)
示例5: getParams
def getParams(configure_exporter_action=None):
accentColor = QgsColorButton()
accentColor.setColor(QColor(0, 0, 0))
backgroundColor = QgsColorButton()
backgroundColor.setColor(QColor(248, 248, 248))
params = {
"Appearance": {
"Add layers list": ("None", "Collapsed", "Expanded"),
"Match project CRS": False,
"Add address search": False,
"Layer search": ("None", "placeholder"),
"Measure tool": ("None", "Metric", "Imperial"),
"Show popups on hover": False,
"Highlight on hover": False,
"Geolocate user": False,
"Template": getTemplates(),
"Widget Icon": accentColor,
"Widget Background": backgroundColor
},
"Data export": {
"Precision": ("maintain", "1", "2", "3", "4", "5", "6", "7", "8",
"9", "10", "11", "12", "13", "14", "15"),
"Minify GeoJSON files": True
},
"Scale/Zoom": {
"Extent": ("Canvas extent", "Fit to layers extent"),
"Restrict to extent": False,
"Max zoom level": ("1", "2", "3", "4", "5", "6", "7",
"8", "9", "10", "11", "12", "13", "14",
"15", "16", "17", "18", "19", "20", "21",
"22", "23", "24", "25", "26", "27", "28"),
"Min zoom level": ("1", "2", "3", "4", "5", "6", "7",
"8", "9", "10", "11", "12", "13", "14",
"15", "16", "17", "18", "19", "20", "21",
"22", "23", "24", "25", "26", "27", "28"),
}
}
if configure_exporter_action:
params["Data export"]["Exporter"] = {'option':
EXPORTER_REGISTRY.getOptions(),
'action':
configure_exporter_action}
else:
params["Data export"]["Exporter"] = EXPORTER_REGISTRY.getOptions()
return params
示例6: testLinkedColorButton
def testLinkedColorButton(self):
definition = QgsPropertyDefinition('test', 'test', QgsPropertyDefinition.ColorWithAlpha)
button = QgsPropertyOverrideButton()
button.init(0, QgsProperty(), definition)
cb = QgsColorButton()
button.registerLinkedWidget(cb)
project_scheme = [s for s in QgsApplication.colorSchemeRegistry().schemes() if isinstance(s, QgsProjectColorScheme)][0]
project_scheme.setColors([[QColor(255, 0, 0), 'col1'], [QColor(0, 255, 0), 'col2']])
button.setToProperty(QgsProperty.fromValue('#ff0000'))
self.assertTrue(cb.isEnabled())
self.assertFalse(cb.linkedProjectColorName())
button.setActive(False)
self.assertTrue(cb.isEnabled())
self.assertFalse(cb.linkedProjectColorName())
button.setToProperty(QgsProperty.fromExpression('project_color(\'Cthulhu\'s delight\')'))
self.assertTrue(cb.isEnabled())
self.assertFalse(cb.linkedProjectColorName())
button.setToProperty(QgsProperty.fromExpression('project_color(\'col1\')'))
self.assertTrue(cb.isEnabled())
self.assertEqual(cb.linkedProjectColorName(), 'col1')
button.setActive(False)
self.assertTrue(cb.isEnabled())
self.assertFalse(cb.linkedProjectColorName())
button.setActive(True)
self.assertTrue(cb.isEnabled())
self.assertEqual(cb.linkedProjectColorName(), 'col1')
示例7: testLinkProjectColor
def testLinkProjectColor(self):
"""
Test linking to a project color
"""
project_scheme = [s for s in QgsApplication.colorSchemeRegistry().schemes() if isinstance(s, QgsProjectColorScheme)][0]
project_scheme.setColors([[QColor(255, 0, 0), 'col1'], [QColor(0, 255, 0), 'col2']])
button = QgsColorButton()
spy = QSignalSpy(button.unlinked)
button.setColor(QColor(0, 0, 255))
self.assertFalse(button.linkedProjectColorName())
button.linkToProjectColor('col1')
self.assertEqual(button.linkedProjectColorName(), 'col1')
self.assertEqual(button.color().name(), '#ff0000')
self.assertEqual(len(spy), 0)
button.unlink()
self.assertFalse(button.linkedProjectColorName())
self.assertEqual(button.color().name(), '#0000ff')
self.assertEqual(len(spy), 1)
button.linkToProjectColor('col2')
self.assertEqual(button.linkedProjectColorName(), 'col2')
self.assertEqual(button.color().name(), '#00ff00')
self.assertEqual(len(spy), 1)
project_scheme.setColors([[QColor(255, 0, 0), 'xcol1'], [QColor(0, 255, 0), 'xcol2']])
# linked color no longer exists
self.assertFalse(button.linkedProjectColorName())
self.assertEqual(button.color().name(), '#0000ff')
self.assertEqual(len(spy), 2)
示例8: setupUi
def setupUi(self, frmRptTitleBase):
frmRptTitleBase.setObjectName(_fromUtf8("frmRptTitleBase"))
frmRptTitleBase.resize(347, 495)
self.gridLayout = QtGui.QGridLayout(frmRptTitleBase)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.scrollArea = QtGui.QScrollArea(frmRptTitleBase)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea)
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 327, 475))
self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.label_10 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_10.setObjectName(_fromUtf8("label_10"))
self.verticalLayout.addWidget(self.label_10)
self.cboBorder = QtGui.QComboBox(self.scrollAreaWidgetContents)
self.cboBorder.setObjectName(_fromUtf8("cboBorder"))
self.cboBorder.addItem(_fromUtf8(""))
self.cboBorder.addItem(_fromUtf8(""))
self.cboBorder.addItem(_fromUtf8(""))
self.cboBorder.addItem(_fromUtf8(""))
self.cboBorder.addItem(_fromUtf8(""))
self.cboBorder.addItem(_fromUtf8(""))
self.verticalLayout.addWidget(self.cboBorder)
self.label = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label.setObjectName(_fromUtf8("label"))
self.verticalLayout.addWidget(self.label)
self.btnTitleColor = QgsColorButton(self.scrollAreaWidgetContents)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnTitleColor.sizePolicy().hasHeightForWidth())
self.btnTitleColor.setSizePolicy(sizePolicy)
self.btnTitleColor.setMinimumSize(QtCore.QSize(32, 0))
self.btnTitleColor.setMaximumSize(QtCore.QSize(1000, 16777215))
self.btnTitleColor.setText(_fromUtf8(""))
self.btnTitleColor.setObjectName(_fromUtf8("btnTitleColor"))
self.verticalLayout.addWidget(self.btnTitleColor)
self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.verticalLayout.addWidget(self.label_2)
self.btnTitleFont = QtGui.QPushButton(self.scrollAreaWidgetContents)
self.btnTitleFont.setObjectName(_fromUtf8("btnTitleFont"))
self.verticalLayout.addWidget(self.btnTitleFont)
self.label_3 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.verticalLayout.addWidget(self.label_3)
self.txtTitleHeight = QtGui.QLineEdit(self.scrollAreaWidgetContents)
self.txtTitleHeight.setObjectName(_fromUtf8("txtTitleHeight"))
self.verticalLayout.addWidget(self.txtTitleHeight)
self.label_4 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.verticalLayout.addWidget(self.label_4)
self.cboTitleHAlign = QtGui.QComboBox(self.scrollAreaWidgetContents)
self.cboTitleHAlign.setObjectName(_fromUtf8("cboTitleHAlign"))
self.cboTitleHAlign.addItem(_fromUtf8(""))
self.cboTitleHAlign.addItem(_fromUtf8(""))
self.cboTitleHAlign.addItem(_fromUtf8(""))
self.verticalLayout.addWidget(self.cboTitleHAlign)
self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.verticalLayout.addWidget(self.label_5)
self.txtTitleLeft = QtGui.QLineEdit(self.scrollAreaWidgetContents)
self.txtTitleLeft.setObjectName(_fromUtf8("txtTitleLeft"))
self.verticalLayout.addWidget(self.txtTitleLeft)
self.label_6 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.verticalLayout.addWidget(self.label_6)
self.txtTitleText = QtGui.QLineEdit(self.scrollAreaWidgetContents)
self.txtTitleText.setObjectName(_fromUtf8("txtTitleText"))
self.verticalLayout.addWidget(self.txtTitleText)
self.label_7 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.verticalLayout.addWidget(self.label_7)
self.txtTitleTop = QtGui.QLineEdit(self.scrollAreaWidgetContents)
self.txtTitleTop.setObjectName(_fromUtf8("txtTitleTop"))
self.verticalLayout.addWidget(self.txtTitleTop)
self.label_8 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_8.setObjectName(_fromUtf8("label_8"))
self.verticalLayout.addWidget(self.label_8)
self.cboTitleVAlign = QtGui.QComboBox(self.scrollAreaWidgetContents)
self.cboTitleVAlign.setObjectName(_fromUtf8("cboTitleVAlign"))
self.cboTitleVAlign.addItem(_fromUtf8(""))
self.cboTitleVAlign.addItem(_fromUtf8(""))
self.cboTitleVAlign.addItem(_fromUtf8(""))
self.verticalLayout.addWidget(self.cboTitleVAlign)
self.label_9 = QtGui.QLabel(self.scrollAreaWidgetContents)
self.label_9.setObjectName(_fromUtf8("label_9"))
self.verticalLayout.addWidget(self.label_9)
self.txtTitleWidth = QtGui.QLineEdit(self.scrollAreaWidgetContents)
self.txtTitleWidth.setObjectName(_fromUtf8("txtTitleWidth"))
self.verticalLayout.addWidget(self.txtTitleWidth)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
self.retranslateUi(frmRptTitleBase)
QtCore.QMetaObject.connectSlotsByName(frmRptTitleBase)
示例9: __init__
def __init__(self, dFigureParams, parent=None):
super(SaveFigureDlg, self).__init__(parent)
self.dFigureParams = dFigureParams
layout = QVBoxLayout()
# output format settings
grpFormatSettings = QGroupBox("Output format")
lytFormatSettings = QGridLayout()
# format
lytFormatSettings.addWidget(QLabel("File format"), 0, 0, 1, 1)
self.cmbFileFormat = QComboBox()
self.cmbFileFormat.insertItems(0, ltFileFormats)
sFileFormat = self.dPlotStyles["file_format"]
iCurrFileFrmtNdx = ltFileFormats.index(sFileFormat) if sFileFormat in ltFileFormats else 0
self.cmbFileFormat.setCurrentIndex(iCurrFileFrmtNdx)
lytFormatSettings.addWidget(self.cmbFileFormat, 0, 1, 1, 1)
# dpi (for rasters)
lytFormatSettings.addWidget(QLabel("Dpi (for rasters"), 1, 0, 1, 1)
self.cmbDpiResolution = QComboBox()
self.cmbDpiResolution.insertItems(0, liDpiResolutions)
iCurrDpiResolution = self.dPlotStyles["dpi_resolution"]
iCurrDpiResolNdx = ltFileFormats.index(iCurrDpiResolution) if iCurrDpiResolution in ltFileFormats else 0
self.cmbDpiResolution.setCurrentIndex(iCurrDpiResolNdx)
lytFormatSettings.addWidget(self.cmbDpiResolution, 1, 1, 1, 1)
# set/add to layout
grpFormatSettings.setLayout(lytFormatSettings)
layout.addWidget(grpFormatSettings)
# output file path
grpPoles = QGroupBox("Poles")
lytPoles = QGridLayout()
# marker color
lytPoles.addWidget(QLabel("Marker color"), 0, 0, 1, 1)
self.btnPointColor = QgsColorButton()
point_color = self.dPlotStyles["marker_color"]
self.btnPointColor.setColor(QColor(point_color))
lytPoles.addWidget(self.btnPointColor, 0, 1, 1, 1)
# marker style
lytPoles.addWidget(QLabel("Marker style"), 0, 2, 1, 1)
self.cmbPointStyle = QComboBox()
self.cmbPointStyle.insertItems(0, list(ltMarkerStyles.keys()))
point_style = self.dPlotStyles["marker_style"]
point_style_ndx = list(ltMarkerStyles.keys()).index(point_style) if point_style in list(ltMarkerStyles.keys()) else 0
self.cmbPointStyle.setCurrentIndex(point_style_ndx)
lytPoles.addWidget(self.cmbPointStyle, 0, 3, 1, 1)
# marker size
lytPoles.addWidget(QLabel("Marker size"), 1, 0, 1, 1)
lnPointSizes = [2, 4, 6, 8, 10, 15, 20]
self.cmbPointSize = QComboBox()
ltPointSizeVals = [str(val) + " pt(s)" for val in lnPointSizes]
self.cmbPointSize.insertItems(0, ltPointSizeVals)
point_size = self.dPlotStyles["marker_size"]
point_style_ndx = ltPointSizeVals.index(point_size) if point_size in ltPointSizeVals else 2
self.cmbPointSize.setCurrentIndex(point_style_ndx)
lytPoles.addWidget(self.cmbPointSize, 1, 1, 1, 1)
# marker transparency
lytPoles.addWidget(QLabel("Marker transp."), 1, 2, 1, 1)
lnPointTransparencies = [0, 25, 50, 75]
self.cmbPointTransp = QComboBox()
ltPointTranspPrcntVals = [str(val) + "%" for val in lnPointTransparencies]
self.cmbPointTransp.insertItems(0, ltPointTranspPrcntVals)
point_transp = self.dPlotStyles["marker_transp"]
point_transp_ndx = ltPointTranspPrcntVals.index(point_transp) if point_transp in ltPointTranspPrcntVals else 0
self.cmbPointTransp.setCurrentIndex(point_transp_ndx)
lytPoles.addWidget(self.cmbPointTransp, 1, 3, 1, 1)
# set/add to layout
grpPoles.setLayout(lytPoles)
layout.addWidget(grpPoles)
# ok/cancel stuff
btnOk = QPushButton("&OK")
btnCancel = QPushButton("Cancel")
lytButtons = QHBoxLayout()
lytButtons.addStretch()
lytButtons.addWidget(btnOk)
lytButtons.addWidget(btnCancel)
layout.addLayout(lytButtons)
#.........這裏部分代碼省略.........
示例10: setupUi
def setupUi(self, VectorScaleBoxOptionsDialog):
VectorScaleBoxOptionsDialog.setObjectName(_fromUtf8("VectorScaleBoxOptionsDialog"))
VectorScaleBoxOptionsDialog.resize(399, 274)
self.uMainLayout = QtGui.QVBoxLayout(VectorScaleBoxOptionsDialog)
self.uMainLayout.setObjectName(_fromUtf8("uMainLayout"))
self.uLocationGroup = QtGui.QGroupBox(VectorScaleBoxOptionsDialog)
self.uLocationGroup.setObjectName(_fromUtf8("uLocationGroup"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.uLocationGroup)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.uLocationLayout = QtGui.QVBoxLayout()
self.uLocationLayout.setObjectName(_fromUtf8("uLocationLayout"))
self.uPositionLayout_2 = QtGui.QHBoxLayout()
self.uPositionLayout_2.setObjectName(_fromUtf8("uPositionLayout_2"))
self.uPositionLabel = QtGui.QLabel(self.uLocationGroup)
self.uPositionLabel.setObjectName(_fromUtf8("uPositionLabel"))
self.uPositionLayout_2.addWidget(self.uPositionLabel)
self.uRadioTL = QtGui.QRadioButton(self.uLocationGroup)
self.uRadioTL.setObjectName(_fromUtf8("uRadioTL"))
self.uPositionLayout_2.addWidget(self.uRadioTL)
self.uRadioTR = QtGui.QRadioButton(self.uLocationGroup)
self.uRadioTR.setObjectName(_fromUtf8("uRadioTR"))
self.uPositionLayout_2.addWidget(self.uRadioTR)
self.uRadioBL = QtGui.QRadioButton(self.uLocationGroup)
self.uRadioBL.setObjectName(_fromUtf8("uRadioBL"))
self.uPositionLayout_2.addWidget(self.uRadioBL)
self.uRadioBR = QtGui.QRadioButton(self.uLocationGroup)
self.uRadioBR.setChecked(True)
self.uRadioBR.setObjectName(_fromUtf8("uRadioBR"))
self.uPositionLayout_2.addWidget(self.uRadioBR)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.uPositionLayout_2.addItem(spacerItem)
self.uLocationLayout.addLayout(self.uPositionLayout_2)
self.verticalLayout_2.addLayout(self.uLocationLayout)
self.uPositionLayout = QtGui.QHBoxLayout()
self.uPositionLayout.setObjectName(_fromUtf8("uPositionLayout"))
self.uOffsetXLabel = QtGui.QLabel(self.uLocationGroup)
self.uOffsetXLabel.setObjectName(_fromUtf8("uOffsetXLabel"))
self.uPositionLayout.addWidget(self.uOffsetXLabel)
self.uOffsetX = QtGui.QSpinBox(self.uLocationGroup)
self.uOffsetX.setMaximum(300)
self.uOffsetX.setObjectName(_fromUtf8("uOffsetX"))
self.uPositionLayout.addWidget(self.uOffsetX)
self.uOffsetYLabel = QtGui.QLabel(self.uLocationGroup)
self.uOffsetYLabel.setObjectName(_fromUtf8("uOffsetYLabel"))
self.uPositionLayout.addWidget(self.uOffsetYLabel)
self.uOffsetY = QtGui.QSpinBox(self.uLocationGroup)
self.uOffsetY.setMaximum(300)
self.uOffsetY.setObjectName(_fromUtf8("uOffsetY"))
self.uPositionLayout.addWidget(self.uOffsetY)
self.uArrowSizeLabel = QtGui.QLabel(self.uLocationGroup)
self.uArrowSizeLabel.setObjectName(_fromUtf8("uArrowSizeLabel"))
self.uPositionLayout.addWidget(self.uArrowSizeLabel)
self.uArrowSizePercent = QtGui.QSpinBox(self.uLocationGroup)
self.uArrowSizePercent.setMaximum(30)
self.uArrowSizePercent.setObjectName(_fromUtf8("uArrowSizePercent"))
self.uPositionLayout.addWidget(self.uArrowSizePercent)
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.uPositionLayout.addItem(spacerItem1)
self.verticalLayout_2.addLayout(self.uPositionLayout)
self.uMainLayout.addWidget(self.uLocationGroup)
self.uBoxGroup = QtGui.QGroupBox(VectorScaleBoxOptionsDialog)
self.uBoxGroup.setObjectName(_fromUtf8("uBoxGroup"))
self.horizontalLayout_6 = QtGui.QHBoxLayout(self.uBoxGroup)
self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
self.uShowBoxLabel = QtGui.QLabel(self.uBoxGroup)
self.uShowBoxLabel.setObjectName(_fromUtf8("uShowBoxLabel"))
self.horizontalLayout_6.addWidget(self.uShowBoxLabel)
self.uShowBox = QtGui.QCheckBox(self.uBoxGroup)
self.uShowBox.setText(_fromUtf8(""))
self.uShowBox.setObjectName(_fromUtf8("uShowBox"))
self.horizontalLayout_6.addWidget(self.uShowBox)
self.uFillBoxLabel = QtGui.QLabel(self.uBoxGroup)
self.uFillBoxLabel.setObjectName(_fromUtf8("uFillBoxLabel"))
self.horizontalLayout_6.addWidget(self.uFillBoxLabel)
self.uFillBox = QtGui.QCheckBox(self.uBoxGroup)
self.uFillBox.setText(_fromUtf8(""))
self.uFillBox.setObjectName(_fromUtf8("uFillBox"))
self.horizontalLayout_6.addWidget(self.uFillBox)
spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_6.addItem(spacerItem2)
self.uPenColor = QgsColorButton(self.uBoxGroup)
self.uPenColor.setObjectName(_fromUtf8("uPenColor"))
self.horizontalLayout_6.addWidget(self.uPenColor)
self.uBrushColor = QgsColorButton(self.uBoxGroup)
self.uBrushColor.setObjectName(_fromUtf8("uBrushColor"))
self.horizontalLayout_6.addWidget(self.uBrushColor)
self.uMainLayout.addWidget(self.uBoxGroup)
self.uTextGroup = QtGui.QGroupBox(VectorScaleBoxOptionsDialog)
self.uTextGroup.setObjectName(_fromUtf8("uTextGroup"))
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.uTextGroup)
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.uTitleLabel = QtGui.QLabel(self.uTextGroup)
self.uTitleLabel.setObjectName(_fromUtf8("uTitleLabel"))
self.horizontalLayout_3.addWidget(self.uTitleLabel)
self.uTitle = QtGui.QLineEdit(self.uTextGroup)
self.uTitle.setObjectName(_fromUtf8("uTitle"))
self.horizontalLayout_3.addWidget(self.uTitle)
self.uTitleFont = QtGui.QPushButton(self.uTextGroup)
self.uTitleFont.setObjectName(_fromUtf8("uTitleFont"))
self.horizontalLayout_3.addWidget(self.uTitleFont)
#.........這裏部分代碼省略.........
示例11: setupUi
def setupUi(self, B4UdigNL):
B4UdigNL.setObjectName("B4UdigNL")
B4UdigNL.resize(324, 432)
B4UdigNL.setFocusPolicy(QtCore.Qt.StrongFocus)
self.verticalLayout = QtWidgets.QVBoxLayout(B4UdigNL)
self.verticalLayout.setObjectName("verticalLayout")
self.tabWidget = QtWidgets.QTabWidget(B4UdigNL)
self.tabWidget.setEnabled(True)
self.tabWidget.setAutoFillBackground(False)
self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
self.tabWidget.setObjectName("tabWidget")
self.messageTab = QtWidgets.QWidget()
self.messageTab.setObjectName("messageTab")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.messageTab)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.messageBox = QtWidgets.QGroupBox(self.messageTab)
self.messageBox.setObjectName("messageBox")
self.gridLayout = QtWidgets.QGridLayout(self.messageBox)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.openMsgButton = QtWidgets.QPushButton(self.messageBox)
self.openMsgButton.setObjectName("openMsgButton")
self.horizontalLayout.addWidget(self.openMsgButton)
self.openArchiveButton = QtWidgets.QPushButton(self.messageBox)
self.openArchiveButton.setObjectName("openArchiveButton")
self.horizontalLayout.addWidget(self.openArchiveButton)
spacerItem = QtWidgets.QSpacerItem(68, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
self.msgListWidget = QtWidgets.QListWidget(self.messageBox)
self.msgListWidget.setMinimumSize(QtCore.QSize(100, 40))
self.msgListWidget.setMaximumSize(QtCore.QSize(16777215, 60))
self.msgListWidget.setObjectName("msgListWidget")
self.gridLayout.addWidget(self.msgListWidget, 1, 0, 1, 1)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.gotoButton = QtWidgets.QPushButton(self.messageBox)
self.gotoButton.setObjectName("gotoButton")
self.horizontalLayout_2.addWidget(self.gotoButton)
self.bestScaleButton = QtWidgets.QPushButton(self.messageBox)
self.bestScaleButton.setObjectName("bestScaleButton")
self.horizontalLayout_2.addWidget(self.bestScaleButton)
self.removeMsgButton = QtWidgets.QPushButton(self.messageBox)
self.removeMsgButton.setObjectName("removeMsgButton")
self.horizontalLayout_2.addWidget(self.removeMsgButton)
spacerItem1 = QtWidgets.QSpacerItem(78, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem1)
self.gridLayout.addLayout(self.horizontalLayout_2, 2, 0, 1, 1)
self.verticalLayout_4.addWidget(self.messageBox)
self.additionsBox = QtWidgets.QGroupBox(self.messageTab)
self.additionsBox.setMaximumSize(QtCore.QSize(16777215, 300))
self.additionsBox.setObjectName("additionsBox")
self.gridLayout_2 = QtWidgets.QGridLayout(self.additionsBox)
self.gridLayout_2.setObjectName("gridLayout_2")
self.treeWidget = QtWidgets.QTreeWidget(self.additionsBox)
self.treeWidget.setMinimumSize(QtCore.QSize(100, 100))
self.treeWidget.setMaximumSize(QtCore.QSize(16777215, 250))
self.treeWidget.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection)
self.treeWidget.setObjectName("treeWidget")
self.treeWidget.headerItem().setText(0, "1")
self.gridLayout_2.addWidget(self.treeWidget, 0, 0, 1, 1)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.openDocButton = QtWidgets.QPushButton(self.additionsBox)
self.openDocButton.setObjectName("openDocButton")
self.horizontalLayout_3.addWidget(self.openDocButton)
spacerItem2 = QtWidgets.QSpacerItem(168, 17, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem2)
self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
self.verticalLayout_4.addWidget(self.additionsBox)
spacerItem3 = QtWidgets.QSpacerItem(17, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_4.addItem(spacerItem3)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.saveButton = QtWidgets.QPushButton(self.messageTab)
self.saveButton.setObjectName("saveButton")
self.horizontalLayout_4.addWidget(self.saveButton)
spacerItem4 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem4)
self.helpButton = QtWidgets.QPushButton(self.messageTab)
self.helpButton.setObjectName("helpButton")
self.horizontalLayout_4.addWidget(self.helpButton)
self.closeButton = QtWidgets.QPushButton(self.messageTab)
self.closeButton.setObjectName("closeButton")
self.horizontalLayout_4.addWidget(self.closeButton)
self.verticalLayout_4.addLayout(self.horizontalLayout_4)
self.tabWidget.addTab(self.messageTab, "")
self.ThemesTab = QtWidgets.QWidget()
self.ThemesTab.setObjectName("ThemesTab")
self.gridLayout_3 = QtWidgets.QGridLayout(self.ThemesTab)
self.gridLayout_3.setObjectName("gridLayout_3")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.mColorButton = QgsColorButton(self.ThemesTab)
self.mColorButton.setMinimumSize(QtCore.QSize(40, 10))
self.mColorButton.setMaximumSize(QtCore.QSize(40, 10))
self.mColorButton.setAcceptDrops(False)
self.mColorButton.setColor(QtGui.QColor(0, 255, 0))
self.mColorButton.setShowMenu(False)
#.........這裏部分代碼省略.........
示例12: Ui_B4UdigNL
class Ui_B4UdigNL(object):
def setupUi(self, B4UdigNL):
B4UdigNL.setObjectName("B4UdigNL")
B4UdigNL.resize(324, 432)
B4UdigNL.setFocusPolicy(QtCore.Qt.StrongFocus)
self.verticalLayout = QtWidgets.QVBoxLayout(B4UdigNL)
self.verticalLayout.setObjectName("verticalLayout")
self.tabWidget = QtWidgets.QTabWidget(B4UdigNL)
self.tabWidget.setEnabled(True)
self.tabWidget.setAutoFillBackground(False)
self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
self.tabWidget.setObjectName("tabWidget")
self.messageTab = QtWidgets.QWidget()
self.messageTab.setObjectName("messageTab")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.messageTab)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.messageBox = QtWidgets.QGroupBox(self.messageTab)
self.messageBox.setObjectName("messageBox")
self.gridLayout = QtWidgets.QGridLayout(self.messageBox)
self.gridLayout.setObjectName("gridLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.openMsgButton = QtWidgets.QPushButton(self.messageBox)
self.openMsgButton.setObjectName("openMsgButton")
self.horizontalLayout.addWidget(self.openMsgButton)
self.openArchiveButton = QtWidgets.QPushButton(self.messageBox)
self.openArchiveButton.setObjectName("openArchiveButton")
self.horizontalLayout.addWidget(self.openArchiveButton)
spacerItem = QtWidgets.QSpacerItem(68, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
self.msgListWidget = QtWidgets.QListWidget(self.messageBox)
self.msgListWidget.setMinimumSize(QtCore.QSize(100, 40))
self.msgListWidget.setMaximumSize(QtCore.QSize(16777215, 60))
self.msgListWidget.setObjectName("msgListWidget")
self.gridLayout.addWidget(self.msgListWidget, 1, 0, 1, 1)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.gotoButton = QtWidgets.QPushButton(self.messageBox)
self.gotoButton.setObjectName("gotoButton")
self.horizontalLayout_2.addWidget(self.gotoButton)
self.bestScaleButton = QtWidgets.QPushButton(self.messageBox)
self.bestScaleButton.setObjectName("bestScaleButton")
self.horizontalLayout_2.addWidget(self.bestScaleButton)
self.removeMsgButton = QtWidgets.QPushButton(self.messageBox)
self.removeMsgButton.setObjectName("removeMsgButton")
self.horizontalLayout_2.addWidget(self.removeMsgButton)
spacerItem1 = QtWidgets.QSpacerItem(78, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem1)
self.gridLayout.addLayout(self.horizontalLayout_2, 2, 0, 1, 1)
self.verticalLayout_4.addWidget(self.messageBox)
self.additionsBox = QtWidgets.QGroupBox(self.messageTab)
self.additionsBox.setMaximumSize(QtCore.QSize(16777215, 300))
self.additionsBox.setObjectName("additionsBox")
self.gridLayout_2 = QtWidgets.QGridLayout(self.additionsBox)
self.gridLayout_2.setObjectName("gridLayout_2")
self.treeWidget = QtWidgets.QTreeWidget(self.additionsBox)
self.treeWidget.setMinimumSize(QtCore.QSize(100, 100))
self.treeWidget.setMaximumSize(QtCore.QSize(16777215, 250))
self.treeWidget.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection)
self.treeWidget.setObjectName("treeWidget")
self.treeWidget.headerItem().setText(0, "1")
self.gridLayout_2.addWidget(self.treeWidget, 0, 0, 1, 1)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.openDocButton = QtWidgets.QPushButton(self.additionsBox)
self.openDocButton.setObjectName("openDocButton")
self.horizontalLayout_3.addWidget(self.openDocButton)
spacerItem2 = QtWidgets.QSpacerItem(168, 17, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem2)
self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
self.verticalLayout_4.addWidget(self.additionsBox)
spacerItem3 = QtWidgets.QSpacerItem(17, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_4.addItem(spacerItem3)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.saveButton = QtWidgets.QPushButton(self.messageTab)
self.saveButton.setObjectName("saveButton")
self.horizontalLayout_4.addWidget(self.saveButton)
spacerItem4 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem4)
self.helpButton = QtWidgets.QPushButton(self.messageTab)
self.helpButton.setObjectName("helpButton")
self.horizontalLayout_4.addWidget(self.helpButton)
self.closeButton = QtWidgets.QPushButton(self.messageTab)
self.closeButton.setObjectName("closeButton")
self.horizontalLayout_4.addWidget(self.closeButton)
self.verticalLayout_4.addLayout(self.horizontalLayout_4)
self.tabWidget.addTab(self.messageTab, "")
self.ThemesTab = QtWidgets.QWidget()
self.ThemesTab.setObjectName("ThemesTab")
self.gridLayout_3 = QtWidgets.QGridLayout(self.ThemesTab)
self.gridLayout_3.setObjectName("gridLayout_3")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.mColorButton = QgsColorButton(self.ThemesTab)
self.mColorButton.setMinimumSize(QtCore.QSize(40, 10))
self.mColorButton.setMaximumSize(QtCore.QSize(40, 10))
self.mColorButton.setAcceptDrops(False)
self.mColorButton.setColor(QtGui.QColor(0, 255, 0))
#.........這裏部分代碼省略.........
示例13: setupUi
#.........這裏部分代碼省略.........
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.contourCustomRangeCheckBox = QtGui.QCheckBox(self.contoursGroupBox)
self.contourCustomRangeCheckBox.setText(_fromUtf8(""))
self.contourCustomRangeCheckBox.setObjectName(_fromUtf8("contourCustomRangeCheckBox"))
self.horizontalLayout.addWidget(self.contourCustomRangeCheckBox)
self.contourMinLabel = QtGui.QLabel(self.contoursGroupBox)
self.contourMinLabel.setObjectName(_fromUtf8("contourMinLabel"))
self.horizontalLayout.addWidget(self.contourMinLabel)
self.contourMinLineEdit = QtGui.QLineEdit(self.contoursGroupBox)
self.contourMinLineEdit.setEnabled(False)
self.contourMinLineEdit.setObjectName(_fromUtf8("contourMinLineEdit"))
self.horizontalLayout.addWidget(self.contourMinLineEdit)
self.contourMaxLabel = QtGui.QLabel(self.contoursGroupBox)
self.contourMaxLabel.setObjectName(_fromUtf8("contourMaxLabel"))
self.horizontalLayout.addWidget(self.contourMaxLabel)
self.contourMaxLineEdit = QtGui.QLineEdit(self.contoursGroupBox)
self.contourMaxLineEdit.setEnabled(False)
self.contourMaxLineEdit.setObjectName(_fromUtf8("contourMaxLineEdit"))
self.horizontalLayout.addWidget(self.contourMaxLineEdit)
self.verticalLayout.addLayout(self.horizontalLayout)
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
self.radContourAdvanced = QtGui.QRadioButton(self.contoursGroupBox)
self.radContourAdvanced.setObjectName(_fromUtf8("radContourAdvanced"))
self.horizontalLayout_4.addWidget(self.radContourAdvanced)
self.lblAdvancedPreview = QtGui.QLabel(self.contoursGroupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lblAdvancedPreview.sizePolicy().hasHeightForWidth())
self.lblAdvancedPreview.setSizePolicy(sizePolicy)
self.lblAdvancedPreview.setMinimumSize(QtCore.QSize(100, 0))
self.lblAdvancedPreview.setText(_fromUtf8(""))
self.lblAdvancedPreview.setObjectName(_fromUtf8("lblAdvancedPreview"))
self.horizontalLayout_4.addWidget(self.lblAdvancedPreview)
self.btnAdvanced = QtGui.QToolButton(self.contoursGroupBox)
self.btnAdvanced.setPopupMode(QtGui.QToolButton.InstantPopup)
self.btnAdvanced.setAutoRaise(True)
self.btnAdvanced.setArrowType(QtCore.Qt.NoArrow)
self.btnAdvanced.setObjectName(_fromUtf8("btnAdvanced"))
self.horizontalLayout_4.addWidget(self.btnAdvanced)
self.verticalLayout.addLayout(self.horizontalLayout_4)
self.verticalLayout_2.addWidget(self.contoursGroupBox)
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setContentsMargins(-1, -1, 7, -1)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.displayMeshCheckBox = QtGui.QCheckBox(self.dockWidgetContents)
self.displayMeshCheckBox.setObjectName(_fromUtf8("displayMeshCheckBox"))
self.gridLayout.addWidget(self.displayMeshCheckBox, 1, 0, 1, 1)
self.btnMeshColor = QgsColorButton(self.dockWidgetContents)
self.btnMeshColor.setObjectName(_fromUtf8("btnMeshColor"))
self.gridLayout.addWidget(self.btnMeshColor, 1, 2, 1, 1)
self.horizontalLayout_5 = QtGui.QHBoxLayout()
self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_5.addItem(spacerItem1)
self.btnVectorOptions = QtGui.QToolButton(self.dockWidgetContents)
self.btnVectorOptions.setAutoRaise(True)
self.btnVectorOptions.setObjectName(_fromUtf8("btnVectorOptions"))
self.horizontalLayout_5.addWidget(self.btnVectorOptions)
self.gridLayout.addLayout(self.horizontalLayout_5, 0, 2, 1, 1)
self.displayVectorsCheckBox = QtGui.QCheckBox(self.dockWidgetContents)
self.displayVectorsCheckBox.setObjectName(_fromUtf8("displayVectorsCheckBox"))
self.gridLayout.addWidget(self.displayVectorsCheckBox, 0, 0, 1, 1)
spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem2, 0, 1, 2, 1)
self.verticalLayout_2.addLayout(self.gridLayout)
self.valueLabel = QtGui.QLabel(self.dockWidgetContents)
self.valueLabel.setObjectName(_fromUtf8("valueLabel"))
self.verticalLayout_2.addWidget(self.valueLabel)
DockWidget.setWidget(self.dockWidgetContents)
self.retranslateUi(DockWidget)
QtCore.QObject.connect(self.displayVectorsCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), DockWidget.displayVectorsButtonToggled)
QtCore.QObject.connect(self.displayMeshCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), DockWidget.displayMeshButtonToggled)
QtCore.QObject.connect(self.btnVectorOptions, QtCore.SIGNAL(_fromUtf8("clicked()")), DockWidget.displayVectorPropsDialog)
QtCore.QMetaObject.connectSlotsByName(DockWidget)
DockWidget.setTabOrder(self.treeDataSets, self.sliderTime)
DockWidget.setTabOrder(self.sliderTime, self.cboTime)
DockWidget.setTabOrder(self.cboTime, self.btnFirst)
DockWidget.setTabOrder(self.btnFirst, self.btnPrev)
DockWidget.setTabOrder(self.btnPrev, self.btnNext)
DockWidget.setTabOrder(self.btnNext, self.btnLast)
DockWidget.setTabOrder(self.btnLast, self.contoursGroupBox)
DockWidget.setTabOrder(self.contoursGroupBox, self.contourTransparencySlider)
DockWidget.setTabOrder(self.contourTransparencySlider, self.radContourBasic)
DockWidget.setTabOrder(self.radContourBasic, self.cboContourBasic)
DockWidget.setTabOrder(self.cboContourBasic, self.contourCustomRangeCheckBox)
DockWidget.setTabOrder(self.contourCustomRangeCheckBox, self.contourMinLineEdit)
DockWidget.setTabOrder(self.contourMinLineEdit, self.contourMaxLineEdit)
DockWidget.setTabOrder(self.contourMaxLineEdit, self.radContourAdvanced)
DockWidget.setTabOrder(self.radContourAdvanced, self.btnAdvanced)
DockWidget.setTabOrder(self.btnAdvanced, self.displayVectorsCheckBox)
DockWidget.setTabOrder(self.displayVectorsCheckBox, self.btnVectorOptions)
DockWidget.setTabOrder(self.btnVectorOptions, self.displayMeshCheckBox)
DockWidget.setTabOrder(self.displayMeshCheckBox, self.btnMeshColor)
示例14: setupUi
def setupUi(self, AnimationLayoutItemProps):
AnimationLayoutItemProps.setObjectName(_fromUtf8("AnimationLayoutItemProps"))
AnimationLayoutItemProps.resize(475, 175)
self.formLayout = QtGui.QFormLayout(AnimationLayoutItemProps)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.lblLabel = QtGui.QLabel(AnimationLayoutItemProps)
self.lblLabel.setObjectName(_fromUtf8("lblLabel"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.lblLabel)
self.editLabel = QtGui.QLineEdit(AnimationLayoutItemProps)
self.editLabel.setObjectName(_fromUtf8("editLabel"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.editLabel)
self.lblTimeFormat = QtGui.QLabel(AnimationLayoutItemProps)
self.lblTimeFormat.setObjectName(_fromUtf8("lblTimeFormat"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.lblTimeFormat)
self.cboTimeFormat = QtGui.QComboBox(AnimationLayoutItemProps)
self.cboTimeFormat.setObjectName(_fromUtf8("cboTimeFormat"))
self.cboTimeFormat.addItem(_fromUtf8(""))
self.cboTimeFormat.addItem(_fromUtf8(""))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.cboTimeFormat)
self.lblText = QtGui.QLabel(AnimationLayoutItemProps)
self.lblText.setObjectName(_fromUtf8("lblText"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.lblText)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.btnFont = QtGui.QPushButton(AnimationLayoutItemProps)
self.btnFont.setObjectName(_fromUtf8("btnFont"))
self.horizontalLayout.addWidget(self.btnFont)
self.btnTextColor = QgsColorButton(AnimationLayoutItemProps)
self.btnTextColor.setText(_fromUtf8(""))
self.btnTextColor.setObjectName(_fromUtf8("btnTextColor"))
self.horizontalLayout.addWidget(self.btnTextColor)
self.formLayout.setLayout(2, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
self.lblBackground = QtGui.QLabel(AnimationLayoutItemProps)
self.lblBackground.setObjectName(_fromUtf8("lblBackground"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.lblBackground)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.chkBackground = QtGui.QCheckBox(AnimationLayoutItemProps)
self.chkBackground.setText(_fromUtf8(""))
self.chkBackground.setObjectName(_fromUtf8("chkBackground"))
self.horizontalLayout_2.addWidget(self.chkBackground)
self.btnBackgroundColor = QgsColorButton(AnimationLayoutItemProps)
self.btnBackgroundColor.setText(_fromUtf8(""))
self.btnBackgroundColor.setObjectName(_fromUtf8("btnBackgroundColor"))
self.horizontalLayout_2.addWidget(self.btnBackgroundColor)
self.formLayout.setLayout(3, QtGui.QFormLayout.FieldRole, self.horizontalLayout_2)
self.lblPosition = QtGui.QLabel(AnimationLayoutItemProps)
self.lblPosition.setObjectName(_fromUtf8("lblPosition"))
self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.lblPosition)
self.cboPosition = QtGui.QComboBox(AnimationLayoutItemProps)
self.cboPosition.setObjectName(_fromUtf8("cboPosition"))
self.cboPosition.addItem(_fromUtf8(""))
self.cboPosition.addItem(_fromUtf8(""))
self.cboPosition.addItem(_fromUtf8(""))
self.cboPosition.addItem(_fromUtf8(""))
self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.cboPosition)
self.retranslateUi(AnimationLayoutItemProps)
QtCore.QMetaObject.connectSlotsByName(AnimationLayoutItemProps)
AnimationLayoutItemProps.setTabOrder(self.editLabel, self.cboTimeFormat)
AnimationLayoutItemProps.setTabOrder(self.cboTimeFormat, self.btnBackgroundColor)
AnimationLayoutItemProps.setTabOrder(self.btnBackgroundColor, self.cboPosition)