From 950ade5fbd37fa3efdd6d0d6884b1587a9d8b6aa Mon Sep 17 00:00:00 2001 From: Agsha Athalla Nurkareem <agshaathalla@gmail.com> Date: Mon, 17 Apr 2023 11:36:46 +0700 Subject: [PATCH] feat : add start button --- src/dashboard.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/dashboard.py b/src/dashboard.py index 9fb0824..a0400b2 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -350,23 +350,6 @@ class dashboard(QWidget): QCursor(Qt.CursorShape.PointingHandCursor)) listButton.clicked.connect(self.listWindow) - - # # tombol history - # historyButton = QPushButton(self) - # historyButton.setText('History') - # historyButton.setStyleSheet(f''' - # QPushButton {{ - # color: {text_color}; - # background-color: {background}; - # border: none; - # border-radius: 20px; - # }} - # ''') - # historyButton.setFont(buttonFont) - # historyButton.move(979, 58) - # historyButton.setCursor( - # QCursor(Qt.CursorShape.PointingHandCursor)) - # foto profil profilePhoto = QLabel(self) profilePhoto.setPixmap(QPixmap('img/profile-dashboard.png')) @@ -411,6 +394,7 @@ class dashboard(QWidget): start.setFixedSize(233, 47) #pake ini buat kalau dia buletan start.move(101, 511) start.setCursor(QCursor(Qt.CursorShape.PointingHandCursor)) + start.clicked.connect(self.planWindow) # membuat history card historyIdx = cur.execute(""" -- GitLab