diff options
Diffstat (limited to 'src/gui/panels/welcome.ui')
-rw-r--r-- | src/gui/panels/welcome.ui | 448 |
1 files changed, 210 insertions, 238 deletions
diff --git a/src/gui/panels/welcome.ui b/src/gui/panels/welcome.ui index d016907..422e2ad 100644 --- a/src/gui/panels/welcome.ui +++ b/src/gui/panels/welcome.ui @@ -1,245 +1,217 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.18.3 --> <interface> - <requires lib="gtk+" version="3.12"/> - <object class="GtkImage" id="image1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="stock">gtk-new</property> - <property name="icon_size">6</property> - </object> - <object class="GtkListStore" id="store"> - <columns> - <!-- column-name valid --> - <column type="gboolean"/> - <!-- column-name fullpath --> - <column type="gchararray"/> - </columns> - </object> - <object class="GtkOffscreenWindow" id="offscreenwindow1"> - <property name="can_focus">False</property> - <child> - <object class="GtkBox" id="box"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="homogeneous">True</property> - <child> - <object class="GtkBox" id="box2"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin_left">8</property> - <property name="margin_right">8</property> - <property name="margin_top">8</property> - <property name="margin_bottom">8</property> - <property name="orientation">vertical</property> - <property name="spacing">8</property> - <child> - <object class="GtkAlignment" id="alignment1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">center</property> - <property name="top_padding">180</property> - <property name="bottom_padding">30</property> - <child> - <object class="GtkButton" id="button1"> - <property name="label" translatable="yes">New binary...</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="image">image1</property> - <property name="image_position">top</property> - <property name="always_show_image">True</property> - <signal name="clicked" handler="on_new_binary_clicked" swapped="no"/> - </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="label1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Last projects:</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkTreeView" id="treeview"> - <property name="height_request">250</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="margin_left">8</property> - <property name="hexpand">True</property> - <property name="model">store</property> - <property name="headers_visible">False</property> - <property name="rules_hint">True</property> - <signal name="row-activated" handler="on_row_activated_for_projects" swapped="no"/> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="treeview-selection1"/> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> - </packing> - </child> - <child> - <object class="GtkCheckButton" id="startup"> - <property name="label" translatable="yes">Show this panel at startup.</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="halign">start</property> - <property name="valign">end</property> - <property name="vexpand">True</property> - <property name="xalign">0</property> - <property name="draw_indicator">True</property> - <signal name="toggled" handler="on_startup_toggled" swapped="no"/> - </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> + + <template class="GtkWelcomePanel" parent="GtkTiledPanel"> <child> - <object class="GtkBox" id="box3"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin_left">8</property> - <property name="margin_right">8</property> - <property name="margin_top">8</property> - <property name="margin_bottom">8</property> - <property name="orientation">vertical</property> - <property name="spacing">8</property> - <child> - <object class="GtkBox" id="box4"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="homogeneous">True</property> - <child> - <object class="GtkLabel" id="version"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="opacity">0.81999999977648264</property> - <property name="use_markup">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label3"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="opacity">0.81999999999999995</property> - <property name="label" translatable="yes">Get access to the online documentation and stay tuned by visiting the official website : <a href="http://chrysalide.re">chrysalide.re</a> - -You can also follow Chrysalide on Twitter : <a href="http://twitter.com/chrysalide_ref">@chrysalide_ref</a></property> - <property name="use_markup">True</property> - <property name="wrap">True</property> - <property name="track_visited_links">False</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <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="GtkLabel" id="tip"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xalign">0</property> - <property name="yalign">1</property> - <property name="xpad">8</property> - <property name="ypad">8</property> - <property name="label" translatable="yes">label</property> - <property name="wrap">True</property> - <property name="selectable">True</property> - <signal name="draw" handler="on_tip_background_draw" swapped="no"/> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkButtonBox" id="buttonbox1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">8</property> - <property name="layout_style">end</property> - <child> - <object class="GtkButton" id="button3"> - <property name="label" translatable="yes">Previous</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <signal name="clicked" handler="on_tip_previous_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> + <object class="GtkScrolledWindow"> + <property name="hscrollbar-policy">automatic</property> + <property name="vscrollbar-policy">automatic</property> + <property name="hexpand">TRUE</property> + <property name="vexpand">TRUE</property> + <property name="has-frame">0</property> <child> - <object class="GtkButton" id="button2"> - <property name="label" translatable="yes">Next</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <signal name="clicked" handler="on_tip_next_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + <object class="GtkGizmo"> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="margin-bottom">32</property> + <property name="margin-end">32</property> + <property name="margin-start">32</property> + <property name="margin-top">32</property> + + <!-- Layout --> + <property name="layout-manager"> + <object class="GtkConstraintLayout"> + <constraints> + + <!-- Central point --> + + <guide name="guide-center" + min-width="1" nat-width="1" max-width="1" + min-height="1" nat-height="1" max-height="1"/> + + <constraint target="guide-center" target-attribute="left" + source="super" source-attribute="width" + relation="eq" + multiplier="0.5" + strength="required"/> + + <constraint target="guide-center" target-attribute="top" + source="super" source-attribute="height" + relation="eq" + multiplier="0.5" + strength="required"/> + + <!-- Widgets --> + + <constraint target="list" target-attribute="right" + source="guide-center" source-attribute="left" + relation="eq" + constant="-32" + strength="required"/> + + <constraint target="list" target-attribute="center-y" + source="guide-center" source-attribute="top" + relation="eq" + strength="required"/> + + <constraint target="properties" target-attribute="left" + source="guide-center" source-attribute="left" + relation="eq" + constant="32" + strength="required"/> + + <constraint target="properties" target-attribute="width" + source="list" source-attribute="width" + relation="eq" + strength="required"/> + + <constraint target="properties" target-attribute="center-y" + source="guide-center" source-attribute="top" + relation="eq" + strength="required"/> + + <!-- Surface for viewport --> + + <constraint target="super" target-attribute="left" + source="list" source-attribute="left" + relation="le" + strength="required"/> + + <constraint target="super" target-attribute="left" + source="properties" source-attribute="left" + relation="le" + strength="required"/> + + <constraint target="super" target-attribute="right" + source="list" source-attribute="right" + relation="ge" + strength="required"/> + + <constraint target="super" target-attribute="right" + source="properties" source-attribute="right" + relation="ge" + strength="required"/> + + <constraint target="super" target-attribute="top" + source="list" source-attribute="top" + relation="le" + strength="required"/> + + <constraint target="super" target-attribute="top" + source="properties" source-attribute="top" + relation="le" + strength="required"/> + + <constraint target="super" target-attribute="bottom" + source="list" source-attribute="bottom" + relation="ge" + strength="required"/> + + <constraint target="super" target-attribute="bottom" + source="properties" source-attribute="bottom" + relation="ge" + strength="required"/> + + </constraints> + </object> + </property> + + <!-- Launcher list --> + <child> + <object class="GtkListBox" id="list"> + <property name="halign">end</property> + <property name="valign">center</property> + <property name="selection-mode">GTK_SELECTION_SINGLE</property> + <property name="activate-on-single-click">0</property> + <style> + <class name="boxed-list"/> + <class name="frame"/> + </style> + <signal name="selected-rows-changed" handler="gtk_welcome_panel_on_selected_rows_changed"/> + </object> + </child> + + <!-- Hints / options --> + <child> + <object class="GtkStack" id="properties"> + <property name="halign">start</property> + <property name="valign">fill</property> + <child> + + <object class="GtkStackPage"> + <property name="name">default</property> + <property name="title">Welcome</property> + <property name="child"> + <object class="GtkGrid" id="def_child"> + <property name="halign">start</property> + <property name="valign">fill</property> + <property name="column-spacing">16</property> + <property name="column-homogeneous">FALSE</property> + + <!-- Text --> + <child> + <object class="GtkLabel" id="hints"> + <property name="halign">start</property> + <property name="valign">fill</property> + <property name="xalign">0</property> + <property name="yalign">1</property> + <property name="vexpand">1</property> + <property name="width-request">50</property> + <property name="wrap">TRUE</property> + <layout> + <property name="column">0</property> + <property name="row">0</property> + </layout> + </object> + </child> + + <!-- Prev/Next buttons --> + <child> + <object class="GtkBox"> + <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property> + <property name="halign">fill</property> + <property name="valign">center</property> + <property name="homogeneous">TRUE</property> + <layout> + <property name="column">1</property> + <property name="row">1</property> + </layout> + <child> + <object class="GtkButton"> + <property name="icon-name">go-previous-symbolic</property> + <property name="halign">end</property> + <signal name="clicked" handler="gtk_welcome_panel_on_prev_hint_clicked"/> + </object> + </child> + <child> + <object class="GtkButton"> + <property name="icon-name">go-next-symbolic</property> + <property name="halign">start</property> + <signal name="clicked" handler="gtk_welcome_panel_on_next_hint_clicked"/> + </object> + </child> + <style> + <class name="linked"/> + </style> + </object> + </child> + + <style> + <class name="hints"/> + </style> + + </object> + + </property> + </object> + </child> + + </object> + </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="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> + </object> </child> - </object> - </child> - </object> + </template> + </interface> |