nice change
This commit is contained in:
parent
b472cdb62e
commit
51ef3b40ec
@ -202,6 +202,10 @@ class MainWindow(QMainWindow):
|
|||||||
|
|
||||||
for widget_type in widget_types:
|
for widget_type in widget_types:
|
||||||
for child in widget.findChildren(widget_type):
|
for child in widget.findChildren(widget_type):
|
||||||
|
|
||||||
|
if child.accessibleName() == "ignore":
|
||||||
|
continue # Ignorer les widgets marqués pour être ignorés
|
||||||
|
|
||||||
widget_id = id(child)
|
widget_id = id(child)
|
||||||
|
|
||||||
# Récupérer la taille de base
|
# Récupérer la taille de base
|
||||||
|
|||||||
@ -728,9 +728,9 @@ class TabsWidget(QWidget):
|
|||||||
continue
|
continue
|
||||||
lname = tag.split('}')[-1] # local name
|
lname = tag.split('}')[-1] # local name
|
||||||
if lname in ("svg", "g", "path", "rect", "circle", "ellipse", "polygon", "line", "polyline"):
|
if lname in ("svg", "g", "path", "rect", "circle", "ellipse", "polygon", "line", "polyline"):
|
||||||
if 'fill' in el.attrib:
|
if 'fill' in el.attrib and el.attrib['fill'] != 'none':
|
||||||
el.attrib['fill'] = color
|
el.attrib['fill'] = color
|
||||||
if 'stroke' in el.attrib:
|
if 'stroke' in el.attrib and el.attrib['stroke'] != 'none':
|
||||||
el.attrib['stroke'] = color
|
el.attrib['stroke'] = color
|
||||||
|
|
||||||
style = el.attrib.get('style')
|
style = el.attrib.get('style')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user