Files
Keys/App/UI/AddShortcutWindow/AddShortcutWindow.xml

98 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="AdwDialog" id="add_shortcut_dialog">
<property name="content-width">400</property>
<property name="child">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="title-widget">
<object class="AdwWindowTitle">
<property name="title" translatable="yes" context="label" comments="Verb. Marks a preferences page where the user can add new password stores. Store as in storage">Add New Store</property>
</object>
</property>
<property name="show-end-title-buttons">False</property>
<child type="start">
<object class="GtkButton" id="close_button">
<property name="valign">center</property>
<property name="label" translatable="yes" context="label" comments="Verb">Cancel</property>
</object>
</child>
<child type="end">
<object class="GtkButton" id="save_button">
<style>
<class name="suggested-action" />
</style>
<property name="valign">center</property>
<property name="label" translatable="yes" context="label" comments="Verb">Save</property>
</object>
</child>
</object>
</child>
<property name="content">
<object class="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup">
<child>
<object class="AdwEntryRow">
<property name="title" translatable="yes" context="Input field placeholder" comments="Noun. Tells the user that the display name of the new password store is to be supplied here">Name</property>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title">Icon</property>
<child>
<object class="GtkButton" id="icon_picker_button">
<property name="valign">center</property>
<property name="halign">center</property>
<property name="icon-name">emoji-symbols-symbolic</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes" context="Label" comments="Noun. Marks a button that allows the user to pick a folder where the new store will be.">Location</property>
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="folder_browse_button">
<property name="valign">center</property>
<child>
<object class="AdwButtonContent">
<property name="can-shrink">True</property>
<property name="icon-name">document-open-symbolic</property>
<property name="label">Browse</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="clear_selected_folder_button">
<property name="valign">center</property>
<property name="sensitive">0</property>
<style>
<class name="flat" />
</style>
<child>
<object class="AdwButtonContent">
<property name="icon-name">user-trash-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</property>
</object>
</interface>