Arts: Add edit icon and some minor change.

setup.py
Pierre-Antoine Rouby 2024-03-29 17:10:33 +01:00
parent 52ab9f4ade
commit 776164310b
16 changed files with 95 additions and 31 deletions

BIN
arts/edit.kra Normal file

Binary file not shown.

View File

@ -108,7 +108,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -123,7 +123,7 @@
<action name="action_del"> <action name="action_del">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Delete</string> <string>Delete</string>
@ -153,7 +153,7 @@
<action name="action_sort"> <action name="action_sort">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_A-Z.png</normaloff>ressources/sort_A-Z.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Sort</string> <string>Sort</string>

View File

@ -67,7 +67,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/player_play.png</normaloff>ressources/player_play.png</iconset> <normaloff>ressources/run.png</normaloff>ressources/run.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -58,7 +58,16 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk_add.png</normaloff>ressources/gtk_add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
@ -71,6 +80,15 @@
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/del.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -82,6 +100,15 @@
<iconset> <iconset>
<normaloff>ressources/edit.png</normaloff>ressources/edit.png</iconset> <normaloff>ressources/edit.png</normaloff>ressources/edit.png</iconset>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -171,7 +198,7 @@
</time> </time>
</property> </property>
<property name="currentSection"> <property name="currentSection">
<enum>QDateTimeEdit::MinuteSection</enum> <enum>QDateTimeEdit::HourSection</enum>
</property> </property>
<property name="displayFormat"> <property name="displayFormat">
<string>HH:mm:ss</string> <string>HH:mm:ss</string>
@ -223,7 +250,16 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
@ -236,6 +272,15 @@
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/del.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@ -245,7 +290,16 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_A-Z.png</normaloff>ressources/sort_A-Z.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -27,7 +27,13 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/player_play.png</normaloff>ressources/player_play.png</iconset> <normaloff>ressources/run.png</normaloff>ressources/run.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+Return</string> <string>Ctrl+Return</string>

View File

@ -80,7 +80,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -95,7 +95,7 @@
<action name="action_del"> <action name="action_del">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Delete</string> <string>Delete</string>
@ -110,7 +110,7 @@
<action name="action_sort"> <action name="action_sort">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_A-Z.png</normaloff>ressources/sort_A-Z.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Sort</string> <string>Sort</string>

View File

@ -73,7 +73,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -88,7 +88,7 @@
<action name="action_del"> <action name="action_del">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Delete</string> <string>Delete</string>
@ -103,7 +103,7 @@
<action name="action_sort"> <action name="action_sort">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_A-Z.png</normaloff>ressources/sort_A-Z.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Sort</string> <string>Sort</string>

View File

@ -68,7 +68,7 @@
<action name="action_add"> <action name="action_add">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -77,7 +77,7 @@
<action name="action_del"> <action name="action_del">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>delete</string> <string>delete</string>
@ -86,7 +86,7 @@
<action name="action_sort"> <action name="action_sort">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_1-9.png</normaloff>ressources/sort_1-9.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Sort</string> <string>Sort</string>

View File

@ -88,7 +88,7 @@
<action name="action_add"> <action name="action_add">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -100,7 +100,7 @@
<action name="action_del"> <action name="action_del">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>delete</string> <string>delete</string>
@ -112,7 +112,7 @@
<action name="action_sort"> <action name="action_sort">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_1-9.png</normaloff>ressources/sort_1-9.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>sort</string> <string>sort</string>

View File

@ -22,7 +22,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Discharge</string> <string>Discharge (m³/s)</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -22,7 +22,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>Height</string> <string>Height (m)</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -108,7 +108,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -123,7 +123,7 @@
<action name="action_del"> <action name="action_del">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Delete</string> <string>Delete</string>
@ -153,7 +153,7 @@
<action name="action_sort"> <action name="action_sort">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_A-Z.png</normaloff>ressources/sort_A-Z.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Sort</string> <string>Sort</string>

View File

@ -245,7 +245,7 @@
<action name="action_add"> <action name="action_add">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -260,6 +260,10 @@
</property> </property>
</action> </action>
<action name="action_export"> <action name="action_export">
<property name="icon">
<iconset>
<normaloff>ressources/export.png</normaloff>ressources/export.png</iconset>
</property>
<property name="text"> <property name="text">
<string>Export</string> <string>Export</string>
</property> </property>

View File

@ -42,7 +42,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/player_play.png</normaloff>ressources/player_play.png</iconset> <normaloff>ressources/run.png</normaloff>ressources/run.png</iconset>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -64,7 +64,7 @@
<action name="action_add"> <action name="action_add">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -76,7 +76,7 @@
<action name="action_del"> <action name="action_del">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Delete</string> <string>Delete</string>
@ -88,7 +88,7 @@
<action name="action_sort"> <action name="action_sort">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/gtk-sort-ascending.png</normaloff>ressources/gtk-sort-ascending.png</iconset> <normaloff>ressources/sort_A-Z.png</normaloff>ressources/sort_A-Z.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Sort</string> <string>Sort</string>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 12 KiB