Make all QToolButton borders transparent

this looks better in the toolbar
This commit is contained in:
ColinDuquesnoy
2015-04-25 15:16:52 +02:00
parent 7bece50f5e
commit 193dafae3d
8 changed files with 1006 additions and 987 deletions
+3 -3
View File
@@ -65,8 +65,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>96</width>
<height>86</height>
<width>168</width>
<height>531</height>
</rect>
</property>
<attribute name="label">
@@ -243,7 +243,7 @@
<item>
<widget class="QToolButton" name="bt_delay_popup">
<property name="text">
<string>Delayed popup</string>
<string>Delayed popup </string>
</property>
</widget>
</item>
+2 -2
View File
@@ -40,7 +40,7 @@ class Ui_MainWindow(object):
self.gridLayout_4.addWidget(self.lineEdit, 0, 0, 1, 1)
self.toolBox.addItem(self.page, "")
self.page_2 = QtWidgets.QWidget()
self.page_2.setGeometry(QtCore.QRect(0, 0, 96, 86))
self.page_2.setGeometry(QtCore.QRect(0, 0, 168, 531))
self.page_2.setObjectName("page_2")
self.gridLayout_5 = QtWidgets.QGridLayout(self.page_2)
self.gridLayout_5.setObjectName("gridLayout_5")
@@ -265,7 +265,7 @@ class Ui_MainWindow(object):
self.menuSubmenu_2.setTitle(_translate("MainWindow", "&Submenu 2"))
self.dockWidget1.setWindowTitle(_translate("MainWindow", "&Dock widget 1"))
self.pushButton_2.setText(_translate("MainWindow", "PushButton"))
self.bt_delay_popup.setText(_translate("MainWindow", "Delayed popup"))
self.bt_delay_popup.setText(_translate("MainWindow", "Delayed popup "))
self.bt_instant_popup.setText(_translate("MainWindow", "Instant popup"))
self.bt_menu_button_popup.setText(_translate("MainWindow", "MenuButtonPopup"))
self.pushButton_3.setText(_translate("MainWindow", "Disabled"))
+3 -3
View File
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'example.ui'
#
# Created: Sat Apr 25 14:45:41 2015
# Created: Sat Apr 25 14:52:27 2015
# by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!
@@ -55,7 +55,7 @@ class Ui_MainWindow(object):
self.gridLayout_4.addWidget(self.lineEdit, 0, 0, 1, 1)
self.toolBox.addItem(self.page, _fromUtf8(""))
self.page_2 = QtGui.QWidget()
self.page_2.setGeometry(QtCore.QRect(0, 0, 96, 86))
self.page_2.setGeometry(QtCore.QRect(0, 0, 168, 531))
self.page_2.setObjectName(_fromUtf8("page_2"))
self.gridLayout_5 = QtGui.QGridLayout(self.page_2)
self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
@@ -279,7 +279,7 @@ class Ui_MainWindow(object):
self.menuSubmenu_2.setTitle(_translate("MainWindow", "&Submenu 2", None))
self.dockWidget1.setWindowTitle(_translate("MainWindow", "&Dock widget 1", None))
self.pushButton_2.setText(_translate("MainWindow", "PushButton", None))
self.bt_delay_popup.setText(_translate("MainWindow", "Delayed popup", None))
self.bt_delay_popup.setText(_translate("MainWindow", "Delayed popup ", None))
self.bt_instant_popup.setText(_translate("MainWindow", "Instant popup", None))
self.bt_menu_button_popup.setText(_translate("MainWindow", "MenuButtonPopup", None))
self.pushButton_3.setText(_translate("MainWindow", "Disabled", None))
+3 -3
View File
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'example.ui'
#
# Created: Sat Apr 25 14:45:42 2015
# Created: Sat Apr 25 14:52:27 2015
# by: pyside-uic 0.2.15 running on PySide 1.2.2
#
# WARNING! All changes made in this file will be lost!
@@ -41,7 +41,7 @@ class Ui_MainWindow(object):
self.gridLayout_4.addWidget(self.lineEdit, 0, 0, 1, 1)
self.toolBox.addItem(self.page, "")
self.page_2 = QtGui.QWidget()
self.page_2.setGeometry(QtCore.QRect(0, 0, 96, 86))
self.page_2.setGeometry(QtCore.QRect(0, 0, 168, 531))
self.page_2.setObjectName("page_2")
self.gridLayout_5 = QtGui.QGridLayout(self.page_2)
self.gridLayout_5.setObjectName("gridLayout_5")
@@ -249,7 +249,7 @@ class Ui_MainWindow(object):
self.menuSubmenu_2.setTitle(QtGui.QApplication.translate("MainWindow", "&Submenu 2", None, QtGui.QApplication.UnicodeUTF8))
self.dockWidget1.setWindowTitle(QtGui.QApplication.translate("MainWindow", "&Dock widget 1", None, QtGui.QApplication.UnicodeUTF8))
self.pushButton_2.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))
self.bt_delay_popup.setText(QtGui.QApplication.translate("MainWindow", "Delayed popup", None, QtGui.QApplication.UnicodeUTF8))
self.bt_delay_popup.setText(QtGui.QApplication.translate("MainWindow", "Delayed popup ", None, QtGui.QApplication.UnicodeUTF8))
self.bt_instant_popup.setText(QtGui.QApplication.translate("MainWindow", "Instant popup", None, QtGui.QApplication.UnicodeUTF8))
self.bt_menu_button_popup.setText(QtGui.QApplication.translate("MainWindow", "MenuButtonPopup", None, QtGui.QApplication.UnicodeUTF8))
self.pushButton_3.setText(QtGui.QApplication.translate("MainWindow", "Disabled", None, QtGui.QApplication.UnicodeUTF8))