add more tooltips to ui
This commit is contained in:
parent
206c158b9a
commit
99819b0883
29
gameview.py
29
gameview.py
@ -866,31 +866,31 @@ class gui(QtGui.QWidget):
|
|||||||
self.evidencedelete.setToolTip('Delete selected evidence')
|
self.evidencedelete.setToolTip('Delete selected evidence')
|
||||||
self.evidencedelete.clicked.connect(self.onDeleteEvidence)
|
self.evidencedelete.clicked.connect(self.onDeleteEvidence)
|
||||||
self.evidenceload = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "folder.png"), "", self.gametab_evidence)
|
self.evidenceload = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "folder.png"), "", self.gametab_evidence)
|
||||||
self.evidenceload.setToolTip('Import all evidence from file')
|
self.evidenceload.setToolTip('Import all evidence from a file')
|
||||||
self.evidenceload.clicked.connect(self.onImportEvidence)
|
self.evidenceload.clicked.connect(self.onImportEvidence)
|
||||||
self.evidencesave = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "disk.png"), "", self.gametab_evidence)
|
self.evidencesave = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "disk.png"), "", self.gametab_evidence)
|
||||||
self.evidencesave.setToolTip('Export all evidence to file')
|
self.evidencesave.setToolTip('Export all evidence to a file')
|
||||||
self.evidencesave.clicked.connect(self.onExportEvidence)
|
self.evidencesave.clicked.connect(self.onExportEvidence)
|
||||||
|
|
||||||
self.evidencemoveprivate = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_right.png"), "", self.gametab_evidence)
|
self.evidencemoveprivate = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_right.png"), "", self.gametab_evidence)
|
||||||
self.evidencemoveprivate.setToolTip('Transfer selected evidence to private inventory')
|
self.evidencemoveprivate.setToolTip('Transfer selected evidence to the private inventory')
|
||||||
self.evidencemoveprivate.clicked.connect(self.onTransferEvidence)
|
self.evidencemoveprivate.clicked.connect(self.onTransferEvidence)
|
||||||
self.evidencemoveallprivate = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_right2.png"), "", self.gametab_evidence)
|
self.evidencemoveallprivate = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_right2.png"), "", self.gametab_evidence)
|
||||||
self.evidencemoveallprivate.setToolTip('Transfer all evidence to private inventory')
|
self.evidencemoveallprivate.setToolTip('Transfer all evidence to the private inventory')
|
||||||
self.evidencemoveallprivate.clicked.connect(self.onTransferAllEvidence)
|
self.evidencemoveallprivate.clicked.connect(self.onTransferAllEvidence)
|
||||||
|
|
||||||
self.evidencemoveglobal = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_left.png"), "", self.gametab_evidence)
|
self.evidencemoveglobal = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_left.png"), "", self.gametab_evidence)
|
||||||
self.evidencemoveglobal.setToolTip('Transfer selected evidence to global inventory')
|
self.evidencemoveglobal.setToolTip('Transfer selected evidence to the global inventory')
|
||||||
self.evidencemoveglobal.clicked.connect(self.onTransferEvidence)
|
self.evidencemoveglobal.clicked.connect(self.onTransferEvidence)
|
||||||
self.evidencemoveallglobal = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_left2.png"), "", self.gametab_evidence)
|
self.evidencemoveallglobal = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "arrow_left2.png"), "", self.gametab_evidence)
|
||||||
self.evidencemoveallglobal.setToolTip('Transfer all evidence to global inventory')
|
self.evidencemoveallglobal.setToolTip('Transfer all evidence to the global inventory')
|
||||||
self.evidencemoveallglobal.clicked.connect(self.onTransferAllEvidence)
|
self.evidencemoveallglobal.clicked.connect(self.onTransferAllEvidence)
|
||||||
|
|
||||||
self.evidenceswitchprivate = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "world.png"), "", self.gametab_evidence)
|
self.evidenceswitchprivate = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "world.png"), "", self.gametab_evidence)
|
||||||
self.evidenceswitchprivate.setToolTip('Switch to private inventory')
|
self.evidenceswitchprivate.setToolTip('Switch to the private inventory')
|
||||||
self.evidenceswitchprivate.clicked.connect(self.onSwitchInventory)
|
self.evidenceswitchprivate.clicked.connect(self.onSwitchInventory)
|
||||||
self.evidenceswitchglobal = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "briefcase.png"), "", self.gametab_evidence)
|
self.evidenceswitchglobal = QtGui.QPushButton(QtGui.QIcon(AO2XPpath + "icons/" + "briefcase.png"), "", self.gametab_evidence)
|
||||||
self.evidenceswitchglobal.setToolTip('Switch to global inventory')
|
self.evidenceswitchglobal.setToolTip('Switch to the global inventory')
|
||||||
self.evidenceswitchglobal.clicked.connect(self.onSwitchInventory)
|
self.evidenceswitchglobal.clicked.connect(self.onSwitchInventory)
|
||||||
|
|
||||||
self.evidencepresent = PresentButton(self, self.gametab_evidence)
|
self.evidencepresent = PresentButton(self, self.gametab_evidence)
|
||||||
@ -1003,27 +1003,33 @@ class gui(QtGui.QWidget):
|
|||||||
|
|
||||||
self.emotedropdown = QtGui.QComboBox(self)
|
self.emotedropdown = QtGui.QComboBox(self)
|
||||||
self.emotedropdown.currentIndexChanged.connect(partial(self.changeEmote, True))
|
self.emotedropdown.currentIndexChanged.connect(partial(self.changeEmote, True))
|
||||||
|
self.emotedropdown.setToolTip('Select an emotion for your character')
|
||||||
|
|
||||||
self.colordropdown = QtGui.QComboBox(self)
|
self.colordropdown = QtGui.QComboBox(self)
|
||||||
self.colordropdown.currentIndexChanged.connect(self.setChatColor)
|
self.colordropdown.currentIndexChanged.connect(self.setChatColor)
|
||||||
|
self.colordropdown.setToolTip('Change the color of your message')
|
||||||
|
|
||||||
self.posdropdown = QtGui.QComboBox(self)
|
self.posdropdown = QtGui.QComboBox(self)
|
||||||
self.posdropdown.addItems(["def", "pro", "wit", "hld", "hlp", "jud"])
|
self.posdropdown.addItems(["def", "pro", "wit", "hld", "hlp", "jud"])
|
||||||
self.posdropdown.currentIndexChanged.connect(self.setPosition)
|
self.posdropdown.currentIndexChanged.connect(self.setPosition)
|
||||||
|
self.posdropdown.setToolTip('Select your position in the courtroom')
|
||||||
|
|
||||||
self.flipbutton = QtGui.QCheckBox(self)
|
self.flipbutton = QtGui.QCheckBox(self)
|
||||||
self.flipbutton.stateChanged.connect(self.changeFlipCheck)
|
self.flipbutton.stateChanged.connect(self.changeFlipCheck)
|
||||||
self.flipbutton.setText('Flip')
|
self.flipbutton.setText('Flip')
|
||||||
self.flipbutton.resize(self.flipbutton.sizeHint())
|
self.flipbutton.resize(self.flipbutton.sizeHint())
|
||||||
|
self.flipbutton.setToolTip("Mirror your character horizontally")
|
||||||
|
|
||||||
self.sfxbutton = QtGui.QCheckBox(self)
|
self.sfxbutton = QtGui.QCheckBox(self)
|
||||||
self.sfxbutton.setChecked(True)
|
self.sfxbutton.setChecked(True)
|
||||||
self.sfxbutton.stateChanged.connect(self.changeSfxCheck)
|
self.sfxbutton.stateChanged.connect(self.changeSfxCheck)
|
||||||
self.sfxbutton.setText('Play pre-animation')
|
self.sfxbutton.setText('Play pre-animation')
|
||||||
|
self.sfxbutton.setToolTip("Play a character-specific animation before the next message")
|
||||||
|
|
||||||
self.nointerruptbtn = QtGui.QCheckBox(self)
|
self.nointerruptbtn = QtGui.QCheckBox(self)
|
||||||
self.nointerruptbtn.setChecked(False)
|
self.nointerruptbtn.setChecked(False)
|
||||||
self.nointerruptbtn.setText('No Interrupt')
|
self.nointerruptbtn.setText('No Interrupt')
|
||||||
|
self.nointerruptbtn.setToolTip("Show the next message immediately, ignoring animations")
|
||||||
|
|
||||||
# AO 2.8
|
# AO 2.8
|
||||||
self.additivebtn = QtGui.QCheckBox(self)
|
self.additivebtn = QtGui.QCheckBox(self)
|
||||||
@ -1031,13 +1037,16 @@ class gui(QtGui.QWidget):
|
|||||||
self.additivebtn.setText('Additive')
|
self.additivebtn.setText('Additive')
|
||||||
self.additivebtn.resize(self.additivebtn.sizeHint())
|
self.additivebtn.resize(self.additivebtn.sizeHint())
|
||||||
self.additivebtn.clicked.connect(self.onAdditiveCheck)
|
self.additivebtn.clicked.connect(self.onAdditiveCheck)
|
||||||
|
self.additivebtn.setToolTip('Append the next message to the previous one, without a new textbox')
|
||||||
|
|
||||||
self.deskbtn = QtGui.QCheckBox(self)
|
self.deskbtn = QtGui.QCheckBox(self)
|
||||||
self.deskbtn.setChecked(True)
|
self.deskbtn.setChecked(True)
|
||||||
self.deskbtn.setText('Desk')
|
self.deskbtn.setText('Desk')
|
||||||
self.deskbtn.resize(self.nointerruptbtn.sizeHint())
|
self.deskbtn.resize(self.nointerruptbtn.sizeHint())
|
||||||
|
self.deskbtn.setToolTip('Show or hide the desk in front of your character')
|
||||||
|
|
||||||
self.effectdropdown = QtGui.QComboBox(self)
|
self.effectdropdown = QtGui.QComboBox(self)
|
||||||
|
self.effectdropdown.setToolTip('Show this effect on your next message')
|
||||||
|
|
||||||
self.callmodbtn = QtGui.QPushButton(self)
|
self.callmodbtn = QtGui.QPushButton(self)
|
||||||
self.callmodbtn.setText('Call mod')
|
self.callmodbtn.setText('Call mod')
|
||||||
@ -1075,8 +1084,11 @@ class gui(QtGui.QWidget):
|
|||||||
self.nextemotepage.show()
|
self.nextemotepage.show()
|
||||||
self.realizationbtn = buttons.AOToggleButton(self, 265 + 164, 192 + 304, "realization")
|
self.realizationbtn = buttons.AOToggleButton(self, 265 + 164, 192 + 304, "realization")
|
||||||
self.realizationbtn.clicked.connect(self.onRealizationButton)
|
self.realizationbtn.clicked.connect(self.onRealizationButton)
|
||||||
|
self.realizationbtn.setToolTip('Show the next message with a realization effect')
|
||||||
self.realizationsnd = audio.loadhandle(False, AOpath + 'sounds/general/sfx-realization.wav', 0, 0, 0)
|
self.realizationsnd = audio.loadhandle(False, AOpath + 'sounds/general/sfx-realization.wav', 0, 0, 0)
|
||||||
|
|
||||||
self.shakebtn = buttons.AOToggleButton(self, 265+42 + 164, 192 + 304, "screenshake") # AO 2.8
|
self.shakebtn = buttons.AOToggleButton(self, 265+42 + 164, 192 + 304, "screenshake") # AO 2.8
|
||||||
|
self.shakebtn.setToolTip('Show the next message with a shaking effect')
|
||||||
self.customobject = buttons.CustomObjection(self, 250 + 516 - 30, 312 + 40)
|
self.customobject = buttons.CustomObjection(self, 250 + 516 - 30, 312 + 40)
|
||||||
self.takethatbtn = buttons.Objections(self, 170+ 516 - 20, 312 + 40, 3)
|
self.takethatbtn = buttons.Objections(self, 170+ 516 - 20, 312 + 40, 3)
|
||||||
self.objectbtn = buttons.Objections(self, 90+ 516 - 10, 312 + 40, 2)
|
self.objectbtn = buttons.Objections(self, 90+ 516 - 10, 312 + 40, 2)
|
||||||
@ -1111,6 +1123,7 @@ class gui(QtGui.QWidget):
|
|||||||
self.shownameedit = QtGui.QLineEdit(self)
|
self.shownameedit = QtGui.QLineEdit(self)
|
||||||
self.shownameedit.textChanged.connect(self.onChangeShowname)
|
self.shownameedit.textChanged.connect(self.onChangeShowname)
|
||||||
self.shownameedit.setPlaceholderText("Showname")
|
self.shownameedit.setPlaceholderText("Showname")
|
||||||
|
self.shownameedit.setToolTip('Set a custom name for your character')
|
||||||
|
|
||||||
self.musicslider = QtGui.QSlider(QtCore.Qt.Horizontal, self)
|
self.musicslider = QtGui.QSlider(QtCore.Qt.Horizontal, self)
|
||||||
self.soundslider = QtGui.QSlider(QtCore.Qt.Horizontal, self)
|
self.soundslider = QtGui.QSlider(QtCore.Qt.Horizontal, self)
|
||||||
|
Loading…
Reference in New Issue
Block a user