Skip to content

Commit

Permalink
added task image to gui
Browse files Browse the repository at this point in the history
  • Loading branch information
herambnemlekar committed Oct 15, 2021
1 parent 80e0942 commit f3aa1b3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions src/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ def __init__(self):
self.query.adjustSize()
self.query.move(120, 50)

# task info
self.image = QLabel(self)
pixmap = QPixmap('task.jpg')
self.image.setPixmap(pixmap)
self.image.adjustSize()
self.image.move(450, 50)

# inputs
self.options = []
self.user_choice = []
Expand Down
Binary file modified src/task.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f3aa1b3

Please sign in to comment.