删除冗余打印代码

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

View File

@ -115,9 +115,6 @@ class DockPanel(QWidget):
def sync_status(self):
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__":
app=QApplication([])

View File

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

View File

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