summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2011-11-12 11:34:07 +0100
committerJoel Klinghed <the_jk@yahoo.com>2011-11-12 11:34:07 +0100
commit3411ddd3e6f9ee43e4eaa0c74935f1af8f36ee9d (patch)
tree5c4b1e34b8f7268096282c6376baaef1f2b966f6 /gui
Initial commit
Diffstat (limited to 'gui')
-rw-r--r--gui/viewtorrents.glade200
1 files changed, 200 insertions, 0 deletions
diff --git a/gui/viewtorrents.glade b/gui/viewtorrents.glade
new file mode 100644
index 0000000..73848c1
--- /dev/null
+++ b/gui/viewtorrents.glade
@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="2.24"/>
+ <!-- interface-naming-policy project-wide -->
+ <object class="GtkListStore" id="liststore">
+ <columns>
+ <!-- column-name Status -->
+ <column type="gint"/>
+ <!-- column-name Title -->
+ <column type="gchararray"/>
+ <!-- column-name Downloaded -->
+ <column type="gfloat"/>
+ <!-- column-name Ratio -->
+ <column type="gfloat"/>
+ <!-- column-name Up -->
+ <column type="gfloat"/>
+ <!-- column-name Down -->
+ <column type="gfloat"/>
+ <!-- column-name Left -->
+ <column type="gint64"/>
+ <!-- column-name ProgressSort -->
+ <column type="gfloat"/>
+ </columns>
+ </object>
+ <object class="GtkWindow" id="main">
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Viewtorrents</property>
+ <property name="default_width">600</property>
+ <property name="default_height">400</property>
+ <child>
+ <object class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkMenuBar" id="menubar">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkMenuItem" id="menuitem1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="label" translatable="yes">_File</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="menu1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkImageMenuItem" id="quitmenuitem">
+ <property name="label">gtk-quit</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="menuitem4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="label" translatable="yes">_Help</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="menu3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkImageMenuItem" id="aboutmenuitem">
+ <property name="label">gtk-about</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ </child>
+ </object>
+ </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="GtkScrolledWindow" id="scrolledwindow">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <child>
+ <object class="GtkTreeView" id="treeview">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="model">liststore</property>
+ <property name="expander_column">titlecolumn</property>
+ <property name="rules_hint">True</property>
+ <property name="search_column">1</property>
+ <property name="fixed_height_mode">True</property>
+ <child>
+ <object class="GtkTreeViewColumn" id="statecolumn">
+ <property name="sizing">fixed</property>
+ <property name="fixed_width">32</property>
+ <property name="clickable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_column_id">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="titlecolumn">
+ <property name="resizable">True</property>
+ <property name="sizing">fixed</property>
+ <property name="title" translatable="yes">Title</property>
+ <property name="expand">True</property>
+ <property name="clickable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_column_id">1</property>
+ <child>
+ <object class="GtkCellRendererText" id="cellrenderertitle"/>
+ <attributes>
+ <attribute name="text">1</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="progresscolumn">
+ <property name="sizing">fixed</property>
+ <property name="fixed_width">60</property>
+ <property name="title" translatable="yes">%</property>
+ <property name="clickable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_order">descending</property>
+ <property name="sort_column_id">7</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="upcolumn">
+ <property name="sizing">fixed</property>
+ <property name="fixed_width">60</property>
+ <property name="title" translatable="yes">Up</property>
+ <property name="clickable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_order">descending</property>
+ <property name="sort_column_id">4</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="downcolumn">
+ <property name="sizing">fixed</property>
+ <property name="fixed_width">60</property>
+ <property name="title" translatable="yes">Down</property>
+ <property name="clickable">True</property>
+ <property name="sort_indicator">True</property>
+ <property name="sort_order">descending</property>
+ <property name="sort_column_id">5</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkTreeViewColumn" id="leftcolumn">
+ <property name="sizing">fixed</property>
+ <property name="fixed_width">80</property>
+ <property name="title" translatable="yes">Left</property>
+ <property name="sort_column_id">6</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkStatusbar" id="statusbar">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">2</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>