This commit is contained in:
玉宇清音 2024-01-27 09:54:39 +08:00
parent 6dbeaf3837
commit b75d2f4d93
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="55c45e43-6fd9-4244-902d-86f83a348f5b" name="Changes" comment="pycharm配置更新"> <list default="true" id="55c45e43-6fd9-4244-902d-86f83a348f5b" name="Changes" comment="pycharm配置更新">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/DockPanel.py" beforeDir="false" afterPath="$PROJECT_DIR$/DockPanel.py" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@ -32,12 +32,12 @@ class DragHeader(QFrame):
self.min_button=QPushButton("-") self.min_button=QPushButton("-")
self.min_button.clicked.connect(lambda : self.retrieve_request[QWidget].emit(parent)) self.min_button.clicked.connect(lambda : self.retrieve_request[QWidget].emit(parent))
self.min_button.setMaximumSize(22,22) self.min_button.setMinimumSize(22,22)
self.min_button.setMaximumSize(22,22) self.min_button.setMaximumSize(22,22)
self.layout_inst.addWidget(self.min_button,stretch=0, alignment=Qt.AlignRight) self.layout_inst.addWidget(self.min_button,stretch=0, alignment=Qt.AlignRight)
self.close_button=QPushButton("x") self.close_button=QPushButton("x")
self.close_button.clicked.connect(lambda : self.close_request[QWidget].emit(parent)) self.close_button.clicked.connect(lambda : self.close_request[QWidget].emit(parent))
self.close_button.setMaximumSize(22,22) self.close_button.setMinimumSize(22,22)
self.close_button.setMaximumSize(22,22) self.close_button.setMaximumSize(22,22)
self.layout_inst.addWidget(self.close_button, stretch=0, alignment=Qt.AlignRight) self.layout_inst.addWidget(self.close_button, stretch=0, alignment=Qt.AlignRight)
pass pass