diff options
author | jstebbins <[email protected]> | 2009-12-23 00:05:05 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-12-23 00:05:05 +0000 |
commit | 93416da6f241eba72979685ab98f89e33ae6f2e0 (patch) | |
tree | 91f936c05910572257bdcaaddb01ea0ca27159ef /gtk/src/ghb.ui | |
parent | 2e7008572201e59568805cb38c1dd1dc8ad4ae42 (diff) |
LinGui: add point-to-point
the user can now select between chapter, seconds, or frame start and end
points for encoding.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3041 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/ghb.ui')
-rw-r--r-- | gtk/src/ghb.ui | 293 |
1 files changed, 154 insertions, 139 deletions
diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui index 17490b7bc..102214c0f 100644 --- a/gtk/src/ghb.ui +++ b/gtk/src/ghb.ui @@ -249,6 +249,22 @@ <property name="page_size">0</property> <property name="value">0</property> </object> + <object class="GtkAdjustment" id="adjustment32"> + <property name="upper">99999</property> + <property name="lower">0</property> + <property name="page_increment">60</property> + <property name="step_increment">1</property> + <property name="page_size">0</property> + <property name="value">99999</property> + </object> + <object class="GtkAdjustment" id="adjustment33"> + <property name="upper">99999</property> + <property name="lower">1</property> + <property name="page_increment">60</property> + <property name="step_increment">1</property> + <property name="page_size">0</property> + <property name="value">0</property> + </object> <object class="GtkAdjustment" id="preview_progress_adj"> <property name="upper">100</property> <property name="lower">0</property> @@ -726,128 +742,62 @@ </packing> </child> <child> - <object class="GtkAlignment" id="alignment72"> + <object class="GtkTable" id="table7"> <property name="visible">True</property> - <property name="top_padding">6</property> - <property name="left_padding">6</property> + <property name="n_rows">2</property> + <property name="n_columns">2</property> + <property name="column-spacing">5</property> <child> - <object class="GtkHBox" id="hbox8"> + <object class="GtkAlignment" id="alignment72"> <property name="visible">True</property> - <property name="spacing">4</property> + <property name="top_padding">6</property> + <property name="left_padding">6</property> <child> <object class="GtkLabel" id="label20"> <property name="visible">True</property> - <property name="label" translatable="yes">Title</property> + <property name="xalign">0.1</property> + <property name="label" translatable="yes">Title:</property> </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - <child> - <object class="GtkComboBox" id="title"> - <property name="visible">True</property> - <property name="has_frame">False</property> - <property name="tooltip-text" translatable="yes">Set the title to encode. By default the longest title is chosen. This is often the feature title of a DVD.</property> - <signal handler="title_changed_cb" name="changed"/> - </object> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> </child> </object> + <packing> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">0</property> + <property name="bottom_attach">1</property> + <property name="x_options">GTK_FILL</property> + </packing> </child> - </object> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkAlignment" id="alignment65"> - <property name="visible">True</property> - <property name="left_padding">6</property> - <property name="bottom_padding">6</property> <child> - <object class="GtkHBox" id="hbox5"> + <object class="GtkHBox" id="hbox42"> <property name="visible">True</property> - <property name="spacing">4</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="spacing">5</property> + <child> - <object class="GtkAlignment" id="chapter_box"> + <object class="GtkAlignment" id="alignment75"> <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="xalign">0</property> <property name="xscale">0</property> - <property name="left_padding">0</property> - <child> - <object class="GtkHBox" id="hbox4"> - <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <child> - <object class="GtkLabel" id="label4"> - <property name="visible">True</property> - <property name="label" translatable="yes">Chapters</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - <child> - <object class="GtkSpinButton" id="start_chapter"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="tooltip-text" translatable="yes">Set the first chapter to encode.</property> - <property name="adjustment">adjustment1</property> - <signal handler="start_chapter_changed_cb" name="value_changed"/> - </object> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label5"> - <property name="visible">True</property> - <property name="label" translatable="yes"> through </property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> - </packing> - </child> - <child> - <object class="GtkSpinButton" id="end_chapter"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="tooltip-text" translatable="yes">Set the last chapter to encode.</property> - <property name="adjustment">adjustment2</property> - <signal handler="end_chapter_changed_cb" name="value_changed"/> - </object> - <packing> - <property name="expand">False</property> - <property name="position">3</property> - </packing> - </child> - </object> - </child> + <property name="yscale">0</property> + <child> + <object class="GtkComboBox" id="title"> + <property name="visible">True</property> + <property name="has_frame">False</property> + <property name="tooltip-text" translatable="yes">Set the title to encode. By default the longest title is chosen. This is often the feature title of a DVD.</property> + <signal handler="title_changed_cb" name="changed"/> + </object> + </child> + </object> - <packing> - <property name="expand">False</property> - <property name="position">2</property> - </packing> </child> + <child> - <object class="GtkAlignment" id="alignment47"> + <object class="GtkAlignment" id="alignment73"> <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="xalign">0</property> + <property name="xalign">1</property> <property name="xscale">0</property> - <property name="left_padding">8</property> + <property name="yscale">0</property> <child> <object class="GtkHBox" id="hbox44"> <property name="visible">True</property> @@ -861,7 +811,7 @@ <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">4</property> + <property name="position">0</property> </packing> </child> <child> @@ -875,54 +825,111 @@ </object> <packing> <property name="expand">False</property> - <property name="position">5</property> + <property name="position">1</property> </packing> </child> </object> </child> </object> - <packing> - <property name="expand">False</property> - <property name="position">3</property> - </packing> </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">0</property> + <property name="bottom_attach">1</property> + </packing> + </child> + + <child> + <object class="GtkAlignment" id="alignment74"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="xscale">0</property> + <property name="yscale">0</property> <child> - <object class="GtkAlignment" id="alignment41"> + <object class="GtkHBox" id="hbox48"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="xalign">0</property> - <property name="xscale">0</property> - <property name="left_padding">8</property> + <property name="spacing">5</property> + <child> - <object class="GtkHBox" id="hbox42"> + <object class="GtkComboBox" id="PtoPType"> <property name="visible">True</property> + <property name="tooltip-text" translatable="yes">Format to mux encoded tracks to.</property> + <signal handler="ptop_widget_changed_cb" name="changed"/> + </object> + <packing> + <property name="expand">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="start_point"> + <property name="visible">True</property> + <property name="can_focus">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="spacing">7</property> - <child> - <object class="GtkLabel" id="label6"> - <property name="visible">True</property> - <property name="xalign">0.10000000149011612</property> - <property name="label" translatable="yes">Duration:</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="title_duration"> - <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">hh:mm:ss</property> - <property name="width_chars">8</property> - </object> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> + <property name="tooltip-text" translatable="yes">Set the first chapter to encode.</property> + <property name="adjustment">adjustment1</property> + <signal handler="start_point_changed_cb" name="value_changed"/> + </object> + <packing> + <property name="expand">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label56"> + <property name="visible">True</property> + <property name="label" translatable="yes">through</property> + </object> + <packing> + <property name="expand">False</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="end_point"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="tooltip-text" translatable="yes">Set the last chapter to encode.</property> + <property name="adjustment">adjustment2</property> + <signal handler="end_point_changed_cb" name="value_changed"/> + </object> + <packing> + <property name="expand">False</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkHBox" id="hbox47"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="spacing">7</property> + <child> + <object class="GtkLabel" id="label6"> + <property name="visible">True</property> + <property name="xalign">0.1</property> + <property name="label" translatable="yes">Duration:</property> </object> + <packing> + <property name="expand">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="title_duration"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">hh:mm:ss</property> + <property name="width_chars">8</property> + </object> + <packing> + <property name="expand">False</property> + <property name="position">1</property> + </packing> </child> </object> <packing> @@ -930,12 +937,20 @@ <property name="position">4</property> </packing> </child> + </object> + </child> </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + </packing> </child> </object> <packing> <property name="expand">False</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> @@ -958,7 +973,7 @@ <property name="visible">True</property> <property name="spacing">12</property> <child> - <object class="GtkTable" id="table3"> + <object class="GtkTable" id="table4"> <property name="visible">True</property> <property name="n_rows">2</property> <property name="n_columns">2</property> |