Compare commits
3 Commits
main
...
popup_rece
Author | SHA1 | Date |
---|---|---|
rra | f5846bdc0b | 2 years ago |
rra | d26aa4d393 | 3 years ago |
rra | 3080d1479f | 4 years ago |
3 changed files with 587 additions and 3 deletions
@ -0,0 +1,305 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!-- Generated with glade 3.22.1 --> |
|||
<interface> |
|||
<requires lib="gtk+" version="3.20"/> |
|||
<object class="GtkApplicationWindow" id="mainWindow"> |
|||
<property name="can_focus">False</property> |
|||
<property name="resizable">False</property> |
|||
<property name="default_width">250</property> |
|||
<property name="default_height">250</property> |
|||
<child type="titlebar"> |
|||
<object class="GtkHeaderBar"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="show_close_button">True</property> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
<child> |
|||
<object class="GtkStack" id="sendReceiveStack"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="transition_type">crossfade</property> |
|||
<child> |
|||
<object class="GtkEventBox" id="dropBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<signal name="button-press-event" handler="add_files" swapped="no"/> |
|||
<child> |
|||
<object class="GtkBox" id="dragActionContainer"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="margin_left">16</property> |
|||
<property name="margin_right">16</property> |
|||
<property name="margin_start">16</property> |
|||
<property name="margin_end">16</property> |
|||
<property name="margin_bottom">16</property> |
|||
<property name="orientation">vertical</property> |
|||
<child> |
|||
<object class="GtkRevealer"> |
|||
<property name="can_focus">False</property> |
|||
<property name="reveal_child">True</property> |
|||
<signal name="motion-notify-event" handler="reveal_child" swapped="no"/> |
|||
<child> |
|||
<object class="GtkBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<child> |
|||
<object class="GtkEntry" id="receiveBoxCodeEntry2"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="primary_icon_stock">gtk-paste</property> |
|||
<property name="placeholder_text" translatable="yes">Transfer Code</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">True</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkButton"> |
|||
<property name="label">gtk-apply</property> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="receives_default">True</property> |
|||
<property name="use_stock">True</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkLabel" id="dropLabel"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="valign">center</property> |
|||
<property name="label" translatable="yes">Drag a file |
|||
drop it here |
|||
..and ship it </property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">True</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkSpinner" id="dropSpinner"> |
|||
<property name="can_focus">False</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">2</property> |
|||
</packing> |
|||
</child> |
|||
<style> |
|||
<class name="drop"/> |
|||
</style> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="name">dragAndDrop</property> |
|||
<property name="title" translatable="yes">Send</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkBox" id="receiveBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="orientation">vertical</property> |
|||
<property name="homogeneous">True</property> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
<child> |
|||
<object class="GtkEntry" id="receiveBoxCodeEntry"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="margin_left">16</property> |
|||
<property name="margin_right">16</property> |
|||
<property name="primary_icon_stock">gtk-paste</property> |
|||
<property name="placeholder_text" translatable="yes">Transfer Code</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="name">receiveView</property> |
|||
<property name="title" translatable="yes">Receive</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkEventBox" id="pendingDragDrop"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<child> |
|||
<object class="GtkBox" id="pendingBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="margin_start">16</property> |
|||
<property name="margin_end">16</property> |
|||
<property name="margin_top">16</property> |
|||
<property name="margin_bottom">16</property> |
|||
<property name="orientation">vertical</property> |
|||
<child> |
|||
<object class="GtkBox"> |
|||
<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> |
|||
<child> |
|||
<object class="GtkLabel" id="dropLabel1"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="valign">center</property> |
|||
<property name="label" translatable="yes">Drag a file to send</property> |
|||
</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> |
|||
<child> |
|||
<object class="GtkEntry" id="receiveBoxCodeEntry1"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="primary_icon_stock">gtk-paste</property> |
|||
<property name="placeholder_text" translatable="yes">Transfer Code</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">2</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="GtkScrolledWindow"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="margin_start">6</property> |
|||
<property name="margin_end">6</property> |
|||
<property name="margin_bottom">6</property> |
|||
<property name="hscrollbar_policy">never</property> |
|||
<property name="shadow_type">in</property> |
|||
<child> |
|||
<object class="GtkViewport"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<child> |
|||
<object class="GtkListBox" id="pendingTransfersList"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">True</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
<style> |
|||
<class name="drop"/> |
|||
</style> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="name">Pending</property> |
|||
<property name="title" translatable="yes">Pending</property> |
|||
<property name="position">2</property> |
|||
</packing> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<object class="GtkFileChooserDialog" id="filePicker"> |
|||
<property name="can_focus">False</property> |
|||
<property name="title" translatable="yes">Choose files to ship</property> |
|||
<property name="type_hint">dialog</property> |
|||
<property name="transient_for">mainWindow</property> |
|||
<property name="has_resize_grip">True</property> |
|||
<property name="select_multiple">True</property> |
|||
<child type="titlebar"> |
|||
<placeholder/> |
|||
</child> |
|||
<child internal-child="vbox"> |
|||
<object class="GtkBox"> |
|||
<property name="can_focus">False</property> |
|||
<property name="orientation">vertical</property> |
|||
<property name="spacing">2</property> |
|||
<child internal-child="action_area"> |
|||
<object class="GtkButtonBox"> |
|||
<property name="can_focus">False</property> |
|||
<property name="layout_style">end</property> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
</interface> |
@ -0,0 +1,249 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!-- Generated with glade 3.22.1 --> |
|||
<interface> |
|||
<requires lib="gtk+" version="3.20"/> |
|||
<object class="GtkApplicationWindow" id="mainWindow"> |
|||
<property name="can_focus">False</property> |
|||
<property name="resizable">False</property> |
|||
<property name="default_width">250</property> |
|||
<property name="default_height">250</property> |
|||
<child type="titlebar"> |
|||
<object class="GtkHeaderBar"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="show_close_button">True</property> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
<child> |
|||
<object class="GtkStack" id="sendReceiveStack"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="transition_type">crossfade</property> |
|||
<child> |
|||
<object class="GtkBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="orientation">vertical</property> |
|||
<child> |
|||
<object class="GtkEventBox" id="dropBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<child> |
|||
<object class="GtkBox" id="dragActionContainer"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="margin_left">16</property> |
|||
<property name="margin_right">16</property> |
|||
<property name="margin_start">16</property> |
|||
<property name="margin_end">16</property> |
|||
<property name="margin_top">16</property> |
|||
<property name="orientation">vertical</property> |
|||
<child> |
|||
<object class="GtkLabel" id="dropLabel"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="valign">center</property> |
|||
<property name="label" translatable="yes">Drag a file |
|||
drop it here |
|||
..and ship it </property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">True</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkSpinner" id="dropSpinner"> |
|||
<property name="can_focus">False</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">2</property> |
|||
</packing> |
|||
</child> |
|||
<style> |
|||
<class name="drop"/> |
|||
</style> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">True</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkEventBox" id="recvBox"> |
|||
<property name="height_request">16</property> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<signal name="enter-notify-event" handler="receive_code_toggle" swapped="no"/> |
|||
<child> |
|||
<object class="GtkBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="orientation">vertical</property> |
|||
<child> |
|||
<object class="GtkRevealer" id="recvReveal"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="transition_type">slide-up</property> |
|||
<child> |
|||
<object class="GtkBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<child> |
|||
<object class="GtkEntry" id="receiveBoxCodeEntry"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="primary_icon_stock">gtk-paste</property> |
|||
<property name="placeholder_text" translatable="yes">Transfer Code</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">True</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<object class="GtkButton"> |
|||
<property name="label">gtk-apply</property> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="receives_default">True</property> |
|||
<property name="use_stock">True</property> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">2</property> |
|||
</packing> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="name">dragAndDrop</property> |
|||
<property name="title" translatable="yes">Send</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
<child> |
|||
<object class="GtkEventBox" id="pendingDragDrop"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<child> |
|||
<object class="GtkBox" id="pendingBox"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<property name="margin_start">16</property> |
|||
<property name="margin_end">16</property> |
|||
<property name="margin_top">16</property> |
|||
<property name="margin_bottom">16</property> |
|||
<property name="orientation">vertical</property> |
|||
<child> |
|||
<object class="GtkScrolledWindow"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">True</property> |
|||
<property name="margin_start">6</property> |
|||
<property name="margin_end">6</property> |
|||
<property name="margin_bottom">6</property> |
|||
<property name="hscrollbar_policy">never</property> |
|||
<property name="shadow_type">in</property> |
|||
<child> |
|||
<object class="GtkViewport"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
<child> |
|||
<object class="GtkListBox" id="pendingTransfersList"> |
|||
<property name="visible">True</property> |
|||
<property name="can_focus">False</property> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">True</property> |
|||
<property name="fill">True</property> |
|||
<property name="position">1</property> |
|||
</packing> |
|||
</child> |
|||
<style> |
|||
<class name="drop"/> |
|||
</style> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="name">Pending</property> |
|||
<property name="title" translatable="yes">Pending</property> |
|||
<property name="position">2</property> |
|||
</packing> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
<object class="GtkFileChooserDialog" id="filePicker"> |
|||
<property name="can_focus">False</property> |
|||
<property name="title" translatable="yes">Choose files to ship</property> |
|||
<property name="type_hint">dialog</property> |
|||
<property name="transient_for">mainWindow</property> |
|||
<property name="has_resize_grip">True</property> |
|||
<property name="select_multiple">True</property> |
|||
<child type="titlebar"> |
|||
<placeholder/> |
|||
</child> |
|||
<child internal-child="vbox"> |
|||
<object class="GtkBox"> |
|||
<property name="can_focus">False</property> |
|||
<property name="orientation">vertical</property> |
|||
<property name="spacing">2</property> |
|||
<child internal-child="action_area"> |
|||
<object class="GtkButtonBox"> |
|||
<property name="can_focus">False</property> |
|||
<property name="layout_style">end</property> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
<packing> |
|||
<property name="expand">False</property> |
|||
<property name="fill">False</property> |
|||
<property name="position">0</property> |
|||
</packing> |
|||
</child> |
|||
<child> |
|||
<placeholder/> |
|||
</child> |
|||
</object> |
|||
</child> |
|||
</object> |
|||
</interface> |
Loading…
Reference in new issue