Dialog background color

Definition language
Mouse cursor hiding
This commit is contained in:
BasioMeusPuga
2018-03-08 11:21:42 +05:30
parent 411b4445c6
commit 6bf8c14dda
12 changed files with 177 additions and 58 deletions

View File

@@ -67,15 +67,15 @@ class Ui_Dialog(object):
self.horizontalLayout_2.addWidget(self.cancelButton)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem1)
self.colorButton = QtWidgets.QPushButton(Dialog)
self.colorButton.setText("")
self.dialogBackground = QtWidgets.QPushButton(Dialog)
self.dialogBackground.setText("")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/images/color.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.colorButton.setIcon(icon2)
self.colorButton.setIconSize(QtCore.QSize(27, 27))
self.colorButton.setFlat(True)
self.colorButton.setObjectName("colorButton")
self.horizontalLayout_2.addWidget(self.colorButton)
self.dialogBackground.setIcon(icon2)
self.dialogBackground.setIconSize(QtCore.QSize(27, 27))
self.dialogBackground.setFlat(True)
self.dialogBackground.setObjectName("dialogBackground")
self.horizontalLayout_2.addWidget(self.dialogBackground)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.horizontalLayout.addLayout(self.verticalLayout)
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)