From cdbee2b42913a8b8f1c04ee25e12f13e7e6a70a4 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Thu, 6 Jul 2023 17:19:15 +0300 Subject: [PATCH] IPTV dialogs redesign --- app/ui/iptv.glade | 1208 ++++++++++++++++++++++++--------------------- app/ui/iptv.py | 2 +- 2 files changed, 643 insertions(+), 567 deletions(-) diff --git a/app/ui/iptv.glade b/app/ui/iptv.glade index d2c436ec..1764632b 100644 --- a/app/ui/iptv.glade +++ b/app/ui/iptv.glade @@ -101,21 +101,22 @@ Author: Dmitriy Yefremov 5 0 1 - in + none True False 10 10 - 5 - 5 + 10 + 10 10 True False + 5 True @@ -225,6 +226,9 @@ Author: Dmitriy Yefremov + False @@ -334,7 +338,7 @@ Author: Dmitriy Yefremov False 5 0 - in + none True @@ -348,7 +352,7 @@ Author: Dmitriy Yefremov True False - 5 + 5 Reference @@ -361,7 +365,7 @@ Author: Dmitriy Yefremov True False - 5 + 5 : @@ -416,335 +420,349 @@ Author: Dmitriy Yefremov 5 5 0.019999999552965164 - in + none - - + True False - 5 - 5 - 5 - 2 - 5 - + + True - False False - stream_type_liststore - 1 - 0 - + 10 + 10 + 5 + 10 + 2 + 5 - - - 0 - + + True + False + False + stream_type_liststore + 1 + 0 + + + + + 0 + + + + + 0 + 2 + + + + + True + False + Type + + + 0 + 1 + + + + + Default + True + True + False + True + True + + + + 0 + 0 + + + + + Default + True + True + False + center + True + True + + + + 6 + 0 + + + + + True + False + Namespace + + + 6 + 1 + + + + + 120 + True + False + True + 5 + 5 + 0 + document-edit-symbolic + + + + 6 + 2 + + + + + Default + True + True + False + center + True + True + + + + 5 + 0 + + + + + True + False + NID + + + 5 + 1 + + + + + 75 + True + False + True + 5 + 5 + 0 + document-edit-symbolic + + + + 5 + 2 + + + + + Default + True + True + False + center + True + True + + + + 4 + 0 + + + + + True + False + TID + + + 4 + 1 + + + + + 75 + True + False + True + 5 + 5 + 0 + document-edit-symbolic + + + + 4 + 2 + + + + + Auto + True + True + False + center + True + True + + + + 3 + 0 + + + + + True + False + SID + + + 3 + 1 + + + + + 75 + True + False + True + 5 + 5 + 0 + document-edit-symbolic + + + + 3 + 2 + + + + + Default + True + True + False + center + True + True + + + + 1 + 0 + + + + + True + False + ID + + + 1 + 1 + + + + + 75 + True + False + True + 5 + 5 + 0 + document-edit-symbolic + + + + 1 + 2 + + + + + Default + True + True + False + center + True + True + + + + 2 + 0 + + + + + True + False + Type + + + 2 + 1 + + + + + 75 + True + False + True + 5 + 5 + 1 + document-edit-symbolic + + + + 2 + 2 + - - 0 - 2 - - - - - True - False - Type - - - 0 - 1 - - - - - Default - True - True - False - True - True - - - - 0 - 0 - - - - - Default - True - True - False - center - True - True - - - - 6 - 0 - - - - - True - False - Namespace - - - 6 - 1 - - - - - 120 - True - False - True - 5 - 5 - 0 - document-edit-symbolic - - - - 6 - 2 - - - - - Default - True - True - False - center - True - True - - - - 5 - 0 - - - - - True - False - NID - - - 5 - 1 - - - - - 75 - True - False - True - 5 - 5 - 0 - document-edit-symbolic - - - - 5 - 2 - - - - - Default - True - True - False - center - True - True - - - - 4 - 0 - - - - - True - False - TID - - - 4 - 1 - - - - - 75 - True - False - True - 5 - 5 - 0 - document-edit-symbolic - - - - 4 - 2 - - - - - Auto - True - True - False - center - True - True - - - - 3 - 0 - - - - - True - False - SID - - - 3 - 1 - - - - - 75 - True - False - True - 5 - 5 - 0 - document-edit-symbolic - - - - 3 - 2 - - - - - Default - True - True - False - center - True - True - - - - 1 - 0 - - - - - True - False - ID - - - 1 - 1 - - - - - 75 - True - False - True - 5 - 5 - 0 - document-edit-symbolic - - - - 1 - 2 - - - - - Default - True - True - False - center - True - True - - - - 2 - 0 - - - - - True - False - Type - - - 2 - 1 - - - - - 75 - True - False - True - 5 - 5 - 1 - document-edit-symbolic - - - - 2 - 2 - + True False + 2 Starting values + + + @@ -916,133 +934,124 @@ Author: Dmitriy Yefremov 5 5 vertical + 5 True False - 2 0.019999999552965164 - in + none - - + True False - 5 - 5 - 5 - 2 - 5 - + + True False - Name - 7 - 7 - - - 0 - 0 - - - - - -1 - True - True - True - document-edit-symbolic - - - 0 - 1 - - - - - True - False - Description - - - 1 - 0 - - - - - True - True - True - document-edit-symbolic - - - 1 - 1 - - - - - True - False - Type - - - 2 - 0 - - - - - True - False - stream_type_liststore - 0 - 0 - + 10 + 10 + 5 + 10 + 2 + 5 - - - 0 - + + True + False + Name + 7 + 7 + + + 0 + 0 + + + + + -1 + True + True + True + document-edit-symbolic + + + 0 + 1 + + + + + True + False + Description + + + 1 + 0 + + + + + True + True + True + document-edit-symbolic + + + 1 + 1 + + + + + True + False + Type + + + 2 + 0 + + + + + True + False + stream_type_liststore + 0 + 0 + + + + + 0 + + + + + 2 + 1 + - - 2 - 1 - - - - - True - False - Reference - - - 3 - 0 - - - - - True - True - True - False - - - 3 - 1 - + True False + 2 Service data: + + + @@ -1053,143 +1062,26 @@ Author: Dmitriy Yefremov - - + True False - True + 0.019999999552965164 + none - + True False - 2 - 0.019999999552965164 - in - - - True - False - 5 - 5 - 5 - vertical - 5 - - - True - False - 5 - - - True - True - document-edit-symbolic - Link to YouTube resource. - - - - - True - True - 0 - - - - - False - Desired video quality - yt_quality_liststore - 0 - 0 - - - - - 0 - - - - - False - True - 1 - - - - - False - True - 0 - - - - - False - 5 - - - True - False - URL prefix: - - - False - True - 0 - - - - - True - False - - - False - True - end - 1 - - - - - False - True - 1 - - - - - - - True - False - Url: - - - - - 0 - 0 - - - - - True - False - 5 - 0.019999999552965164 - in True False - 5 - 5 - 5 + 10 + 10 + 5 + 10 2 5 - True True @@ -1205,7 +1097,7 @@ Author: Dmitriy Yefremov True True - 10 + 12 5 0 document-edit-symbolic @@ -1231,7 +1123,7 @@ Author: Dmitriy Yefremov True True - 5 + 7 5 0 document-edit-symbolic @@ -1257,7 +1149,7 @@ Author: Dmitriy Yefremov True True - 5 + 7 5 0 document-edit-symbolic @@ -1283,7 +1175,7 @@ Author: Dmitriy Yefremov True True - 5 + 7 5 0 document-edit-symbolic @@ -1309,7 +1201,7 @@ Author: Dmitriy Yefremov True True - 5 + 7 4 0 document-edit-symbolic @@ -1335,7 +1227,7 @@ Author: Dmitriy Yefremov True True - 5 + 7 5 1 document-edit-symbolic @@ -1348,18 +1240,21 @@ Author: Dmitriy Yefremov - - - True - False - DVB/TS data: - - + + + + + + True + False + 2 + DVB/TS data: + + + - - 0 - 1 - @@ -1368,6 +1263,187 @@ Author: Dmitriy Yefremov 1 + + + True + False + + + True + False + 10 + 10 + 10 + 10 + vertical + 5 + + + True + False + 5 + + + True + False + Url: + + + + + + False + True + 0 + + + + + True + True + document-edit-symbolic + Link to YouTube resource. + + + + + True + True + 1 + + + + + False + Desired video quality + yt_quality_liststore + 0 + 0 + + + + + 0 + + + + + False + True + 2 + + + + + False + True + 0 + + + + + False + 5 + + + True + False + URL prefix: + + + False + True + 0 + + + + + True + False + + + False + True + end + 1 + + + + + False + True + 1 + + + + + True + False + center + 5 + 1 + + + True + False + Reference + + + False + True + 0 + + + + + True + False + : + + + False + True + 1 + + + + + True + True + 5 + False + False + 25 + False + + + False + True + 2 + + + + + False + True + 2 + + + + + + + + False + True + 2 + + + + + False @@ -1508,8 +1584,8 @@ Author: Dmitriy Yefremov Import - False False + False True Import yt_import_image diff --git a/app/ui/iptv.py b/app/ui/iptv.py index 449c5145..c8ffcaed 100644 --- a/app/ui/iptv.py +++ b/app/ui/iptv.py @@ -134,7 +134,7 @@ class IptvDialog: builder.get_object("iptv_dialog_ts_data_frame").set_visible(False) builder.get_object("iptv_type_label").set_visible(False) builder.get_object("reference_entry").set_visible(False) - builder.get_object("iptv_reference_label").set_visible(False) + builder.get_object("iptv_ref_box").set_visible(False) self._stream_type_combobox.set_visible(False) else: self._description_entry.set_visible(False)