删除冗余打印代码

This commit is contained in:
玉宇清音 2023-12-30 21:55:15 +08:00
parent c878240d9e
commit 108d307ccd
4 changed files with 13 additions and 21 deletions

View File

@ -39,20 +39,20 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"Python.DockPanel.executor": "Debug", &quot;Python.DockPanel.executor&quot;: &quot;Debug&quot;,
"Python.Manager.executor": "Run", &quot;Python.Manager.executor&quot;: &quot;Run&quot;,
"Python.SplitPanel.executor": "Run", &quot;Python.SplitPanel.executor&quot;: &quot;Run&quot;,
"Python.Widget.executor": "Run", &quot;Python.Widget.executor&quot;: &quot;Run&quot;,
"Python.test.executor": "Run", &quot;Python.test.executor&quot;: &quot;Run&quot;,
"RunOnceActivity.OpenProjectViewOnStart": "true", &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"SHARE_PROJECT_CONFIGURATION_FILES": "true", &quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
"git-widget-placeholder": "main", &quot;git-widget-placeholder&quot;: &quot;main&quot;,
"settings.editor.selected.configurable": "preferences.sourceCode" &quot;settings.editor.selected.configurable&quot;: &quot;preferences.sourceCode&quot;
} }
}]]></component> }</component>
<component name="RunManager" selected="Python.SplitPanel"> <component name="RunManager" selected="Python.SplitPanel">
<configuration name="DockPanel" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true"> <configuration name="DockPanel" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="SimpleIDE" /> <module name="SimpleIDE" />

View File

@ -115,9 +115,6 @@ class DockPanel(QWidget):
def sync_status(self): def sync_status(self):
self.drag_header.setVisible(self.default_header) self.drag_header.setVisible(self.default_header)
def paintEvent(self, a0):
super(DockPanel, self).paintEvent(a0)
print(self.windowTitle() + "::" + str(self.isVisible()))
if __name__ == "__main__": if __name__ == "__main__":
app=QApplication([]) app=QApplication([])

View File

@ -101,7 +101,6 @@ class AcceptPanel(QWidget):
self.setVisible(False) self.setVisible(False)
class DragManager(QObject): class DragManager(QObject):
__unique_inst: 'DragManager' = None __unique_inst: 'DragManager' = None

View File

@ -87,10 +87,6 @@ class SplitPanel(QWidget):
self.split_member[1].setVisible(True) self.split_member[1].setVisible(True)
pass pass
def paintEvent(self, a0):
super(SplitPanel, self).paintEvent(a0)
print(self.split_member[0].windowTitle() + "\\" + self.split_member[1].windowTitle())
def child(self): def child(self):
return self.split_member[0], self.split_member[1], self.split_info[0] return self.split_member[0], self.split_member[1], self.split_info[0]