프로젝트

일반

사용자정보

개정판 6ee8daf3

ID6ee8daf3f5e3b5c2405909dbb5bdd1f2f385dc6b
상위 edde08f3
하위 d1994d14

함의성이(가) 약 4년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)