add settings mockup and adjust focusability of url

This commit is contained in:
Bit Borealis 2023-08-26 12:53:19 +00:00
parent ad1ab9225c
commit 32397fc8fd
4 changed files with 34 additions and 21 deletions

3
settings Normal file
View file

@ -0,0 +1,3 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 0.12.1 -->
<interface/>

6
settings.ui Normal file
View file

@ -0,0 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Created with Cambalache 0.12.1 -->
<interface>
<requires lib="libadwaita" version="1.3"/>
<object class="AdwPreferencesWindow"/>
</interface>

View file

@ -2,19 +2,12 @@
<!DOCTYPE cambalache-project SYSTEM "cambalache-project.dtd"> <!DOCTYPE cambalache-project SYSTEM "cambalache-project.dtd">
<cambalache-project version="0.12.0" target_tk="gtk-4.0"> <cambalache-project version="0.12.0" target_tk="gtk-4.0">
<ui> <ui>
(1,None,"xenon.ui","xenon.ui",None,None,None,None,None,None,None) (1,None,"xenon.ui","xenon.ui",None,None,None,None,None,None,None),
(3,None,None,"settings.ui",None,None,None,None,None,None,None)
</ui> </ui>
<object> <object>
(1,1,"AdwApplicationWindow",None,None,None,None,None,None,None), (1,1,"AdwApplicationWindow",None,None,None,None,None,None,None),
(1,4,"GtkBox",None,1,None,None,None,None,None), (1,4,"GtkBox",None,1,None,None,None,None,None),
(1,5,"AdwHeaderBar",None,4,None,None,None,None,None),
(1,7,"GtkButton",None,5,None,"start",None,None,None),
(1,8,"GtkButton",None,5,None,"start",None,None,None),
(1,9,"GtkButton",None,5,None,"start",None,None,None),
(1,10,"GtkButton",None,5,None,"start",None,None,None),
(1,11,"AdwWindowTitle",None,5,None,"title",None,None,None),
(1,12,"GtkButton",None,5,None,"start",None,None,None),
(1,13,"GtkButton",None,5,None,"end",None,None,None),
(1,14,"GtkBox",None,4,None,None,None,1,None), (1,14,"GtkBox",None,4,None,None,None,1,None),
(1,26,"GtkScrolledWindow",None,14,None,None,None,None,None), (1,26,"GtkScrolledWindow",None,14,None,None,None,None,None),
(1,27,"GtkBox",None,26,None,None,None,None,None), (1,27,"GtkBox",None,26,None,None,None,None,None),
@ -25,22 +18,21 @@
(1,32,"AdwAvatar",None,27,None,None,None,4,None), (1,32,"AdwAvatar",None,27,None,None,None,4,None),
(1,33,"AdwAvatar",None,27,None,None,None,5,None), (1,33,"AdwAvatar",None,27,None,None,None,5,None),
(1,34,"AdwAvatar",None,27,None,None,None,6,None), (1,34,"AdwAvatar",None,27,None,None,None,6,None),
(1,35,"AdwAvatar",None,27,None,None,None,7,None) (1,35,"AdwAvatar",None,27,None,None,None,7,None),
(1,36,"AdwHeaderBar",None,4,None,None,None,None,None),
(1,37,"AdwWindowTitle",None,36,None,None,None,None,None),
(1,38,"GtkButton",None,36,None,"start",None,None,None),
(1,39,"GtkButton",None,36,None,"start",None,1,None),
(1,40,"GtkButton",None,36,None,"start",None,2,None),
(1,41,"GtkButton",None,36,None,"start",None,3,None),
(1,42,"GtkButton",None,36,None,"start",None,4,None),
(1,43,"GtkButton",None,36,None,"end",None,5,None),
(3,1,"AdwPreferencesWindow",None,None,None,None,None,None,None)
</object> </object>
<object_property> <object_property>
(1,1,"AdwApplicationWindow","content",None,None,None,None,None,4,None,None,None,None), (1,1,"AdwApplicationWindow","content",None,None,None,None,None,4,None,None,None,None),
(1,1,"GtkWindow","title","xenon",None,None,None,None,None,None,None,None,None), (1,1,"GtkWindow","title","xenon",None,None,None,None,None,None,None,None,None),
(1,4,"GtkOrientable","orientation","vertical",None,None,None,None,None,None,None,None,None), (1,4,"GtkOrientable","orientation","vertical",None,None,None,None,None,None,None,None,None),
(1,5,"AdwHeaderBar","decoration-layout","icon:close",None,None,None,None,None,None,None,None,None),
(1,5,"AdwHeaderBar","title-widget",None,None,None,None,None,11,None,None,None,None),
(1,7,"GtkButton","icon-name","camera-photo-symbolic",None,None,None,None,None,None,None,None,None),
(1,8,"GtkButton","icon-name","image-x-generic-symbolic",None,None,None,None,None,None,None,None,None),
(1,9,"GtkButton","icon-name","folder-download-symbolic",None,None,None,None,None,None,None,None,None),
(1,10,"GtkButton","icon-name","media-playback-start-symbolic",None,None,None,None,None,None,None,None,None),
(1,11,"AdwWindowTitle","subtitle","https://example.com",None,None,None,None,None,None,None,None,None),
(1,11,"AdwWindowTitle","title","example",None,None,None,None,None,None,None,None,None),
(1,12,"GtkButton","icon-name","go-home-symbolic",None,None,None,None,None,None,None,None,None),
(1,13,"GtkButton","icon-name","open-menu-symbolic",None,None,None,None,None,None,None,None,None),
(1,14,"GtkWidget","halign","end",None,None,None,None,None,None,None,None,None), (1,14,"GtkWidget","halign","end",None,None,None,None,None,None,None,None,None),
(1,26,"GtkScrolledWindow","hscrollbar-policy","never",None,None,None,None,None,None,None,None,None), (1,26,"GtkScrolledWindow","hscrollbar-policy","never",None,None,None,None,None,None,None,None,None),
(1,26,"GtkScrolledWindow","propagate-natural-height","True",None,None,None,None,None,None,None,None,None), (1,26,"GtkScrolledWindow","propagate-natural-height","True",None,None,None,None,None,None,None,None,None),
@ -60,6 +52,17 @@
(1,34,"AdwAvatar","icon-name","web-browser-symbolic",None,None,None,None,None,None,None,None,None), (1,34,"AdwAvatar","icon-name","web-browser-symbolic",None,None,None,None,None,None,None,None,None),
(1,34,"AdwAvatar","size","60",None,None,None,None,None,None,None,None,None), (1,34,"AdwAvatar","size","60",None,None,None,None,None,None,None,None,None),
(1,35,"AdwAvatar","icon-name","web-browser-symbolic",None,None,None,None,None,None,None,None,None), (1,35,"AdwAvatar","icon-name","web-browser-symbolic",None,None,None,None,None,None,None,None,None),
(1,35,"AdwAvatar","size","60",None,None,None,None,None,None,None,None,None) (1,35,"AdwAvatar","size","60",None,None,None,None,None,None,None,None,None),
(1,36,"AdwHeaderBar","decoration-layout","icon:close",None,None,None,None,None,None,None,None,None),
(1,36,"AdwHeaderBar","title-widget",None,None,None,None,None,37,None,None,None,None),
(1,37,"AdwWindowTitle","subtitle","https://example.com",None,None,None,None,None,None,None,None,None),
(1,37,"AdwWindowTitle","title","example",None,None,None,None,None,None,None,None,None),
(1,37,"GtkWidget","focusable","True",None,None,None,None,None,None,None,None,None),
(1,38,"GtkButton","icon-name","camera-photo-symbolic",None,None,None,None,None,None,None,None,None),
(1,39,"GtkButton","icon-name","image-x-generic-symbolic",None,None,None,None,None,None,None,None,None),
(1,40,"GtkButton","icon-name","folder-download-symbolic",None,None,None,None,None,None,None,None,None),
(1,41,"GtkButton","icon-name","media-playback-start-symbolic",None,None,None,None,None,None,None,None,None),
(1,42,"GtkButton","icon-name","go-home-symbolic",None,None,None,None,None,None,None,None,None),
(1,43,"GtkButton","icon-name","open-menu-symbolic",None,None,None,None,None,None,None,None,None)
</object_property> </object_property>
</cambalache-project> </cambalache-project>

View file

@ -13,6 +13,7 @@
<property name="decoration-layout">icon:close</property> <property name="decoration-layout">icon:close</property>
<property name="title-widget"> <property name="title-widget">
<object class="AdwWindowTitle"> <object class="AdwWindowTitle">
<property name="focusable">True</property>
<property name="subtitle">https://example.com</property> <property name="subtitle">https://example.com</property>
<property name="title">example</property> <property name="title">example</property>
</object> </object>