개정판 6ee8daf3
issue #000: disable open
Change-Id: I1459a076812a0413c3694398c80a20460bb2a4bf
DTI_PID/DTI_PID/AppRibbon.py | ||
---|---|---|
75 | 75 |
cSection = tab.addSection(self.tr('File')) |
76 | 76 |
pane = QHomeFilePane() |
77 | 77 |
self._panes['Home File'] = pane |
78 |
pane.ui.toolButtonFileOpen.clicked.connect(partial(main_wnd.open_image_drawing, None)) |
|
79 |
shortcut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_O), pane.ui.toolButtonFileOpen) |
|
80 |
shortcut.activated.connect(partial(main_wnd.open_image_drawing, None)) |
|
78 |
pane.ui.toolButtonFileOpen.setEnabled(False) |
|
79 |
#pane.ui.toolButtonFileOpen.clicked.connect(partial(main_wnd.open_image_drawing, None)) |
|
80 |
#shortcut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_O), pane.ui.toolButtonFileOpen) |
|
81 |
#shortcut.activated.connect(partial(main_wnd.open_image_drawing, None)) |
|
81 | 82 |
pane.ui.toolButtonFileSave.clicked.connect(main_wnd.actionSaveCliked) |
82 | 83 |
shortcut = QShortcut(QKeySequence(Qt.CTRL + Qt.Key_S), pane.ui.toolButtonFileSave) |
83 | 84 |
shortcut.activated.connect(main_wnd.actionSaveCliked) |
... | ... | |
157 | 158 |
tab = self.addTab(self.tr('Edit')) # "Edit" |
158 | 159 |
main_wnd = App.mainWnd() |
159 | 160 |
|
160 |
# File Section
|
|
161 |
# Edit Section
|
|
161 | 162 |
cSection = tab.addSection(self.tr('Edit')) |
162 | 163 |
pane = QEditPane() |
163 | 164 |
pane.ui.toolButtonFindReplaceText.clicked.connect(main_wnd.findReplaceTextClicked) |
내보내기 Unified diff