mirror of
https://github.com/3minbe/DBC_Converter.git
synced 2026-05-17 01:23:58 +09:00
툴바 단축키 설명 추가가
This commit is contained in:
parent
d5893aa48d
commit
d40ac7795b
@ -111,27 +111,27 @@ class MainView(QtWidgets.QMainWindow):
|
||||
|
||||
# 툴바 추가
|
||||
self.toolbar = self.addToolBar("Main Toolbar")
|
||||
add_file_action = QtWidgets.QAction(QtGui.QIcon("img/add_file.png"), "파일 추가", self)
|
||||
add_file_action = QtWidgets.QAction(QtGui.QIcon("img/add_file.png"), "파일 추가\n(Ctrl+O)", self)
|
||||
add_file_action.setShortcut('Ctrl+O')
|
||||
add_file_action.triggered.connect(self.FilesOpen)
|
||||
self.toolbar.addAction(add_file_action)
|
||||
|
||||
delete_file_action = QtWidgets.QAction(QtGui.QIcon("img/delete_file.png"), "선택 파일 삭제", self)
|
||||
delete_file_action = QtWidgets.QAction(QtGui.QIcon("img/delete_file.png"), "선택 파일 삭제\n(Delete)", self)
|
||||
delete_file_action.setShortcut('Delete')
|
||||
delete_file_action.triggered.connect(self.deleteSelectedFiles)
|
||||
self.toolbar.addAction(delete_file_action)
|
||||
|
||||
delete_all_action = QtWidgets.QAction(QtGui.QIcon("img/delete_all.png"), "모든 파일 삭제", self)
|
||||
delete_all_action = QtWidgets.QAction(QtGui.QIcon("img/delete_all.png"), "모든 파일 삭제\n(Ctrl+Shift+Delete)", self)
|
||||
delete_all_action.setShortcut('Ctrl+Shift+Delete')
|
||||
delete_all_action.triggered.connect(self.deleteAllFiles)
|
||||
self.toolbar.addAction(delete_all_action)
|
||||
|
||||
delete_description_action = QtWidgets.QAction(QtGui.QIcon("img/delete_description.png"), "알림창 내용 삭제", self)
|
||||
delete_description_action = QtWidgets.QAction(QtGui.QIcon("img/delete_description.png"), "알림창 내용 삭제\n(Ctrl+Shift+D)", self)
|
||||
delete_description_action.setShortcut('Ctrl+Shift+D')
|
||||
delete_description_action.triggered.connect(self.clearAlerts)
|
||||
self.toolbar.addAction(delete_description_action)
|
||||
|
||||
convert_action = QtWidgets.QAction(QtGui.QIcon("img/convert.png"), "변환", self)
|
||||
convert_action = QtWidgets.QAction(QtGui.QIcon("img/convert.png"), "변환\n(Ctrl+R)", self)
|
||||
convert_action.setShortcut('Ctrl+R')
|
||||
convert_action.triggered.connect(self.convertFiles)
|
||||
self.toolbar.addAction(convert_action)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user