mirror of
				https://github.com/johrpan/musicus.git
				synced 2025-10-26 19:57:25 +01:00 
			
		
		
		
	Add UI resources for new dialogs
This commit is contained in:
		
							parent
							
								
									434a5bbfce
								
							
						
					
					
						commit
						c7928003e4
					
				
					 7 changed files with 310 additions and 414 deletions
				
			
		|  | @ -4,11 +4,9 @@ | ||||||
|         <file preprocess="xml-stripblanks">ui/ensemble_editor.ui</file> |         <file preprocess="xml-stripblanks">ui/ensemble_editor.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/ensemble_screen.ui</file> |         <file preprocess="xml-stripblanks">ui/ensemble_screen.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/ensemble_selector.ui</file> |         <file preprocess="xml-stripblanks">ui/ensemble_selector.ui</file> | ||||||
|  |         <file preprocess="xml-stripblanks">ui/import_dialog.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/import_disc_dialog.ui</file> |         <file preprocess="xml-stripblanks">ui/import_disc_dialog.ui</file> | ||||||
| <<<<<<< HEAD |  | ||||||
|         <file preprocess="xml-stripblanks">ui/import_folder_dialog.ui</file> |         <file preprocess="xml-stripblanks">ui/import_folder_dialog.ui</file> | ||||||
| ======= |  | ||||||
| >>>>>>> wip/cd-ripping-old |  | ||||||
|         <file preprocess="xml-stripblanks">ui/instrument_editor.ui</file> |         <file preprocess="xml-stripblanks">ui/instrument_editor.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/instrument_selector.ui</file> |         <file preprocess="xml-stripblanks">ui/instrument_selector.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/login_dialog.ui</file> |         <file preprocess="xml-stripblanks">ui/login_dialog.ui</file> | ||||||
|  | @ -27,8 +25,9 @@ | ||||||
|         <file preprocess="xml-stripblanks">ui/recording_selector_screen.ui</file> |         <file preprocess="xml-stripblanks">ui/recording_selector_screen.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/selector.ui</file> |         <file preprocess="xml-stripblanks">ui/selector.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/server_dialog.ui</file> |         <file preprocess="xml-stripblanks">ui/server_dialog.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/tracks_editor.ui</file> |  | ||||||
|         <file preprocess="xml-stripblanks">ui/track_editor.ui</file> |         <file preprocess="xml-stripblanks">ui/track_editor.ui</file> | ||||||
|  |         <file preprocess="xml-stripblanks">ui/track_selector.ui</file> | ||||||
|  |         <file preprocess="xml-stripblanks">ui/track_set_editor.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/window.ui</file> |         <file preprocess="xml-stripblanks">ui/window.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/work_editor.ui</file> |         <file preprocess="xml-stripblanks">ui/work_editor.ui</file> | ||||||
|         <file preprocess="xml-stripblanks">ui/work_part_editor.ui</file> |         <file preprocess="xml-stripblanks">ui/work_part_editor.ui</file> | ||||||
|  |  | ||||||
							
								
								
									
										65
									
								
								musicus/res/ui/import_dialog.ui
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								musicus/res/ui/import_dialog.ui
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,65 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <interface> | ||||||
|  |   <requires lib="gtk+" version="3.24"/> | ||||||
|  |   <requires lib="libhandy" version="1.0"/> | ||||||
|  |   <object class="GtkBox" id="widget"> | ||||||
|  |     <property name="visible">True</property> | ||||||
|  |     <property name="orientation">vertical</property> | ||||||
|  |     <child> | ||||||
|  |       <object class="HdyHeaderBar"> | ||||||
|  |         <property name="visible">True</property> | ||||||
|  |         <property name="title" translatable="yes">Import music</property> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkButton" id="back_button"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="can-focus">True</property> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkImage"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="icon-name">go-previous-symbolic</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |         </child> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkButton" id="add_button"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="can-focus">True</property> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkImage"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="icon-name">list-add-symbolic</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |           <packing> | ||||||
|  |             <property name="pack-type">end</property> | ||||||
|  |           </packing> | ||||||
|  |         </child> | ||||||
|  |       </object> | ||||||
|  |     </child> | ||||||
|  |     <child> | ||||||
|  |       <object class="GtkScrolledWindow"> | ||||||
|  |         <property name="visible">True</property> | ||||||
|  |         <property name="can-focus">True</property> | ||||||
|  |         <property name="vexpand">True</property> | ||||||
|  |         <child> | ||||||
|  |           <object class="HdyClamp"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkFrame" id="frame"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="valign">start</property> | ||||||
|  |                 <property name="shadow-type">in</property> | ||||||
|  |                 <property name="margin-top">12</property> | ||||||
|  |                 <property name="margin-bottom">6</property> | ||||||
|  |                 <property name="margin-start">6</property> | ||||||
|  |                 <property name="margin-end">6</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |         </child> | ||||||
|  |       </object> | ||||||
|  |     </child> | ||||||
|  |   </object> | ||||||
|  | </interface> | ||||||
|  | @ -1,42 +1,31 @@ | ||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!-- Generated with glade 3.38.2 --> |  | ||||||
| <interface> | <interface> | ||||||
|   <requires lib="gtk+" version="3.24"/> |   <requires lib="gtk+" version="3.24"/> | ||||||
|   <requires lib="libhandy" version="1.0"/> |   <requires lib="libhandy" version="1.0"/> | ||||||
|   <object class="GtkBox" id="widget"> |   <object class="GtkBox" id="widget"> | ||||||
|     <property name="visible">True</property> |     <property name="visible">True</property> | ||||||
|     <property name="can-focus">False</property> |  | ||||||
|     <property name="orientation">vertical</property> |     <property name="orientation">vertical</property> | ||||||
|     <child> |     <child> | ||||||
|       <object class="HdyHeaderBar"> |       <object class="HdyHeaderBar"> | ||||||
|         <property name="visible">True</property> |         <property name="visible">True</property> | ||||||
|         <property name="can-focus">False</property> |  | ||||||
|         <property name="title" translatable="yes">Import folder</property> |         <property name="title" translatable="yes">Import folder</property> | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkButton" id="back_button"> |           <object class="GtkButton" id="back_button"> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">True</property> |             <property name="can-focus">True</property> | ||||||
|             <property name="receives-default">True</property> |  | ||||||
|             <child> |             <child> | ||||||
|               <object class="GtkImage"> |               <object class="GtkImage"> | ||||||
|                 <property name="visible">True</property> |                 <property name="visible">True</property> | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="icon-name">go-previous-symbolic</property> |                 <property name="icon-name">go-previous-symbolic</property> | ||||||
|               </object> |               </object> | ||||||
|             </child> |             </child> | ||||||
|           </object> |           </object> | ||||||
|         </child> |         </child> | ||||||
|       </object> |       </object> | ||||||
|       <packing> |  | ||||||
|         <property name="expand">False</property> |  | ||||||
|         <property name="fill">True</property> |  | ||||||
|         <property name="position">0</property> |  | ||||||
|       </packing> |  | ||||||
|     </child> |     </child> | ||||||
|     <child> |     <child> | ||||||
|       <object class="GtkBox"> |       <object class="GtkBox"> | ||||||
|         <property name="visible">True</property> |         <property name="visible">True</property> | ||||||
|         <property name="can-focus">False</property> |  | ||||||
|         <property name="halign">center</property> |         <property name="halign">center</property> | ||||||
|         <property name="valign">center</property> |         <property name="valign">center</property> | ||||||
|         <property name="vexpand">True</property> |         <property name="vexpand">True</property> | ||||||
|  | @ -46,72 +35,43 @@ | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkImage"> |           <object class="GtkImage"> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">False</property> |             <property name="opacity">0.5</property> | ||||||
|             <property name="opacity">0.50196078431372548</property> |  | ||||||
|             <property name="pixel-size">80</property> |             <property name="pixel-size">80</property> | ||||||
|             <property name="icon-name">folder-symbolic</property> |             <property name="icon-name">folder-symbolic</property> | ||||||
|           </object> |           </object> | ||||||
|           <packing> |  | ||||||
|             <property name="expand">False</property> |  | ||||||
|             <property name="fill">True</property> |  | ||||||
|             <property name="position">0</property> |  | ||||||
|           </packing> |  | ||||||
|         </child> |         </child> | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkLabel"> |           <object class="GtkLabel"> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">False</property> |             <property name="opacity">0.5</property> | ||||||
|             <property name="opacity">0.50196078431372548</property> |  | ||||||
|             <property name="label" translatable="yes">Import from a folder</property> |             <property name="label" translatable="yes">Import from a folder</property> | ||||||
|             <attributes> |             <attributes> | ||||||
|               <attribute name="size" value="16384"/> |               <attribute name="size" value="16384"/> | ||||||
|             </attributes> |             </attributes> | ||||||
|           </object> |           </object> | ||||||
|           <packing> |  | ||||||
|             <property name="expand">False</property> |  | ||||||
|             <property name="fill">True</property> |  | ||||||
|             <property name="position">1</property> |  | ||||||
|           </packing> |  | ||||||
|         </child> |         </child> | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkLabel"> |           <object class="GtkLabel"> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">False</property> |             <property name="opacity">0.5</property> | ||||||
|             <property name="opacity">0.50196078431372548</property> |  | ||||||
|             <property name="label" translatable="yes">Select a folder containing audio files with the button below. After adding the metdata in the next step, the folder will be copied to your music library.</property> |             <property name="label" translatable="yes">Select a folder containing audio files with the button below. After adding the metdata in the next step, the folder will be copied to your music library.</property> | ||||||
|             <property name="justify">center</property> |             <property name="justify">center</property> | ||||||
|             <property name="wrap">True</property> |             <property name="wrap">True</property> | ||||||
|             <property name="max-width-chars">40</property> |             <property name="max-width-chars">40</property> | ||||||
|           </object> |           </object> | ||||||
|           <packing> |  | ||||||
|             <property name="expand">False</property> |  | ||||||
|             <property name="fill">True</property> |  | ||||||
|             <property name="position">2</property> |  | ||||||
|           </packing> |  | ||||||
|         </child> |         </child> | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkButton" id="import_button"> |           <object class="GtkButton" id="import_button"> | ||||||
|             <property name="label" translatable="yes">Select</property> |             <property name="label" translatable="yes">Select</property> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">True</property> |             <property name="can-focus">True</property> | ||||||
|             <property name="receives-default">True</property> |  | ||||||
|             <property name="halign">center</property> |             <property name="halign">center</property> | ||||||
|             <style> |             <style> | ||||||
|               <class name="suggested-action"/> |               <class name="suggested-action"/> | ||||||
|             </style> |             </style> | ||||||
|           </object> |           </object> | ||||||
|           <packing> |  | ||||||
|             <property name="expand">False</property> |  | ||||||
|             <property name="fill">True</property> |  | ||||||
|             <property name="position">3</property> |  | ||||||
|           </packing> |  | ||||||
|         </child> |         </child> | ||||||
|       </object> |       </object> | ||||||
|       <packing> |  | ||||||
|         <property name="expand">False</property> |  | ||||||
|         <property name="fill">True</property> |  | ||||||
|         <property name="position">1</property> |  | ||||||
|       </packing> |  | ||||||
|     </child> |     </child> | ||||||
|   </object> |   </object> | ||||||
| </interface> | </interface> | ||||||
|  | @ -1,107 +1,67 @@ | ||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!-- Generated with glade 3.38.1 --> |  | ||||||
| <interface> | <interface> | ||||||
|   <requires lib="gtk+" version="3.24"/> |   <requires lib="gtk+" version="3.24"/> | ||||||
|   <requires lib="libhandy" version="0.0"/> |   <requires lib="libhandy" version="1.0"/> | ||||||
|   <object class="GtkBox" id="widget"> |   <object class="GtkBox" id="widget"> | ||||||
|     <property name="visible">True</property> |     <property name="visible">True</property> | ||||||
|     <property name="can-focus">False</property> |  | ||||||
|     <property name="orientation">vertical</property> |     <property name="orientation">vertical</property> | ||||||
|     <child> |     <child> | ||||||
|       <object class="HdyHeaderBar"> |       <object class="HdyHeaderBar"> | ||||||
|         <property name="visible">True</property> |         <property name="visible">True</property> | ||||||
|         <property name="can-focus">False</property> |  | ||||||
|         <property name="title" translatable="yes">Track</property> |         <property name="title" translatable="yes">Track</property> | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkButton" id="back_button"> |           <object class="GtkButton" id="back_button"> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">True</property> |             <property name="can-focus">True</property> | ||||||
|             <property name="receives-default">True</property> |  | ||||||
|             <child> |             <child> | ||||||
|               <object class="GtkImage"> |               <object class="GtkImage"> | ||||||
|                 <property name="visible">True</property> |                 <property name="visible">True</property> | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="icon-name">go-previous-symbolic</property> |                 <property name="icon-name">go-previous-symbolic</property> | ||||||
|               </object> |               </object> | ||||||
|             </child> |             </child> | ||||||
|           </object> |           </object> | ||||||
|         </child> |         </child> | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkButton" id="save_button"> |           <object class="GtkButton" id="select_button"> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">True</property> |             <property name="can-focus">True</property> | ||||||
|             <property name="receives-default">True</property> |  | ||||||
|             <child> |  | ||||||
|               <object class="GtkImage"> |  | ||||||
|                 <property name="visible">True</property> |  | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="icon-name">object-select-symbolic</property> |  | ||||||
|               </object> |  | ||||||
|             </child> |  | ||||||
|             <style> |             <style> | ||||||
|               <class name="suggested-action"/> |               <class name="suggested-action"/> | ||||||
|             </style> |             </style> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkImage"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="icon-name">object-select-symbolic</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|           </object> |           </object> | ||||||
|           <packing> |           <packing> | ||||||
|             <property name="pack-type">end</property> |             <property name="pack-type">end</property> | ||||||
|             <property name="position">1</property> |  | ||||||
|           </packing> |           </packing> | ||||||
|         </child> |         </child> | ||||||
|       </object> |       </object> | ||||||
|       <packing> |  | ||||||
|         <property name="expand">False</property> |  | ||||||
|         <property name="fill">True</property> |  | ||||||
|         <property name="position">0</property> |  | ||||||
|       </packing> |  | ||||||
|     </child> |     </child> | ||||||
|     <child> |     <child> | ||||||
|       <object class="GtkScrolledWindow"> |       <object class="GtkScrolledWindow"> | ||||||
|         <property name="visible">True</property> |         <property name="visible">True</property> | ||||||
|         <property name="can-focus">True</property> |         <property name="can-focus">True</property> | ||||||
|  |         <property name="vexpand">True</property> | ||||||
|         <child> |         <child> | ||||||
|           <object class="GtkViewport"> |           <object class="GtkViewport"> | ||||||
|             <property name="visible">True</property> |             <property name="visible">True</property> | ||||||
|             <property name="can-focus">False</property> |  | ||||||
|             <property name="shadow-type">none</property> |             <property name="shadow-type">none</property> | ||||||
|             <child> |             <child> | ||||||
|               <object class="HdyClamp"> |               <object class="HdyClamp"> | ||||||
|                 <property name="visible">True</property> |                 <property name="visible">True</property> | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="maximum-size">500</property> |  | ||||||
|                 <property name="tightening-threshold">300</property> |  | ||||||
|                 <child> |                 <child> | ||||||
|                   <object class="GtkFrame"> |                   <object class="GtkFrame" id="parts_frame"> | ||||||
|                     <property name="visible">True</property> |                     <property name="visible">True</property> | ||||||
|                     <property name="can-focus">False</property> |  | ||||||
|                     <property name="valign">start</property> |                     <property name="valign">start</property> | ||||||
|  |                     <property name="margin-top">12</property> | ||||||
|                     <property name="margin-start">6</property> |                     <property name="margin-start">6</property> | ||||||
|                     <property name="margin-end">6</property> |                     <property name="margin-end">6</property> | ||||||
|                     <property name="margin-top">12</property> |  | ||||||
|                     <property name="margin-bottom">6</property> |                     <property name="margin-bottom">6</property> | ||||||
|                     <property name="label-xalign">0</property> |  | ||||||
|                     <property name="shadow-type">in</property> |                     <property name="shadow-type">in</property> | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkListBox" id="list"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">False</property> |  | ||||||
|                         <property name="selection-mode">none</property> |  | ||||||
|                         <child type="placeholder"> |  | ||||||
|                           <object class="GtkLabel"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="margin-start">6</property> |  | ||||||
|                             <property name="margin-end">6</property> |  | ||||||
|                             <property name="margin-top">6</property> |  | ||||||
|                             <property name="margin-bottom">6</property> |  | ||||||
|                             <property name="label" translatable="yes">Select a recording of a work with multiple parts.</property> |  | ||||||
|                             <property name="ellipsize">end</property> |  | ||||||
|                           </object> |  | ||||||
|                         </child> |  | ||||||
|                       </object> |  | ||||||
|                     </child> |  | ||||||
|                     <child type="label_item"> |  | ||||||
|                       <placeholder/> |  | ||||||
|                     </child> |  | ||||||
|                   </object> |                   </object> | ||||||
|                 </child> |                 </child> | ||||||
|               </object> |               </object> | ||||||
|  | @ -109,11 +69,6 @@ | ||||||
|           </object> |           </object> | ||||||
|         </child> |         </child> | ||||||
|       </object> |       </object> | ||||||
|       <packing> |  | ||||||
|         <property name="expand">True</property> |  | ||||||
|         <property name="fill">True</property> |  | ||||||
|         <property name="position">1</property> |  | ||||||
|       </packing> |  | ||||||
|     </child> |     </child> | ||||||
|   </object> |   </object> | ||||||
| </interface> | </interface> | ||||||
|  |  | ||||||
							
								
								
									
										75
									
								
								musicus/res/ui/track_selector.ui
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								musicus/res/ui/track_selector.ui
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,75 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <interface> | ||||||
|  |   <requires lib="gtk+" version="3.24"/> | ||||||
|  |   <requires lib="libhandy" version="1.0"/> | ||||||
|  |   <object class="GtkBox" id="widget"> | ||||||
|  |     <property name="visible">True</property> | ||||||
|  |     <property name="orientation">vertical</property> | ||||||
|  |     <child> | ||||||
|  |       <object class="HdyHeaderBar"> | ||||||
|  |         <property name="visible">True</property> | ||||||
|  |         <property name="title" translatable="yes">Select tracks</property> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkButton" id="back_button"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="can-focus">True</property> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkImage"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="icon-name">go-previous-symbolic</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |         </child> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkButton" id="select_button"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="can-focus">True</property> | ||||||
|  |             <property name="sensitive">False</property> | ||||||
|  |             <style> | ||||||
|  |               <class name="suggested-action"/> | ||||||
|  |             </style> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkImage"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="icon-name">object-select-symbolic</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |           <packing> | ||||||
|  |             <property name="pack-type">end</property> | ||||||
|  |           </packing> | ||||||
|  |         </child> | ||||||
|  |       </object> | ||||||
|  |     </child> | ||||||
|  |     <child> | ||||||
|  |       <object class="GtkScrolledWindow"> | ||||||
|  |         <property name="visible">True</property> | ||||||
|  |         <property name="can-focus">True</property> | ||||||
|  |         <property name="vexpand">True</property> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkViewport"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="shadow-type">none</property> | ||||||
|  |             <child> | ||||||
|  |               <object class="HdyClamp"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <child> | ||||||
|  |                   <object class="GtkFrame" id="tracks_frame"> | ||||||
|  |                     <property name="visible">True</property> | ||||||
|  |                     <property name="valign">start</property> | ||||||
|  |                     <property name="margin-top">12</property> | ||||||
|  |                     <property name="margin-start">6</property> | ||||||
|  |                     <property name="margin-end">6</property> | ||||||
|  |                     <property name="margin-bottom">6</property> | ||||||
|  |                     <property name="shadow-type">in</property> | ||||||
|  |                   </object> | ||||||
|  |                 </child> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |         </child> | ||||||
|  |       </object> | ||||||
|  |     </child> | ||||||
|  |   </object> | ||||||
|  | </interface> | ||||||
							
								
								
									
										153
									
								
								musicus/res/ui/track_set_editor.ui
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										153
									
								
								musicus/res/ui/track_set_editor.ui
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,153 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <interface> | ||||||
|  |   <requires lib="gtk+" version="3.24"/> | ||||||
|  |   <requires lib="libhandy" version="1.0"/> | ||||||
|  |   <object class="GtkBox" id="widget"> | ||||||
|  |     <property name="visible">True</property> | ||||||
|  |     <property name="orientation">vertical</property> | ||||||
|  |     <child> | ||||||
|  |       <object class="HdyHeaderBar"> | ||||||
|  |         <property name="visible">True</property> | ||||||
|  |         <property name="title" translatable="yes">Tracks</property> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkButton" id="back_button"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="can-focus">True</property> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkImage"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="icon-name">go-previous-symbolic</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |         </child> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkButton" id="save_button"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="can-focus">True</property> | ||||||
|  |             <property name="sensitive">False</property> | ||||||
|  |             <style> | ||||||
|  |               <class name="suggested-action"/> | ||||||
|  |             </style> | ||||||
|  |             <child> | ||||||
|  |               <object class="GtkImage"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <property name="icon-name">object-select-symbolic</property> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |           <packing> | ||||||
|  |             <property name="pack-type">end</property> | ||||||
|  |           </packing> | ||||||
|  |         </child> | ||||||
|  |       </object> | ||||||
|  |     </child> | ||||||
|  |     <child> | ||||||
|  |       <object class="GtkScrolledWindow"> | ||||||
|  |         <property name="visible">True</property> | ||||||
|  |         <property name="can-focus">True</property> | ||||||
|  |         <property name="vexpand">True</property> | ||||||
|  |         <child> | ||||||
|  |           <object class="GtkViewport"> | ||||||
|  |             <property name="visible">True</property> | ||||||
|  |             <property name="shadow-type">none</property> | ||||||
|  |             <child> | ||||||
|  |               <object class="HdyClamp"> | ||||||
|  |                 <property name="visible">True</property> | ||||||
|  |                 <child> | ||||||
|  |                   <object class="GtkBox"> | ||||||
|  |                     <property name="visible">True</property> | ||||||
|  |                     <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="visible">True</property> | ||||||
|  |                         <property name="halign">start</property> | ||||||
|  |                         <property name="margin-top">12</property> | ||||||
|  |                         <property name="margin-bottom">6</property> | ||||||
|  |                         <property name="label" translatable="yes">Recording</property> | ||||||
|  |                         <attributes> | ||||||
|  |                           <attribute name="weight" value="bold"/> | ||||||
|  |                         </attributes> | ||||||
|  |                       </object> | ||||||
|  |                     </child> | ||||||
|  |                     <child> | ||||||
|  |                       <object class="GtkFrame"> | ||||||
|  |                         <property name="visible">True</property> | ||||||
|  |                         <property name="shadow-type">in</property> | ||||||
|  |                         <child> | ||||||
|  |                           <object class="GtkListBox"> | ||||||
|  |                             <property name="visible">True</property> | ||||||
|  |                             <property name="selection-mode">none</property> | ||||||
|  |                             <child> | ||||||
|  |                               <object class="HdyActionRow" id="recording_row"> | ||||||
|  |                                 <property name="visible">True</property> | ||||||
|  |                                 <property name="can-focus">True</property> | ||||||
|  |                                 <property name="activatable">True</property> | ||||||
|  |                                 <property name="title" translatable="yes">Select a recording</property> | ||||||
|  |                                 <property name="activatable-widget">select_recording_button</property> | ||||||
|  |                                 <child> | ||||||
|  |                                   <object class="GtkButton" id="select_recording_button"> | ||||||
|  |                                     <property name="label" translatable="yes">Select</property> | ||||||
|  |                                     <property name="visible">True</property> | ||||||
|  |                                     <property name="can-focus">True</property> | ||||||
|  |                                     <property name="valign">center</property> | ||||||
|  |                                   </object> | ||||||
|  |                                 </child> | ||||||
|  |                               </object> | ||||||
|  |                             </child> | ||||||
|  |                           </object> | ||||||
|  |                         </child> | ||||||
|  |                       </object> | ||||||
|  |                     </child> | ||||||
|  |                     <child> | ||||||
|  |                       <object class="GtkBox"> | ||||||
|  |                         <property name="visible">True</property> | ||||||
|  |                         <property name="orientation">horizontal</property> | ||||||
|  |                         <property name="margin-top">12</property> | ||||||
|  |                         <property name="margin-bottom">6</property> | ||||||
|  |                         <child> | ||||||
|  |                           <object class="GtkLabel"> | ||||||
|  |                             <property name="visible">True</property> | ||||||
|  |                             <property name="halign">start</property> | ||||||
|  |                             <property name="valign">end</property> | ||||||
|  |                             <property name="hexpand">True</property> | ||||||
|  |                             <property name="label" translatable="yes">Tracks</property> | ||||||
|  |                             <attributes> | ||||||
|  |                               <attribute name="weight" value="bold"/> | ||||||
|  |                             </attributes> | ||||||
|  |                           </object> | ||||||
|  |                         </child> | ||||||
|  |                         <child> | ||||||
|  |                           <object class="GtkButton" id="edit_tracks_button"> | ||||||
|  |                             <property name="visible">True</property> | ||||||
|  |                             <property name="can-focus">True</property> | ||||||
|  |                             <property name="relief">none</property> | ||||||
|  |                             <child> | ||||||
|  |                               <object class="GtkImage"> | ||||||
|  |                                 <property name="visible">True</property> | ||||||
|  |                                 <property name="icon-name">document-edit-symbolic</property> | ||||||
|  |                               </object> | ||||||
|  |                             </child> | ||||||
|  |                           </object> | ||||||
|  |                         </child> | ||||||
|  |                       </object> | ||||||
|  |                     </child> | ||||||
|  |                     <child> | ||||||
|  |                       <object class="GtkFrame" id="tracks_frame"> | ||||||
|  |                         <property name="visible">True</property> | ||||||
|  |                         <property name="shadow-type">in</property> | ||||||
|  |                       </object> | ||||||
|  |                     </child> | ||||||
|  |                   </object> | ||||||
|  |                 </child> | ||||||
|  |               </object> | ||||||
|  |             </child> | ||||||
|  |           </object> | ||||||
|  |         </child> | ||||||
|  |       </object> | ||||||
|  |     </child> | ||||||
|  |   </object> | ||||||
|  | </interface> | ||||||
|  | @ -1,311 +0,0 @@ | ||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!-- Generated with glade 3.38.1 --> |  | ||||||
| <interface> |  | ||||||
|   <requires lib="gtk+" version="3.24"/> |  | ||||||
|   <requires lib="libhandy" version="0.0"/> |  | ||||||
|   <object class="GtkBox" id="widget"> |  | ||||||
|     <property name="visible">True</property> |  | ||||||
|     <property name="can-focus">False</property> |  | ||||||
|     <property name="orientation">vertical</property> |  | ||||||
|     <child> |  | ||||||
|       <object class="HdyHeaderBar"> |  | ||||||
|         <property name="visible">True</property> |  | ||||||
|         <property name="can-focus">False</property> |  | ||||||
|         <property name="title" translatable="yes">Tracks</property> |  | ||||||
|         <child> |  | ||||||
|           <object class="GtkButton" id="save_button"> |  | ||||||
|             <property name="visible">True</property> |  | ||||||
|             <property name="sensitive">False</property> |  | ||||||
|             <property name="can-focus">True</property> |  | ||||||
|             <property name="receives-default">True</property> |  | ||||||
|             <child> |  | ||||||
|               <object class="GtkImage"> |  | ||||||
|                 <property name="visible">True</property> |  | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="icon-name">object-select-symbolic</property> |  | ||||||
|               </object> |  | ||||||
|             </child> |  | ||||||
|             <style> |  | ||||||
|               <class name="suggested-action"/> |  | ||||||
|             </style> |  | ||||||
|           </object> |  | ||||||
|           <packing> |  | ||||||
|             <property name="pack-type">end</property> |  | ||||||
|           </packing> |  | ||||||
|         </child> |  | ||||||
|         <child> |  | ||||||
|           <object class="GtkButton" id="back_button"> |  | ||||||
|             <property name="visible">True</property> |  | ||||||
|             <property name="can-focus">True</property> |  | ||||||
|             <property name="receives-default">True</property> |  | ||||||
|             <child> |  | ||||||
|               <object class="GtkImage"> |  | ||||||
|                 <property name="visible">True</property> |  | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="icon-name">go-previous-symbolic</property> |  | ||||||
|               </object> |  | ||||||
|             </child> |  | ||||||
|           </object> |  | ||||||
|           <packing> |  | ||||||
|             <property name="position">1</property> |  | ||||||
|           </packing> |  | ||||||
|         </child> |  | ||||||
|       </object> |  | ||||||
|       <packing> |  | ||||||
|         <property name="expand">False</property> |  | ||||||
|         <property name="fill">True</property> |  | ||||||
|         <property name="position">0</property> |  | ||||||
|       </packing> |  | ||||||
|     </child> |  | ||||||
|     <child> |  | ||||||
|       <object class="HdyClamp"> |  | ||||||
|         <property name="visible">True</property> |  | ||||||
|         <property name="can-focus">False</property> |  | ||||||
|         <property name="vexpand">True</property> |  | ||||||
|         <property name="maximum-size">800</property> |  | ||||||
|         <property name="tightening-threshold">300</property> |  | ||||||
|         <child> |  | ||||||
|           <!-- n-columns=2 n-rows=2 --> |  | ||||||
|           <object class="GtkGrid"> |  | ||||||
|             <property name="visible">True</property> |  | ||||||
|             <property name="can-focus">False</property> |  | ||||||
|             <property name="vexpand">True</property> |  | ||||||
|             <property name="border-width">18</property> |  | ||||||
|             <property name="row-spacing">12</property> |  | ||||||
|             <property name="column-spacing">6</property> |  | ||||||
|             <child> |  | ||||||
|               <object class="GtkLabel"> |  | ||||||
|                 <property name="visible">True</property> |  | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="halign">end</property> |  | ||||||
|                 <property name="label" translatable="yes">Recording</property> |  | ||||||
|               </object> |  | ||||||
|               <packing> |  | ||||||
|                 <property name="left-attach">0</property> |  | ||||||
|                 <property name="top-attach">0</property> |  | ||||||
|               </packing> |  | ||||||
|             </child> |  | ||||||
|             <child> |  | ||||||
|               <object class="GtkButton" id="recording_button"> |  | ||||||
|                 <property name="visible">True</property> |  | ||||||
|                 <property name="can-focus">True</property> |  | ||||||
|                 <property name="receives-default">True</property> |  | ||||||
|                 <property name="hexpand">True</property> |  | ||||||
|                 <child> |  | ||||||
|                   <object class="GtkStack" id="recording_stack"> |  | ||||||
|                     <property name="visible">True</property> |  | ||||||
|                     <property name="can-focus">False</property> |  | ||||||
|                     <property name="vhomogeneous">False</property> |  | ||||||
|                     <property name="transition-type">crossfade</property> |  | ||||||
|                     <property name="interpolate-size">True</property> |  | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkLabel"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">False</property> |  | ||||||
|                         <property name="halign">start</property> |  | ||||||
|                         <property name="label" translatable="yes">Select …</property> |  | ||||||
|                       </object> |  | ||||||
|                       <packing> |  | ||||||
|                         <property name="name">unselected</property> |  | ||||||
|                       </packing> |  | ||||||
|                     </child> |  | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkBox"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">False</property> |  | ||||||
|                         <property name="orientation">vertical</property> |  | ||||||
|                         <child> |  | ||||||
|                           <object class="GtkLabel" id="work_label"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="halign">start</property> |  | ||||||
|                             <property name="label" translatable="yes">Work</property> |  | ||||||
|                             <property name="ellipsize">end</property> |  | ||||||
|                             <attributes> |  | ||||||
|                               <attribute name="weight" value="bold"/> |  | ||||||
|                             </attributes> |  | ||||||
|                           </object> |  | ||||||
|                           <packing> |  | ||||||
|                             <property name="expand">False</property> |  | ||||||
|                             <property name="fill">True</property> |  | ||||||
|                             <property name="position">0</property> |  | ||||||
|                           </packing> |  | ||||||
|                         </child> |  | ||||||
|                         <child> |  | ||||||
|                           <object class="GtkLabel" id="performers_label"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="opacity">0.5</property> |  | ||||||
|                             <property name="halign">start</property> |  | ||||||
|                             <property name="label" translatable="yes">Performers</property> |  | ||||||
|                             <property name="ellipsize">end</property> |  | ||||||
|                           </object> |  | ||||||
|                           <packing> |  | ||||||
|                             <property name="expand">False</property> |  | ||||||
|                             <property name="fill">True</property> |  | ||||||
|                             <property name="position">1</property> |  | ||||||
|                           </packing> |  | ||||||
|                         </child> |  | ||||||
|                       </object> |  | ||||||
|                       <packing> |  | ||||||
|                         <property name="name">selected</property> |  | ||||||
|                         <property name="position">1</property> |  | ||||||
|                       </packing> |  | ||||||
|                     </child> |  | ||||||
|                   </object> |  | ||||||
|                 </child> |  | ||||||
|               </object> |  | ||||||
|               <packing> |  | ||||||
|                 <property name="left-attach">1</property> |  | ||||||
|                 <property name="top-attach">0</property> |  | ||||||
|               </packing> |  | ||||||
|             </child> |  | ||||||
|             <child> |  | ||||||
|               <object class="GtkBox"> |  | ||||||
|                 <property name="visible">True</property> |  | ||||||
|                 <property name="can-focus">False</property> |  | ||||||
|                 <property name="vexpand">True</property> |  | ||||||
|                 <property name="spacing">6</property> |  | ||||||
|                 <child> |  | ||||||
|                   <object class="GtkScrolledWindow" id="scroll"> |  | ||||||
|                     <property name="visible">True</property> |  | ||||||
|                     <property name="can-focus">True</property> |  | ||||||
|                     <property name="shadow-type">in</property> |  | ||||||
|                     <child> |  | ||||||
|                       <placeholder/> |  | ||||||
|                     </child> |  | ||||||
|                   </object> |  | ||||||
|                   <packing> |  | ||||||
|                     <property name="expand">True</property> |  | ||||||
|                     <property name="fill">True</property> |  | ||||||
|                     <property name="position">0</property> |  | ||||||
|                   </packing> |  | ||||||
|                 </child> |  | ||||||
|                 <child> |  | ||||||
|                   <object class="GtkBox"> |  | ||||||
|                     <property name="visible">True</property> |  | ||||||
|                     <property name="can-focus">False</property> |  | ||||||
|                     <property name="orientation">vertical</property> |  | ||||||
|                     <property name="spacing">6</property> |  | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkButton" id="add_track_button"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">True</property> |  | ||||||
|                         <property name="receives-default">True</property> |  | ||||||
|                         <child> |  | ||||||
|                           <object class="GtkImage"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="icon-name">list-add-symbolic</property> |  | ||||||
|                           </object> |  | ||||||
|                         </child> |  | ||||||
|                       </object> |  | ||||||
|                       <packing> |  | ||||||
|                         <property name="expand">False</property> |  | ||||||
|                         <property name="fill">True</property> |  | ||||||
|                         <property name="position">0</property> |  | ||||||
|                       </packing> |  | ||||||
|                     </child> |  | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkButton" id="edit_track_button"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">True</property> |  | ||||||
|                         <property name="receives-default">True</property> |  | ||||||
|                         <child> |  | ||||||
|                           <object class="GtkImage"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="icon-name">edit-symbolic</property> |  | ||||||
|                           </object> |  | ||||||
|                         </child> |  | ||||||
|                       </object> |  | ||||||
|                       <packing> |  | ||||||
|                         <property name="expand">False</property> |  | ||||||
|                         <property name="fill">True</property> |  | ||||||
|                         <property name="position">2</property> |  | ||||||
|                       </packing> |  | ||||||
|                     </child> |  | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkButton" id="remove_track_button"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">True</property> |  | ||||||
|                         <property name="receives-default">True</property> |  | ||||||
|                         <child> |  | ||||||
|                           <object class="GtkImage"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="icon-name">list-remove-symbolic</property> |  | ||||||
|                           </object> |  | ||||||
|                         </child> |  | ||||||
|                       </object> |  | ||||||
|                       <packing> |  | ||||||
|                         <property name="expand">False</property> |  | ||||||
|                         <property name="fill">True</property> |  | ||||||
|                         <property name="position">3</property> |  | ||||||
|                       </packing> |  | ||||||
|                     </child> |  | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkButton" id="move_track_down_button"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">True</property> |  | ||||||
|                         <property name="receives-default">True</property> |  | ||||||
|                         <child> |  | ||||||
|                           <object class="GtkImage"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="icon-name">go-down-symbolic</property> |  | ||||||
|                           </object> |  | ||||||
|                         </child> |  | ||||||
|                       </object> |  | ||||||
|                       <packing> |  | ||||||
|                         <property name="expand">False</property> |  | ||||||
|                         <property name="fill">True</property> |  | ||||||
|                         <property name="pack-type">end</property> |  | ||||||
|                         <property name="position">4</property> |  | ||||||
|                       </packing> |  | ||||||
|                     </child> |  | ||||||
|                     <child> |  | ||||||
|                       <object class="GtkButton" id="move_track_up_button"> |  | ||||||
|                         <property name="visible">True</property> |  | ||||||
|                         <property name="can-focus">True</property> |  | ||||||
|                         <property name="receives-default">True</property> |  | ||||||
|                         <child> |  | ||||||
|                           <object class="GtkImage"> |  | ||||||
|                             <property name="visible">True</property> |  | ||||||
|                             <property name="can-focus">False</property> |  | ||||||
|                             <property name="icon-name">go-up-symbolic</property> |  | ||||||
|                           </object> |  | ||||||
|                         </child> |  | ||||||
|                       </object> |  | ||||||
|                       <packing> |  | ||||||
|                         <property name="expand">False</property> |  | ||||||
|                         <property name="fill">True</property> |  | ||||||
|                         <property name="pack-type">end</property> |  | ||||||
|                         <property name="position">5</property> |  | ||||||
|                       </packing> |  | ||||||
|                     </child> |  | ||||||
|                   </object> |  | ||||||
|                   <packing> |  | ||||||
|                     <property name="expand">False</property> |  | ||||||
|                     <property name="fill">True</property> |  | ||||||
|                     <property name="position">1</property> |  | ||||||
|                   </packing> |  | ||||||
|                 </child> |  | ||||||
|               </object> |  | ||||||
|               <packing> |  | ||||||
|                 <property name="left-attach">0</property> |  | ||||||
|                 <property name="top-attach">1</property> |  | ||||||
|                 <property name="width">2</property> |  | ||||||
|               </packing> |  | ||||||
|             </child> |  | ||||||
|           </object> |  | ||||||
|         </child> |  | ||||||
|       </object> |  | ||||||
|       <packing> |  | ||||||
|         <property name="expand">False</property> |  | ||||||
|         <property name="fill">True</property> |  | ||||||
|         <property name="position">1</property> |  | ||||||
|       </packing> |  | ||||||
|     </child> |  | ||||||
|   </object> |  | ||||||
| </interface> |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Elias Projahn
						Elias Projahn