-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manual connect: Use a glade file, tweak some more.
- Loading branch information
Showing
4 changed files
with
385 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.38.2 --> | ||
<interface domain="warpinator"> | ||
<requires lib="gtk+" version="3.24"/> | ||
<object class="GtkBox" id="top_box"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="border-width">10</property> | ||
<property name="orientation">vertical</property> | ||
<property name="spacing">6</property> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="orientation">vertical</property> | ||
<property name="spacing">4</property> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="margin-bottom">6</property> | ||
<property name="label" translatable="yes" comments="manual-connect dialog: first main section header (bold, big)">On this computer:</property> | ||
<attributes> | ||
<attribute name="weight" value="bold"/> | ||
<attribute name="scale" value="1.3"/> | ||
</attributes> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes" comments="The user enters an IP address and port in an entry below this">Enter the address of the device you want to connect to</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="margin-start">10</property> | ||
<property name="margin-end">10</property> | ||
<child> | ||
<object class="GtkEntry" id="ip_entry"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="progress-pulse-step">0.25</property> | ||
<property name="placeholder-text">192.168.0.1:42001</property> | ||
<style> | ||
<class name="monospace"/> | ||
</style> | ||
</object> | ||
<packing> | ||
<property name="expand">True</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="connect_button"> | ||
<property name="label" translatable="yes">Connect</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="receives-default">True</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
<style> | ||
<class name="linked"/> | ||
</style> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="status_label"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="use-markup">True</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">3</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="GtkSeparator"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="margin-top">4</property> | ||
<property name="margin-bottom">4</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</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">4</property> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="margin-bottom">6</property> | ||
<property name="label" translatable="yes" comments="manual-connect dialog: second main section header (bold, big)">Alternatively, on the other device:</property> | ||
<attributes> | ||
<attribute name="weight" value="bold"/> | ||
<attribute name="scale" value="1.3"/> | ||
</attributes> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes" comments="A qr code is displayed below this">Scan this QR code</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkFrame"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="halign">center</property> | ||
<property name="margin-bottom">6</property> | ||
<property name="label-xalign">0</property> | ||
<property name="shadow-type">in</property> | ||
<child> | ||
<object class="GtkAlignment"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<child> | ||
<object class="GtkBox" id="qr_holder"> | ||
<property name="width-request">300</property> | ||
<property name="height-request">300</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child type="label_item"> | ||
<placeholder/> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes" comments="The user's ip address and port are displayed here">Or connect to the address below</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">3</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="our_ip_label"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label">192.168.0.50:42001</property> | ||
<attributes> | ||
<attribute name="weight" value="bold"/> | ||
<attribute name="scale" value="1.8"/> | ||
</attributes> | ||
<style> | ||
<class name="monospace"/> | ||
</style> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">4</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">2</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.