mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Hello Python: Remove semicolons from sidebar.py (E703)
Reviewers: #falkon, cullmann Reviewed By: #falkon, cullmann Subscribers: cullmann, falkon Tags: #falkon Differential Revision: https://phabricator.kde.org/D21386
This commit is contained in:
parent
2887d87ed5
commit
107e75b469
@ -30,11 +30,11 @@ class HelloSidebar(Falkon.SideBarInterface):
|
|||||||
|
|
||||||
def createSideBarWidget(self, window):
|
def createSideBarWidget(self, window):
|
||||||
w = QtWidgets.QWidget()
|
w = QtWidgets.QWidget()
|
||||||
b = QtWidgets.QPushButton("Hello Python v0.0.1");
|
b = QtWidgets.QPushButton("Hello Python v0.0.1")
|
||||||
label = QtWidgets.QLabel()
|
label = QtWidgets.QLabel()
|
||||||
label.setPixmap(QtGui.QPixmap(":icons/other/about.svg"));
|
label.setPixmap(QtGui.QPixmap(":icons/other/about.svg"))
|
||||||
l = QtWidgets.QVBoxLayout(w);
|
l = QtWidgets.QVBoxLayout(w)
|
||||||
l.addWidget(label);
|
l.addWidget(label)
|
||||||
l.addWidget(b);
|
l.addWidget(b)
|
||||||
w.setLayout(l);
|
w.setLayout(l)
|
||||||
return w
|
return w
|
||||||
|
Loading…
Reference in New Issue
Block a user