예제 #1
0
파일: pieslice.py 프로젝트: phil65/PrettyQt
 def get_label_brush(self) -> gui.Brush:
     return gui.Brush(self.labelBrush())
예제 #2
0
 def get_brush(self) -> gui.Brush:
     return gui.Brush(self.brush())
예제 #3
0
 def get_background(self) -> gui.Brush:
     return gui.Brush(self.background())
예제 #4
0
 def get_foreground(self) -> gui.Brush:
     return gui.Brush(self.foreground())
예제 #5
0
 def get_border_brush(self) -> gui.Brush:
     return gui.Brush(self.borderBrush())
예제 #6
0
 def get_brush_property(self, property_id: int) -> gui.Brush:
     return gui.Brush(self.brushProperty(property_id))
예제 #7
0
 def get_shades_brush(self) -> gui.Brush:
     return gui.Brush(self.shadesBrush())
예제 #8
0
 def get_title_brush(self) -> gui.Brush:
     return gui.Brush(self.titleBrush())
예제 #9
0
def test_brush():
    gui.Brush()