set.py 480 B

123456789101112131415161718
  1. #!/usr/bin/env python
  2. # -*- encoding: utf-8 -*-
  3. from ui.own.frame_theme import MyFrame
  4. from utils.qt import QtWidgets, QtCore
  5. class Set(MyFrame):
  6. def setupUi(self, Set):
  7. self.set = MyFrame(Set)
  8. self.set_layout = QtWidgets.QHBoxLayout(self.set)
  9. self.set_layout.setContentsMargins(5, 5, 5, 5)
  10. self.set_layout.setSpacing(0)
  11. # self.set_layout.addWidget(self.set_right_frame, 1)
  12. QtCore.QMetaObject.connectSlotsByName(Set)