mirror of
https://github.com/ralsina/xrandroll.git
synced 2024-11-24 12:02:23 +00:00
Connected scaleModeCombo to code (does nothhing)
This commit is contained in:
parent
3eced60f7b
commit
00862a6b2b
7
main.py
7
main.py
@ -101,11 +101,16 @@ class Window(QObject):
|
||||
self.ui.okButton.clicked.connect(self.do_ok)
|
||||
self.ui.resetButton.clicked.connect(self.do_reset)
|
||||
self.ui.cancelButton.clicked.connect(self.ui.reject)
|
||||
self.ui.scaleModeCombo.currentTextChanged.connect(self.scale_mode_changed)
|
||||
|
||||
def scale_mode_changed(self):
|
||||
mon = self.ui.screenCombo.currentText()
|
||||
scale_mode = self.ui.scaleModeCombo.currentText()
|
||||
print(f'Set {mon} scale mode to {scale_mode}')
|
||||
|
||||
def replica_changed(self):
|
||||
mon = self.ui.screenCombo.currentText()
|
||||
replicate = self.ui.replicaOf.currentText()
|
||||
|
||||
print(f'Making {mon} a replica of {replicate}')
|
||||
|
||||
def do_reset(self):
|
||||
|
Loading…
Reference in New Issue
Block a user