mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			190 lines
		
	
	
	
		
			9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			190 lines
		
	
	
	
		
			9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <interface>
 | |
|   <requires lib="gtk" version="4.0"/>
 | |
|   <requires lib="libadwaita" version="1.0"/>
 | |
|   <object class="GtkStack" id="widget">
 | |
|     <child>
 | |
|       <object class="GtkStackPage">
 | |
|         <property name="name">content</property>
 | |
|         <property name="child">
 | |
|           <object class="GtkBox">
 | |
|             <property name="orientation">vertical</property>
 | |
|             <child>
 | |
|               <object class="AdwHeaderBar">
 | |
|                 <property name="show-start-title-buttons">false</property>
 | |
|                 <property name="show-end-title-buttons">false</property>
 | |
|                 <property name="title-widget">
 | |
|                   <object class="GtkLabel">
 | |
|                     <property name="label" translatable="yes">Recording</property>
 | |
|                     <style>
 | |
|                       <class name="title"/>
 | |
|                     </style>
 | |
|                   </object>
 | |
|                 </property>
 | |
|                 <child>
 | |
|                   <object class="GtkButton" id="back_button">
 | |
|                       <property name="icon-name">go-previous-symbolic</property>
 | |
|                   </object>
 | |
|                 </child>
 | |
|                 <child type="end">
 | |
|                   <object class="GtkButton" id="save_button">
 | |
|                     <property name="sensitive">False</property>
 | |
|                     <property name="icon-name">object-select-symbolic</property>
 | |
|                     <style>
 | |
|                       <class name="suggested-action"/>
 | |
|                     </style>
 | |
|                   </object>
 | |
|                 </child>
 | |
|               </object>
 | |
|             </child>
 | |
|             <child>
 | |
|               <object class="GtkInfoBar" id="info_bar">
 | |
|                 <property name="revealed">False</property>
 | |
|               </object>
 | |
|             </child>
 | |
|             <child>
 | |
|               <object class="GtkScrolledWindow">
 | |
|                 <property name="vexpand">true</property>
 | |
|                 <child>
 | |
|                   <object class="AdwClamp">
 | |
|                     <property name="margin-start">12</property>
 | |
|                     <property name="margin-end">12</property>
 | |
|                     <property name="margin-top">18</property>
 | |
|                     <property name="margin-bottom">12</property>
 | |
|                     <child>
 | |
|                       <object class="GtkBox">
 | |
|                         <property name="margin-start">6</property>
 | |
|                         <property name="margin-end">6</property>
 | |
|                         <property name="margin-bottom">6</property>
 | |
|                         <property name="orientation">vertical</property>
 | |
|                         <child>
 | |
|                           <object class="GtkLabel">
 | |
|                             <property name="halign">start</property>
 | |
|                             <property name="margin-top">12</property>
 | |
|                             <property name="margin-bottom">6</property>
 | |
|                             <property name="label" translatable="yes">Overview</property>
 | |
|                             <attributes>
 | |
|                               <attribute name="weight" value="bold"/>
 | |
|                             </attributes>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <child>
 | |
|                           <object class="GtkFrame">
 | |
|                             <child>
 | |
|                               <object class="GtkListBox">
 | |
|                                 <property name="selection-mode">none</property>
 | |
|                                 <child>
 | |
|                                   <object class="AdwActionRow" id="work_row">
 | |
|                                     <property name="activatable">True</property>
 | |
|                                     <property name="title" translatable="yes">Select a work</property>
 | |
|                                     <property name="activatable-widget">work_button</property>
 | |
|                                     <child>
 | |
|                                       <object class="GtkButton" id="work_button">
 | |
|                                         <property name="label" translatable="yes">Select</property>
 | |
|                                         <property name="valign">center</property>
 | |
|                                       </object>
 | |
|                                     </child>
 | |
|                                   </object>
 | |
|                                 </child>
 | |
|                                 <child>
 | |
|                                   <object class="AdwActionRow">
 | |
|                                     <property name="activatable">True</property>
 | |
|                                     <property name="title" translatable="yes">Comment</property>
 | |
|                                     <property name="activatable-widget">comment_entry</property>
 | |
|                                     <child>
 | |
|                                       <object class="GtkEntry" id="comment_entry">
 | |
|                                         <property name="valign">center</property>
 | |
|                                         <property name="hexpand">True</property>
 | |
|                                       </object>
 | |
|                                     </child>
 | |
|                                   </object>
 | |
|                                 </child>
 | |
|                                 <child>
 | |
|                                   <object class="AdwActionRow">
 | |
|                                     <property name="activatable">True</property>
 | |
|                                     <property name="title" translatable="yes">Publish to the server</property>
 | |
|                                     <property name="activatable-widget">upload_switch</property>
 | |
|                                     <child>
 | |
|                                       <object class="GtkSwitch" id="upload_switch">
 | |
|                                         <property name="valign">center</property>
 | |
|                                         <property name="active">True</property>
 | |
|                                       </object>
 | |
|                                     </child>
 | |
|                                   </object>
 | |
|                                 </child>
 | |
|                               </object>
 | |
|                             </child>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <child>
 | |
|                           <object class="GtkBox">
 | |
|                             <property name="orientation">horizontal</property>
 | |
|                             <property name="margin-top">12</property>
 | |
|                             <property name="margin-bottom">6</property>
 | |
|                             <child>
 | |
|                               <object class="GtkLabel">
 | |
|                                 <property name="halign">start</property>
 | |
|                                 <property name="valign">end</property>
 | |
|                                 <property name="hexpand">True</property>
 | |
|                                 <property name="label" translatable="yes">Performers</property>
 | |
|                                 <attributes>
 | |
|                                   <attribute name="weight" value="bold"/>
 | |
|                                 </attributes>
 | |
|                               </object>
 | |
|                             </child>
 | |
|                             <child>
 | |
|                               <object class="GtkButton" id="add_performer_button">
 | |
|                                 <property name="has-frame">false</property>
 | |
|                                 <property name="icon-name">list-add-symbolic</property>
 | |
|                               </object>
 | |
|                             </child>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <child>
 | |
|                           <object class="GtkFrame" id="performance_frame"/>
 | |
|                         </child>
 | |
|                       </object>
 | |
|                     </child>
 | |
|                   </object>
 | |
|                 </child>
 | |
|               </object>
 | |
|             </child>
 | |
|           </object>
 | |
|         </property>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkStackPage">
 | |
|         <property name="name">loading</property>
 | |
|         <property name="child">
 | |
|           <object class="GtkBox">
 | |
|             <property name="orientation">vertical</property>
 | |
|             <child>
 | |
|               <object class="AdwHeaderBar">
 | |
|                 <property name="show-start-title-buttons">false</property>
 | |
|                 <property name="show-end-title-buttons">false</property>
 | |
|                 <property name="title-widget">
 | |
|                   <object class="GtkLabel">
 | |
|                     <property name="label" translatable="yes">Recording</property>
 | |
|                     <style>
 | |
|                       <class name="title"/>
 | |
|                     </style>
 | |
|                   </object>
 | |
|                 </property>
 | |
|               </object>
 | |
|             </child>
 | |
|             <child>
 | |
|               <object class="GtkSpinner">
 | |
|                 <property name="hexpand">true</property>
 | |
|                 <property name="vexpand">true</property>
 | |
|                 <property name="halign">center</property>
 | |
|                 <property name="valign">center</property>
 | |
|                 <property name="spinning">true</property>
 | |
|               </object>
 | |
|             </child>
 | |
|           </object>
 | |
|         </property>
 | |
|       </object>
 | |
|     </child>
 | |
|   </object>
 | |
| </interface>
 | 
