mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
new root dialog icon
This commit is contained in:
@@ -19,7 +19,7 @@ def ask_root_password(locale_keys: dict):
|
||||
diag.setStyleSheet("""QLineEdit { border-radius: 5px; font-size: 16px }""")
|
||||
diag.setInputMode(QInputDialog.TextInput)
|
||||
diag.setTextEchoMode(QLineEdit.Password)
|
||||
diag.setWindowIcon(QIcon(resource.get_path('img/lock.svg')))
|
||||
diag.setWindowIcon(QIcon(resource.get_path('img/lock.png')))
|
||||
diag.setWindowTitle(locale_keys['popup.root.title'])
|
||||
diag.setLabelText('')
|
||||
diag.setCancelButtonText(locale_keys['popup.button.cancel'])
|
||||
|
||||
BIN
bauh/view/resources/img/lock.png
Executable file
BIN
bauh/view/resources/img/lock.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 519 B |
@@ -1,138 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
id="Capa_1"
|
||||
x="0px"
|
||||
y="0px"
|
||||
viewBox="0 0 37.125 49.5"
|
||||
xml:space="preserve"
|
||||
sodipodi:docname="lock.svg"
|
||||
width="37.125"
|
||||
height="49.5"
|
||||
inkscape:version="0.92.4 5da689c313, 2019-01-14"><metadata
|
||||
id="metadata937"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs935" /><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1366"
|
||||
inkscape:window-height="739"
|
||||
id="namedview933"
|
||||
showgrid="false"
|
||||
showborder="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
inkscape:zoom="0.90509668"
|
||||
inkscape:cx="43.828193"
|
||||
inkscape:cy="29.206802"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="432"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="Capa_1" />
|
||||
<g
|
||||
id="g951"><g
|
||||
id="g943"
|
||||
transform="matrix(0.09667969,0,0,0.09667969,-6.1875002,0)"
|
||||
style="fill:#000000;stroke:#000000;stroke-width:9.77332354">
|
||||
<g
|
||||
id="g941"
|
||||
style="fill:#000000;stroke:#000000;stroke-width:9.77332354">
|
||||
<path
|
||||
d="m 437.333,192 h -32 V 149.333 C 405.333,66.99 338.344,0 256,0 173.656,0 106.667,66.99 106.667,149.333 V 192 h -32 C 68.771,192 64,196.771 64,202.667 V 469.334 C 64,492.865 83.135,512 106.667,512 H 405.334 C 428.865,512 448,492.865 448,469.333 V 202.667 C 448,196.771 443.229,192 437.333,192 Z M 287.938,414.823 c 0.333,3.01 -0.635,6.031 -2.656,8.292 -2.021,2.26 -4.917,3.552 -7.948,3.552 h -42.667 c -3.031,0 -5.927,-1.292 -7.948,-3.552 -2.021,-2.26 -2.99,-5.281 -2.656,-8.292 l 6.729,-60.51 C 219.865,346.365 213.334,333.792 213.334,320 c 0,-23.531 19.135,-42.667 42.667,-42.667 23.532,0 42.667,19.135 42.667,42.667 0,13.792 -6.531,26.365 -17.458,34.313 z M 341.333,192 H 170.667 V 149.333 C 170.667,102.281 208.948,64 256,64 c 47.052,0 85.333,38.281 85.333,85.333 V 192 Z"
|
||||
id="path939"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000;stroke:#000000;stroke-width:9.77332354" />
|
||||
</g>
|
||||
</g><g
|
||||
style="fill:#ffcc00"
|
||||
transform="matrix(0.09667969,0,0,0.09667969,-6.1875002,0)"
|
||||
id="g900">
|
||||
<g
|
||||
style="fill:#ffcc00"
|
||||
id="g898">
|
||||
<path
|
||||
style="fill:#ffcc00"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path896"
|
||||
d="m 437.333,192 h -32 V 149.333 C 405.333,66.99 338.344,0 256,0 173.656,0 106.667,66.99 106.667,149.333 V 192 h -32 C 68.771,192 64,196.771 64,202.667 V 469.334 C 64,492.865 83.135,512 106.667,512 H 405.334 C 428.865,512 448,492.865 448,469.333 V 202.667 C 448,196.771 443.229,192 437.333,192 Z M 287.938,414.823 c 0.333,3.01 -0.635,6.031 -2.656,8.292 -2.021,2.26 -4.917,3.552 -7.948,3.552 h -42.667 c -3.031,0 -5.927,-1.292 -7.948,-3.552 -2.021,-2.26 -2.99,-5.281 -2.656,-8.292 l 6.729,-60.51 C 219.865,346.365 213.334,333.792 213.334,320 c 0,-23.531 19.135,-42.667 42.667,-42.667 23.532,0 42.667,19.135 42.667,42.667 0,13.792 -6.531,26.365 -17.458,34.313 z M 341.333,192 H 170.667 V 149.333 C 170.667,102.281 208.948,64 256,64 c 47.052,0 85.333,38.281 85.333,85.333 V 192 Z" />
|
||||
</g>
|
||||
</g></g>
|
||||
<g
|
||||
id="g902"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g904"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g906"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g908"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g910"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g912"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g914"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g916"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g918"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g920"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g922"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g924"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g926"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g928"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
<g
|
||||
id="g930"
|
||||
transform="translate(-237.4375,-231.25)">
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.7 KiB |
Reference in New Issue
Block a user