diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index ecdecccea675d11b4d03b19f5c8df36849ae5bdf..51a55835c37885d87e678f845e7c80acbdb2ac98 100644 --- a/PPOCRLabel/PPOCRLabel.py +++ b/PPOCRLabel/PPOCRLabel.py @@ -257,9 +257,6 @@ class MainWindow(QMainWindow, WindowMixin): self.imgsliderDock.setObjectName(getStr('IR')) self.imgsliderDock.setWidget(self.imgsplider) self.imgsliderDock.setFeatures(QDockWidget.DockWidgetFloatable) - # op = QGraphicsOpacityEffect() - # op.setOpacity(0.2) - # self.imgsliderDock.setGraphicsEffect(op) self.imgsliderDock.setAttribute(Qt.WA_TranslucentBackground) self.addDockWidget(Qt.RightDockWidgetArea, self.imgsliderDock) @@ -302,10 +299,6 @@ class MainWindow(QMainWindow, WindowMixin): iconListContainer = QWidget() iconListContainer.setLayout(hlayout) iconListContainer.setFixedHeight(100) - # iconListContainer.setFixedWidth(530) - # op = QGraphicsOpacityEffect() - # op.setOpacity(0.5) - # iconListContainer.setGraphicsEffect(op) ########### Canvas ########### self.canvas = Canvas(parent=self) @@ -498,10 +491,6 @@ class MainWindow(QMainWindow, WindowMixin): icon='color', tip=getStr('shapeFillColorDetail'), enabled=False) - # labels = self.dock.toggleViewAction() - # labels.setText(getStr('showHide')) - # labels.setShortcut('Ctrl+Shift+L') - # Label list context menu. labelMenu = QMenu() addActions(labelMenu, (edit, delete)) @@ -583,17 +572,6 @@ class MainWindow(QMainWindow, WindowMixin): action('&Copy here', self.copyShape), action('&Move here', self.moveShape))) - # self.tools = self.toolbar('Tools') - - # self.actions.beginner = ( - # open, opendir, openNextImg, openPrevImg, verify, save, None, create, copy, delete, None, - # zoomIn, zoom, zoomOut, fitWindow, fitWidth) - # - # self.actions.advanced = ( - # open, opendir, openNextImg, openPrevImg, save, None, - # createMode, editMode, None, - # hideAll, showAll) - self.statusBar().showMessage('%s started.' % __appname__) self.statusBar().show() diff --git a/doc/joinus.PNG b/doc/joinus.PNG index a6e947489831d90a841c3bb6f21596d5dac7e1ac..93aa0ffa747d76a9383f5d1c3d49ba4f4f961836 100644 Binary files a/doc/joinus.PNG and b/doc/joinus.PNG differ