add icons for list modifications
This commit is contained in:
10
icons/myicons/go-down.svg
Normal file
10
icons/myicons/go-down.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 16 16">
|
||||
<path style="stroke-width: 3; stroke:#cc673c;fill:none;stroke-linecap:round;stroke-linejoin:round;"
|
||||
d="M2,6 L8,11 L14,6"
|
||||
transform="translate(0.5,0.5)"
|
||||
/>
|
||||
<path style="stroke-width: 1; stroke:#e8ac7d;fill:none;stroke-linecap:round;stroke-linejoin:round;"
|
||||
d="M2,6 L8,11 L14,6"
|
||||
transform="translate(0.5,0.5)"
|
||||
/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 459 B |
10
icons/myicons/go-up.svg
Normal file
10
icons/myicons/go-up.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 16 16">
|
||||
<path style="stroke-width: 3; stroke:#cc673c;fill:none;stroke-linecap:round;stroke-linejoin:round;"
|
||||
d="M2,10 L8,5 L14,10"
|
||||
transform="translate(0.5,0.5)"
|
||||
/>
|
||||
<path style="stroke-width: 1; stroke:#e8ac7d;fill:none;stroke-linecap:round;stroke-linejoin:round;"
|
||||
d="M2,10 L8,5 L14,10"
|
||||
transform="translate(0.5,0.5)"
|
||||
/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 461 B |
7
icons/myicons/list-add.svg
Normal file
7
icons/myicons/list-add.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
|
||||
<circle cx="256" cy="256" r="250" style="fill:green;stroke:none;"/>
|
||||
<line x1="120" y1="256" x2="392" y2="256"
|
||||
style="fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:40px"/>
|
||||
<line x1="256" y1="120" x2="256" y2="392"
|
||||
style="fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:40px"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 465 B |
6
icons/myicons/list-remove.svg
Normal file
6
icons/myicons/list-remove.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
|
||||
<circle cx="256" cy="256" r="250" style="fill:#bc1938;stroke:none;"/>
|
||||
<line x1="120" y1="256" x2="392" y2="256"
|
||||
style="fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:40px"/>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 319 B |
@@ -26,19 +26,19 @@ class NewHighlightingDialog(QDialog):
|
||||
self.layout = QGridLayout(self)
|
||||
|
||||
row = 0
|
||||
btn_new = QPushButton(Icon.fromTheme("list-add"), _("New"))
|
||||
btn_new = QPushButton(Icon("icons/myicons/list-add.svg"), _("New"))
|
||||
btn_new.setSizePolicy(QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed))
|
||||
btn_new.pressed.connect(self._new_highlighter)
|
||||
|
||||
self.btn_delete = QPushButton(Icon.fromTheme("list-remove"), _("Remove"))
|
||||
self.btn_delete = QPushButton(Icon("icons/myicons/list-remove.svg"), _("Remove"))
|
||||
self.btn_delete.setSizePolicy(QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed))
|
||||
self.btn_delete.pressed.connect(self._delete_selected_items)
|
||||
|
||||
self.btn_move_up = QPushButton(Icon.fromTheme("go-up"), _("Up"))
|
||||
self.btn_move_up = QPushButton(Icon("icons/myicons/go-up.svg"), _("Up"))
|
||||
self.btn_move_up.setSizePolicy(QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed))
|
||||
self.btn_move_up.pressed.connect(self._move_up)
|
||||
|
||||
self.btn_move_down = QPushButton(Icon.fromTheme("go-down"), _("Down"))
|
||||
self.btn_move_down = QPushButton(Icon("icons/myicons/go-down.svg"), _("Down"))
|
||||
self.btn_move_down.setSizePolicy(QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed))
|
||||
self.btn_move_down.pressed.connect(self._move_down)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user