Skip to content

Commit

Permalink
#14: retrieve the plan allowed from the server and place them into a …
Browse files Browse the repository at this point in the history
…combo box
  • Loading branch information
olliviergassant committed Jul 15, 2024
1 parent eccbff1 commit 9b4df1f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion queueUI/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,20 @@ def __init__(self):
self.REHaltButton.clicked.connect(self.RM.re_halt)

# Controlling the Queue
self.queuePlayButton.clicked.connect(self.RM.queue_start)
self.queuePlayButton.clicked.connect(self.RM.queue_start)
self.queueStopButton.clicked.connect(self.RM.queue_stop)
# self.autoPlayCheckBox.clicked.connect(self.toggled)

# Labels
self.REEnvironmentOutputLabel.setStyleSheet("color: green; ")
self.REEnvironmentOutputLabel.setText("Test")

# Combobox
plans = self.RM.plans_allowed()["plans_allowed"].keys()
self.comboBox.clear()
self.comboBox.addItems(plans)
self.comboBox.activated.connect(self.get_plans)

# RE Function:

def openRunEngine(self):
Expand Down

0 comments on commit 9b4df1f

Please sign in to comment.