diff --git a/.gitignore b/.gitignore
index ed028b2..c2e6840 100644
--- a/.gitignore
+++ b/.gitignore
@@ -209,4 +209,7 @@ package
rc.py
*.aux.xml
-model/
\ No newline at end of file
+model/
+
+plugin-build/
+3rd/
\ No newline at end of file
diff --git a/3rd/about/main.py b/3rd/about/main.py
deleted file mode 100644
index a6e0e4e..0000000
--- a/3rd/about/main.py
+++ /dev/null
@@ -1,68 +0,0 @@
-from rscder.plugins.basic import BasicPlugin
-
-from PyQt5.QtWidgets import QDialog, QAction, QApplication, QLabel, QTextEdit, QVBoxLayout
-from PyQt5.QtCore import Qt
-from PyQt5.QtGui import QIcon
-
-class AboutDialog(QDialog):
- def __init__(self, parent=None):
- super(AboutDialog, self).__init__(parent)
- self.setWindowTitle("About")
- self.setFixedSize(800, 400)
-
- self.label = QLabel("
"+ QApplication.applicationName() + "
")
- self.label.setAlignment(Qt.AlignCenter)
- self.label.setStyleSheet("font-size: 20px;")
-
- self.label2 = QLabel("Version: " + QApplication.applicationVersion() + "
")
- self.label2.setAlignment(Qt.AlignCenter)
- self.label2.setStyleSheet("font-size: 15px;")
-
- self.label3 = QLabel("" + QApplication.organizationName() + "
")
- self.label3.setAlignment(Qt.AlignCenter)
- self.label3.setStyleSheet("font-size: 15px;")
-
- self.label4 = QLabel("Copyright (c) 2020
")
- self.label4.setAlignment(Qt.AlignCenter)
- self.label4.setStyleSheet("font-size: 10px;")
-
- self.text = QTextEdit()
- self.text.setReadOnly(True)
- self.text.setText('''
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- ''')
-
- self.layout = QVBoxLayout()
- self.layout.addWidget(self.label)
- self.layout.addWidget(self.label2)
- self.layout.addWidget(self.label3)
- self.layout.addWidget(self.label4)
- self.layout.addWidget(self.text)
- self.setLayout(self.layout)
-
-
-class AboutPlugin(BasicPlugin):
-
- @staticmethod
- def info():
- return {
- 'name': '关于',
- 'author': 'RSCDER',
- 'version': '1.0.0',
- 'description': '关于'
- }
-
- def set_action(self):
- menu = self.ctx['help_menu']
- action = QAction('&关于', self.ctx['menu_bar'])
- action.triggered.connect(self.on_about)
-
- menu.addAction(action)
-
- def on_about(self):
- print('on_about')
- dialog = AboutDialog(self.ctx['mainwindow'])
- dialog.show()
\ No newline at end of file