diff --git a/needles/kde/apps/kcalc/kcalc_about_shown.json b/needles/kde/apps/kcalc/kcalc_about_shown.json new file mode 100644 index 00000000..ef19a716 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_about_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 352, + "ypos": 225, + "width": 103, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_about_shown" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_about_shown.png b/needles/kde/apps/kcalc/kcalc_about_shown.png new file mode 100644 index 00000000..48c4a26a Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_about_shown.png differ diff --git a/needles/kde/apps/kcalc/kcalc_authors.json b/needles/kde/apps/kcalc/kcalc_authors.json new file mode 100644 index 00000000..714b77d1 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_authors.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 538, + "ypos": 280, + "width": 54, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_authors" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_authors.png b/needles/kde/apps/kcalc/kcalc_authors.png new file mode 100644 index 00000000..afed632e Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_authors.png differ diff --git a/needles/kde/apps/kcalc/kcalc_authors_shown.json b/needles/kde/apps/kcalc/kcalc_authors_shown.json new file mode 100644 index 00000000..a3a67e18 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_authors_shown.json @@ -0,0 +1,22 @@ +{ + "area": [ + { + "xpos": 400, + "ypos": 349, + "width": 92, + "height": 18, + "type": "match" + }, + { + "xpos": 467, + "ypos": 417, + "width": 63, + "height": 18, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_authors_shown" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_authors_shown.png b/needles/kde/apps/kcalc/kcalc_authors_shown.png new file mode 100644 index 00000000..5c3f77cb Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_authors_shown.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_add.json b/needles/kde/apps/kcalc/kcalc_button_add.json new file mode 100644 index 00000000..4e4af57b --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_add.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 549, + "ypos": 403, + "width": 22, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_add" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_add.png b/needles/kde/apps/kcalc/kcalc_button_add.png new file mode 100644 index 00000000..206d7a20 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_add.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_bclose.json b/needles/kde/apps/kcalc/kcalc_button_bclose.json new file mode 100644 index 00000000..ced3f51e --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_bclose.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 712, + "ypos": 491, + "width": 18, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_bclose" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_bclose.png b/needles/kde/apps/kcalc/kcalc_button_bclose.png new file mode 100644 index 00000000..ddfe026c Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_bclose.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_bopen.json b/needles/kde/apps/kcalc/kcalc_button_bopen.json new file mode 100644 index 00000000..26279429 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_bopen.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 710, + "ypos": 430, + "width": 20, + "height": 25, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_bopen" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_bopen.png b/needles/kde/apps/kcalc/kcalc_button_bopen.png new file mode 100644 index 00000000..d8097cc6 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_bopen.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_div.json b/needles/kde/apps/kcalc/kcalc_button_div.json new file mode 100644 index 00000000..d840f7cf --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_div.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 344, + "ypos": 319, + "width": 18, + "height": 18, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_div" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_div.png b/needles/kde/apps/kcalc/kcalc_button_div.png new file mode 100644 index 00000000..7eda4d89 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_div.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_divider.json b/needles/kde/apps/kcalc/kcalc_button_divider.json new file mode 100644 index 00000000..3710d69d --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_divider.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 448, + "ypos": 551, + "width": 16, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_divider" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_divider.png b/needles/kde/apps/kcalc/kcalc_button_divider.png new file mode 100644 index 00000000..e1ef6271 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_divider.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_eight.json b/needles/kde/apps/kcalc/kcalc_button_eight.json new file mode 100644 index 00000000..c3b2ca42 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_eight.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 345, + "ypos": 378, + "width": 17, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_eight" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_eight.png b/needles/kde/apps/kcalc/kcalc_button_eight.png new file mode 100644 index 00000000..d646be56 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_eight.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_equals.json b/needles/kde/apps/kcalc/kcalc_button_equals.json new file mode 100644 index 00000000..84fb0a5c --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_equals.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 551, + "ypos": 517, + "width": 19, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_equals" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_equals.png b/needles/kde/apps/kcalc/kcalc_button_equals.png new file mode 100644 index 00000000..53bba596 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_equals.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_five.json b/needles/kde/apps/kcalc/kcalc_button_five.json new file mode 100644 index 00000000..0a663f01 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_five.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 343, + "ypos": 434, + "width": 21, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_five" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_five.png b/needles/kde/apps/kcalc/kcalc_button_five.png new file mode 100644 index 00000000..e273429e Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_five.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_four.json b/needles/kde/apps/kcalc/kcalc_button_four.json new file mode 100644 index 00000000..e4e8bdb1 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_four.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 240, + "ypos": 435, + "width": 22, + "height": 17, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_four" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_four.png b/needles/kde/apps/kcalc/kcalc_button_four.png new file mode 100644 index 00000000..39ebf511 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_four.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_multi.json b/needles/kde/apps/kcalc/kcalc_button_multi.json new file mode 100644 index 00000000..a22f8ae9 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_multi.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 447, + "ypos": 320, + "width": 18, + "height": 18, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_multi" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_multi.png b/needles/kde/apps/kcalc/kcalc_button_multi.png new file mode 100644 index 00000000..9f996068 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_multi.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_nine.json b/needles/kde/apps/kcalc/kcalc_button_nine.json new file mode 100644 index 00000000..313ba482 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_nine.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 446, + "ypos": 372, + "width": 22, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_nine" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_nine.png b/needles/kde/apps/kcalc/kcalc_button_nine.png new file mode 100644 index 00000000..230e9ddd Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_nine.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_one.json b/needles/kde/apps/kcalc/kcalc_button_one.json new file mode 100644 index 00000000..a07b975d --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_one.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 238, + "ypos": 489, + "width": 22, + "height": 23, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_one" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_one.png b/needles/kde/apps/kcalc/kcalc_button_one.png new file mode 100644 index 00000000..84dfa9e3 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_one.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_percent.json b/needles/kde/apps/kcalc/kcalc_button_percent.json new file mode 100644 index 00000000..65094651 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_percent.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 237, + "ypos": 318, + "width": 24, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_percent" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_percent.png b/needles/kde/apps/kcalc/kcalc_button_percent.png new file mode 100644 index 00000000..2e403414 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_percent.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_seven.json b/needles/kde/apps/kcalc/kcalc_button_seven.json new file mode 100644 index 00000000..b26ece0d --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_seven.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 238, + "ypos": 375, + "width": 22, + "height": 22, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_seven" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_seven.png b/needles/kde/apps/kcalc/kcalc_button_seven.png new file mode 100644 index 00000000..81fedc12 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_seven.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_six.json b/needles/kde/apps/kcalc/kcalc_button_six.json new file mode 100644 index 00000000..6be2e7be --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_six.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 446, + "ypos": 434, + "width": 20, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_six" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_six.png b/needles/kde/apps/kcalc/kcalc_button_six.png new file mode 100644 index 00000000..0ecc67c1 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_six.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_sub.json b/needles/kde/apps/kcalc/kcalc_button_sub.json new file mode 100644 index 00000000..66418eaf --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_sub.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 553, + "ypos": 321, + "width": 16, + "height": 16, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_sub" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_sub.png b/needles/kde/apps/kcalc/kcalc_button_sub.png new file mode 100644 index 00000000..39ebf511 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_sub.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_three.json b/needles/kde/apps/kcalc/kcalc_button_three.json new file mode 100644 index 00000000..8aad60d1 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_three.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 443, + "ypos": 487, + "width": 26, + "height": 24, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_three" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_three.png b/needles/kde/apps/kcalc/kcalc_button_three.png new file mode 100644 index 00000000..c4ade446 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_three.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_two.json b/needles/kde/apps/kcalc/kcalc_button_two.json new file mode 100644 index 00000000..775ebd2c --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_two.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 342, + "ypos": 490, + "width": 23, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_two" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_two.png b/needles/kde/apps/kcalc/kcalc_button_two.png new file mode 100644 index 00000000..5be49364 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_two.png differ diff --git a/needles/kde/apps/kcalc/kcalc_button_zero.json b/needles/kde/apps/kcalc/kcalc_button_zero.json new file mode 100644 index 00000000..752bee32 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_button_zero.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 290, + "ypos": 547, + "width": 21, + "height": 19, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_button_zero" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_button_zero.png b/needles/kde/apps/kcalc/kcalc_button_zero.png new file mode 100644 index 00000000..5e1105f8 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_button_zero.png differ diff --git a/needles/kde/apps/kcalc/kcalc_help_shown.json b/needles/kde/apps/kcalc/kcalc_help_shown.json new file mode 100644 index 00000000..09d337d6 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_help_shown.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 419, + "ypos": 169, + "width": 125, + "height": 21, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_help_shown" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_help_shown.png b/needles/kde/apps/kcalc/kcalc_help_shown.png new file mode 100644 index 00000000..e6896278 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_help_shown.png differ diff --git a/needles/kde/apps/kcalc/kcalc_mainmenu_help.json b/needles/kde/apps/kcalc/kcalc_mainmenu_help.json new file mode 100644 index 00000000..0ec81a09 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_mainmenu_help.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 354, + "ypos": 141, + "width": 32, + "height": 18, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_mainmenu_help" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_mainmenu_help.png b/needles/kde/apps/kcalc/kcalc_mainmenu_help.png new file mode 100644 index 00000000..aeb8d6d9 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_mainmenu_help.png differ diff --git a/needles/kde/apps/kcalc/kcalc_result_3LAG3.json b/needles/kde/apps/kcalc/kcalc_result_3LAG3.json new file mode 100644 index 00000000..10b5767b --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_result_3LAG3.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 791, + "ypos": 196, + "width": 39, + "height": 32, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_result_3LAG3" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_result_3LAG3.png b/needles/kde/apps/kcalc/kcalc_result_3LAG3.png new file mode 100644 index 00000000..828362c4 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_result_3LAG3.png differ diff --git a/needles/kde/apps/kcalc/kcalc_result_Czo4s.json b/needles/kde/apps/kcalc/kcalc_result_Czo4s.json new file mode 100644 index 00000000..2edc914e --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_result_Czo4s.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 792, + "ypos": 193, + "width": 37, + "height": 38, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_result_Czo4s" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_result_Czo4s.png b/needles/kde/apps/kcalc/kcalc_result_Czo4s.png new file mode 100644 index 00000000..1a9b0469 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_result_Czo4s.png differ diff --git a/needles/kde/apps/kcalc/kcalc_result_b5y2B.json b/needles/kde/apps/kcalc/kcalc_result_b5y2B.json new file mode 100644 index 00000000..f51e7efc --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_result_b5y2B.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 768, + "ypos": 197, + "width": 60, + "height": 31, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_result_b5y2B" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_result_b5y2B.png b/needles/kde/apps/kcalc/kcalc_result_b5y2B.png new file mode 100644 index 00000000..9ff9e7e9 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_result_b5y2B.png differ diff --git a/needles/kde/apps/kcalc/kcalc_result_h7MfO.json b/needles/kde/apps/kcalc/kcalc_result_h7MfO.json new file mode 100644 index 00000000..e4e7b354 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_result_h7MfO.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 789, + "ypos": 193, + "width": 39, + "height": 36, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_result_h7MfO" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_result_h7MfO.png b/needles/kde/apps/kcalc/kcalc_result_h7MfO.png new file mode 100644 index 00000000..b003d168 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_result_h7MfO.png differ diff --git a/needles/kde/apps/kcalc/kcalc_result_tWshx.json b/needles/kde/apps/kcalc/kcalc_result_tWshx.json new file mode 100644 index 00000000..5200bb6c --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_result_tWshx.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 793, + "ypos": 194, + "width": 34, + "height": 35, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_result_tWshx" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_result_tWshx.png b/needles/kde/apps/kcalc/kcalc_result_tWshx.png new file mode 100644 index 00000000..93250137 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_result_tWshx.png differ diff --git a/needles/kde/apps/kcalc/kcalc_result_uC8Ul.json b/needles/kde/apps/kcalc/kcalc_result_uC8Ul.json new file mode 100644 index 00000000..dcd0c923 --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_result_uC8Ul.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 781, + "ypos": 198, + "width": 46, + "height": 28, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_result_uC8Ul" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_result_uC8Ul.png b/needles/kde/apps/kcalc/kcalc_result_uC8Ul.png new file mode 100644 index 00000000..1650212e Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_result_uC8Ul.png differ diff --git a/needles/kde/apps/kcalc/kcalc_submenu_about-20240322.json b/needles/kde/apps/kcalc/kcalc_submenu_about-20240322.json new file mode 100644 index 00000000..85f8b83d --- /dev/null +++ b/needles/kde/apps/kcalc/kcalc_submenu_about-20240322.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 379, + "ypos": 326, + "width": 79, + "height": 16, + "type": "match" + } + ], + "properties": [], + "tags": [ + "kcalc_submenu_about" + ] +} \ No newline at end of file diff --git a/needles/kde/apps/kcalc/kcalc_submenu_about-20240322.png b/needles/kde/apps/kcalc/kcalc_submenu_about-20240322.png new file mode 100644 index 00000000..09b24c06 Binary files /dev/null and b/needles/kde/apps/kcalc/kcalc_submenu_about-20240322.png differ diff --git a/templates.fif.json b/templates.fif.json index b2d1bf52..7d97ad6f 100644 --- a/templates.fif.json +++ b/templates.fif.json @@ -2290,7 +2290,17 @@ "WORKER_CLASS": "tap" } }, - + "kcalc": { + "profiles": { + "fedora-KDE-live-iso-x86_64-*-64bit": 42 + }, + "settings": { + "BOOTFROM": "c", + "HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2", + "POSTINSTALL_PATH": "tests/applications/kcalc", + "START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%" + } + }, "mediakit_fileconflicts": { "profiles": { "fedora-Server-dvd-iso-aarch64-*-aarch64": 10, diff --git a/tests/applications/kcalc/aaa_setup.pm b/tests/applications/kcalc/aaa_setup.pm new file mode 100644 index 00000000..b55244d2 --- /dev/null +++ b/tests/applications/kcalc/aaa_setup.pm @@ -0,0 +1,26 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script starts the KCalc application +# and saves the milestone for the consequtive +# tests. + +sub run { + my $self = shift; + # Run the application + menu_launch_type("kcalc"); + assert_screen("kcalc_runs"); + # wait for system to settle before snapshotting + sleep 10; +} + +sub test_flags { + return {fatal => 1, milestone => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/kcalc/about.pm b/tests/applications/kcalc/about.pm new file mode 100644 index 00000000..4fd13b18 --- /dev/null +++ b/tests/applications/kcalc/about.pm @@ -0,0 +1,31 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks that Gnome Calculator shows About. + +sub run { + my $self = shift; + # Let's wait until everything settles down properly + # before we start testing. + sleep 5; + # Open the menu and click on the About item. + assert_and_click("kcalc_mainmenu_help"); + wait_still_screen(2); + assert_and_click("kcalc_submenu_about"); + # Check that it is shown. + assert_screen("kcalc_about_shown"); + # Click on the Credits button and check that it shows. + assert_and_click("kcalc_authors"); + assert_screen("kcalc_authors_shown"); +} + +sub test_flags { + return {always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/kcalc/help.pm b/tests/applications/kcalc/help.pm new file mode 100644 index 00000000..8a3f83a2 --- /dev/null +++ b/tests/applications/kcalc/help.pm @@ -0,0 +1,30 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks that Gnome Calculator shows help. + +sub run { + my $self = shift; + # Wait until everything settles. + sleep 5; + # Open Help + send_key("f1"); + wait_still_screen(2); + + # Check that Help opens. + assert_screen("kcalc_help_shown"); + + # Rest of the documentation is currently + # unavailable. +} + +sub test_flags { + return {always_rollback => 1}; +} + +1; + +# vim: set sw=4 et: + diff --git a/tests/applications/kcalc/kcalc.pm b/tests/applications/kcalc/kcalc.pm new file mode 100644 index 00000000..6a9680b8 --- /dev/null +++ b/tests/applications/kcalc/kcalc.pm @@ -0,0 +1,97 @@ +use base "installedtest"; +use strict; +use testapi; +use utils; + +# This script checks that KCalc works in Basic mode. + +# This subroutine rewrites the number into a word. +sub rewrite { + my $number = shift; + my %numbers = ( + 0 => 'zero', + 1 => 'one', + 2 => 'two', + 3 => 'three', + 4 => 'four', + 5 => 'five', + 6 => 'six', + 7 => 'seven', + 8 => 'eight', + 9 => 'nine', + "." => 'divider', + "%" => 'percent', + ); + my $rewritten = $numbers{$number}; + return $rewritten; +} + +# This subroutine performs the clicking of simple operations +# in the KCalc. +sub calculate { + my ($a, $b, $operation) = @_; + # Create lists of the numbers. + my @first = split('', $a); + my @second = split('', $b); + + # For each digit of the first number, click on + # the corresponding button. + foreach (@first) { + my $word = rewrite($_); + assert_and_click("kcalc_button_$word"); + } + # Click the operation button. + assert_and_click("kcalc_button_$operation"); + # For each digit of the second number, click on + # the corresponding button. + foreach (@second) { + my $word = rewrite($_); + assert_and_click("kcalc_button_$word"); + } + # Click on the Equals button + assert_and_click("kcalc_button_equals"); + # Assert the result has appeared on the screen. + my $identifier = hashed_string("$a-$operation-$b"); + assert_screen("kcalc_result_$identifier"); + # Clear the display. + send_key("esc"); +} + +sub run { + my $self = shift; + # Wait until everything settles. + sleep 5; + # Check that two numbers can be added. + calculate("10", "23", "add"); + # Check that two numbers can be subtracted. + calculate("67", "45", "sub"); + # Check that two numbers can be multiplied. + calculate("9", "0.8", "multi"); + # Check that two numbers can be divided. + calculate("77", "7", "div"); + # Check that you can use percents + calculate("33%", "90", "multi"); + + # Check that you can use brackets + assert_and_click("kcalc_button_three"); + assert_and_click("kcalc_button_multi"); + assert_and_click("kcalc_button_bopen"); + assert_and_click("kcalc_button_two"); + assert_and_click("kcalc_button_add"); + assert_and_click("kcalc_button_three"); + assert_and_click("kcalc_button_bclose"); + assert_and_click("kcalc_button_equals"); + my $identifier = hashed_string("3*(3+2)"); + assert_screen("kcalc_result_$identifier"); + send_key("esc"); + +} + +sub test_flags { + return {fatal => 1}; +} + +1; + +# vim: set sw=4 et: +