Dvb script gui/guicode
Vom DVB zur DVD, die GUI: Anleitungen - Installation - GUI-Kommanderscript - Arbeitsscript - Dokumentation |
Achtung dieser Artikel ist noch in Arbeit und dient vorläufig nur als Vorlage. Dieser Beitrag zu Linux oder der Abschnitt ist in Bearbeitung. Weitere Informationen findest du hier. Der Ersteller arbeitet an dem Beitrag oder Abschnitt und entsorgt den Wartungsbaustein spätestens 3 Tage nach der letzten Bearbeitung. Änderungen außer Rechtschreibkorrekturen ohne Absprache mit dem Urspungsautor sind möglichst zu vermeiden, solange dieser Baustein noch innerhalb der genannten Frist aktiviert ist. |
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> <class>GUI</class> <widget class="Dialog"> <property name="name"> <cstring>GUI</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1032</width> <height>869</height> </rect> </property> <property name="maximumSize"> <size> <width>10000</width> <height>10000</height> </size> </property> <property name="baseSize"> <size> <width>1024</width> <height>768</height> </size> </property> <property name="caption"> <string>GUI für das dvb_wiki_script oder Vom DVB zur DVD und einiges mehr</string> </property> <property name="iconText"> <string></string> </property> <property name="sizeGripEnabled"> <bool>false</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string></string> <string></string> </stringlist> </property> <property name="useInternalParser"> <bool>true</bool> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="GroupBox" row="1" column="0"> <property name="name"> <cstring>rahmen</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>3</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>12</pointsize> <bold>1</bold> </font> </property> <property name="title"> <string>Log</string> </property> <property name="alignment"> <set>AlignCenter</set> </property> <property name="associations" stdset="0"> <stringlist> <string></string> </stringlist> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="TextBrowser" row="0" column="0"> <property name="name"> <cstring>fenster1</cstring> </property> <property name="minimumSize"> <size> <width>490</width> <height>350</height> </size> </property> <property name="font"> <font> </font> </property> <property name="associations" stdset="0"> <stringlist> <string></string> </stringlist> </property> </widget> </grid> </widget> <widget class="GroupBox" row="1" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>GroupBox2</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Debug - Log</string> </property> <property name="alignment"> <set>AlignCenter</set> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="ButtonGroup" row="0" column="0"> <property name="name"> <cstring>ButtonGroup2</cstring> </property> <property name="minimumSize"> <size> <width>60</width> <height>60</height> </size> </property> <property name="title"> <string></string> </property> <property name="exclusive"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string></string> </stringlist> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="RadioButton" row="0" column="0"> <property name="name"> <cstring>RadioButton_Ein</cstring> </property> <property name="text"> <string>E&in</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string></string> </stringlist> </property> </widget> <widget class="RadioButton" row="1" column="0"> <property name="name"> <cstring>RadioButton_Aus</cstring> </property> <property name="text"> <string>Au&s</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string></string> </stringlist> </property> </widget> </grid> </widget> <widget class="TextEdit" row="1" column="0" rowspan="1" colspan="3"> <property name="name"> <cstring>TextEdit_Debug_Log</cstring> </property> <property name="minimumSize"> <size> <width>470</width> <height>350</height> </size> </property> <property name="vScrollBarMode"> <enum>Auto</enum> </property> <property name="hScrollBarMode"> <enum>Auto</enum> </property> <property name="readOnly"> <bool>true</bool> </property> </widget> <widget class="ExecButton" row="0" column="2"> <property name="name"> <cstring>ExecButton_Clear</cstring> </property> <property name="minimumSize"> <size> <width>60</width> <height>60</height> </size> </property> <property name="text"> <string>C&lear</string> </property> <property name="associations" stdset="0"> <stringlist> <string>RadioButton_Aus.setChecked(true) Timer_Debug.cancel TextEdit_Debug_Log.clear </string> </stringlist> </property> </widget> <spacer row="0" column="1"> <property name="name"> <cstring>Spacer19</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>331</width> <height>0</height> </size> </property> </spacer> </grid> </widget> <widget class="TabWidget" row="0" column="0"> <property name="name"> <cstring>TabWidget1</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <widget class="QWidget"> <property name="name"> <cstring>tab</cstring> </property> <attribute name="title"> <string>&Video-DVD</string> </attribute> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="ButtonGroup" row="0" column="0" rowspan="2" colspan="1"> <property name="name"> <cstring>ButtonGroup_Video_DVD</cstring> </property> <property name="title"> <string></string> </property> <property name="exclusive"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string></string> </stringlist> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="Label" row="0" column="0"> <property name="name"> <cstring>Label1</cstring> </property> <property name="font"> <font> <italic>1</italic> </font> </property> <property name="text"> <string>DVB (mpeg2): Schneiden, Authoring und ...</string> </property> </widget> <widget class="RadioButton" row="1" column="0"> <property name="name"> <cstring>RadioButton_11</cstring> </property> <property name="text"> <string>B&rennen</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(11)</string> </stringlist> </property> </widget> <widget class="RadioButton" row="2" column="0"> <property name="name"> <cstring>RadioButton_12</cstring> </property> <property name="text"> <string>&Sichern</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(12)</string> </stringlist> </property> </widget> <spacer row="3" column="0"> <property name="name"> <cstring>Spacer7</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>25</height> </size> </property> </spacer> <widget class="Label" row="4" column="0"> <property name="name"> <cstring>Label2</cstring> </property> <property name="text"> <string>Gesicherte DVD-Struktur ...</string> </property> </widget> <widget class="RadioButton" row="5" column="0"> <property name="name"> <cstring>RadioButton_13</cstring> </property> <property name="text"> <string>Bre&nnen</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(13)</string> </stringlist> </property> </widget> <spacer row="6" column="0"> <property name="name"> <cstring>Spacer7_2</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>26</height> </size> </property> </spacer> <widget class="Label" row="7" column="0"> <property name="name"> <cstring>Label3</cstring> </property> <property name="text"> <string>Video-DVD ...</string> </property> </widget> <widget class="RadioButton" row="8" column="0"> <property name="name"> <cstring>RadioButton_81</cstring> </property> <property name="text"> <string>Bedruc&ken</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(81)</string> </stringlist> </property> </widget> </grid> </widget> <widget class="ExecButton" row="0" column="2"> <property name="name"> <cstring>ExecButton_Start_Video_DVD</cstring> </property> <property name="minimumSize"> <size> <width>60</width> <height>60</height> </size> </property> <property name="font"> <font> <bold>1</bold> </font> </property> <property name="text"> <string>G&o</string> </property> <property name="populationText"> <string></string> </property> <property name="associations" stdset="0"> <stringlist> <string>ButtonGroup_Video_DVD.text</string> </stringlist> </property> </widget> <spacer row="1" column="2"> <property name="name"> <cstring>Spacer13_2</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>208</height> </size> </property> </spacer> <spacer row="0" column="1"> <property name="name"> <cstring>Spacer15</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>155</width> <height>0</height> </size> </property> </spacer> </grid> </widget> <widget class="QWidget"> <property name="name"> <cstring>tab</cstring> </property> <attribute name="title"> <string>Da&ten-DVD</string> </attribute> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="ButtonGroup" row="0" column="0" rowspan="2" colspan="1"> <property name="name"> <cstring>ButtonGroup_Daten_DVD</cstring> </property> <property name="title"> <string></string> </property> <property name="exclusive"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string></string> </stringlist> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="Label" row="0" column="0"> <property name="name"> <cstring>Label4</cstring> </property> <property name="font"> <font> <italic>1</italic> </font> </property> <property name="text"> <string>DVB (mpeg2): Schneiden, Wandeln zu TS und ...</string> </property> </widget> <widget class="RadioButton" row="1" column="0"> <property name="name"> <cstring>RadioButton_21</cstring> </property> <property name="text"> <string>B&rennen</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(21)</string> </stringlist> </property> </widget> <widget class="Label" row="4" column="0"> <property name="name"> <cstring>Label5</cstring> </property> <property name="text"> <string>Gesicherte TS-Files ...</string> </property> </widget> <widget class="Label" row="7" column="0"> <property name="name"> <cstring>Label6</cstring> </property> <property name="text"> <string>Daten-DVD ...</string> </property> </widget> <widget class="RadioButton" row="8" column="0"> <property name="name"> <cstring>RadioButton_82</cstring> </property> <property name="text"> <string>Bedruc&ken</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(82)</string> </stringlist> </property> </widget> <widget class="RadioButton" row="5" column="0"> <property name="name"> <cstring>RadioButton_23</cstring> </property> <property name="text"> <string>Brennen</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(23)</string> </stringlist> </property> </widget> <widget class="RadioButton" row="2" column="0"> <property name="name"> <cstring>RadioButton_22</cstring> </property> <property name="text"> <string>&Sichern</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(22)</string> </stringlist> </property> </widget> <spacer row="3" column="0"> <property name="name"> <cstring>Spacer9</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>30</height> </size> </property> </spacer> <spacer row="6" column="0"> <property name="name"> <cstring>Spacer10</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>31</height> </size> </property> </spacer> </grid> </widget> <widget class="ExecButton" row="0" column="2"> <property name="name"> <cstring>ExecButton_Start_Video_DVD_2</cstring> </property> <property name="minimumSize"> <size> <width>60</width> <height>60</height> </size> </property> <property name="font"> <font> <bold>1</bold> </font> </property> <property name="text"> <string>G&o</string> </property> <property name="associations" stdset="0"> <stringlist> <string>ButtonGroup_Daten_DVD.text</string> </stringlist> </property> </widget> <spacer row="1" column="2"> <property name="name"> <cstring>Spacer12</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>208</height> </size> </property> </spacer> <spacer row="0" column="1"> <property name="name"> <cstring>Spacer13</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>120</width> <height>0</height> </size> </property> </spacer> </grid> </widget> <widget class="QWidget"> <property name="name"> <cstring>tab</cstring> </property> <attribute name="title"> <string>Video&clip</string> </attribute> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="ButtonGroup" row="0" column="0" rowspan="2" colspan="1"> <property name="name"> <cstring>ButtonGroup_Videoclip</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string></string> </property> <property name="exclusive"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string></string> </stringlist> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="Label" row="0" column="0"> <property name="name"> <cstring>Label7</cstring> </property> <property name="font"> <font> <italic>1</italic> </font> </property> <property name="text"> <string>Videoclip (mpeg2): Schneiden und speichern ...</string> </property> </widget> <widget class="RadioButton" row="2" column="0"> <property name="name"> <cstring>RadioButton_32</cstring> </property> <property name="text"> <string>AC&3</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(32)</string> </stringlist> </property> </widget> <widget class="Label" row="6" column="0"> <property name="name"> <cstring>Label8</cstring> </property> <property name="font"> <font> <italic>1</italic> </font> </property> <property name="text"> <string>Videoclip (mpeg1) speichern ...</string> </property> <property name="alignment"> <set>AlignVCenter</set> </property> </widget> <widget class="RadioButton" row="7" column="0"> <property name="name"> <cstring>RadioButton_34</cstring> </property> <property name="text"> <string>M&P2</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(34)</string> </stringlist> </property> </widget> <widget class="RadioButton" row="8" column="0"> <property name="name"> <cstring>RadioButton_38</cstring> </property> <property name="text"> <string>MP2 no&rmalisiert</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(38)</string> </stringlist> </property> </widget> <widget class="RadioButton" row="4" column="0"> <property name="name"> <cstring>RadioButton_37</cstring> </property> <property name="text"> <string>MP&2 normalisiert</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(37)</string> </stringlist> </property> </widget> <spacer row="5" column="0"> <property name="name"> <cstring>Spacer11</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>30</height> </size> </property> </spacer> <widget class="RadioButton" row="3" column="0"> <property name="name"> <cstring>RadioButton_33</cstring> </property> <property name="text"> <string>&MP2</string> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(33)</string> </stringlist> </property> </widget> <widget class="RadioButton" row="1" column="0"> <property name="name"> <cstring>RadioButton_31</cstring> </property> <property name="text"> <string>Alle T&onspuren</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="associations" stdset="0"> <stringlist> <string></string> <string>Script.execute(31)</string> </stringlist> </property> </widget> </grid> </widget> <widget class="ExecButton" row="0" column="2"> <property name="name"> <cstring>ExecButton_Start_Video_DVD_3</cstring> </property> <property name="minimumSize"> <size> <width>60</width> <height>60</height> </size> </property> <property name="font"> <font> <bold>1</bold> </font> </property> <property name="text"> <string>Go</string> </property> <property name="associations" stdset="0"> <stringlist> <string>ButtonGroup_Videoclip.text</string> </stringlist> </property> </widget> <spacer row="1" column="2"> <property name="name"> <cstring>Spacer13_2_4</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>210</height> </size> </property> </spacer> <spacer row="0" column="1"> <property name="name"> <cstring>Spacer16</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>130</width> <height>0</height> </size> </property> </spacer> </grid> </widget> </widget> <widget class="QLayoutWidget" row="0" column="1"> <property name="name"> <cstring>Layout1</cstring> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="Timer" row="2" column="0"> <property name="name"> <cstring>Timer_Debug</cstring> </property> <property name="associations" stdset="0"> <stringlist> <string>refresh_fenster2.execute</string> </stringlist> </property> <property name="interval"> <number>500</number> </property> </widget> <widget class="ScriptObject" row="2" column="1"> <property name="name"> <cstring>refresh_fenster2</cstring> </property> <property name="text"> <string>fen2</string> </property> <property name="associations" stdset="0"> <stringlist> <string>input=(env("HOME")+"/.dvb_script_gui.ini/debugfenster") text=file_read(input) TextEdit_Debug_Log.setText(text) TextEdit_Debug_Log.scrollToBottom</string> </stringlist> </property> </widget> <widget class="ScriptObject" row="0" column="1"> <property name="name"> <cstring>Script</cstring> </property> <property name="text"> <string>Script</string> </property> <property name="associations" stdset="0"> <stringlist> <string>#!/bin/bash uebergabe=`echo @Self.item(0)` hauptverzeichnis=`cat ~/.dvb_script_gui.ini/pfad_hauptverzeichnis` scriptpfad=${hauptverzeichnis}/script/scriptcode.sh cp /home/daten/scripte/dvb_script_gui/Kommander/guicode.kmdr ${hauptverzeichnis}/gui/guicode.kmdr cp /home/daten/scripte/dvb_script_gui/Script/scriptcode.sh ${hauptverzeichnis}/script/scriptcode.sh chmod u+x ${hauptverzeichnis}/gui/guicode.kmdr chmod u+x ${hauptverzeichnis}/script/scriptcode.sh ${scriptpfad} "${uebergabe}" #~/DVB_Script/script/scriptcode.sh "$uebergabe"</string> </stringlist> </property> </widget> <widget class="ScriptObject" row="1" column="1"> <property name="name"> <cstring>refresh_fenster1</cstring> </property> <property name="text"> <string>fen1</string> </property> <property name="associations" stdset="0"> <stringlist> <string>input=(env("HOME")+"/.dvb_script_gui.ini/fortschrittfenster") text=file_read(input) fenster1.setText(text)</string> </stringlist> </property> </widget> <widget class="Timer" row="1" column="0"> <property name="name"> <cstring>Timer_Log</cstring> </property> <property name="associations" stdset="0"> <stringlist> <string>refresh_fenster1.execute</string> </stringlist> </property> <property name="interval"> <number>500</number> </property> </widget> </grid> </widget> <spacer row="0" column="2"> <property name="name"> <cstring>Spacer16_2</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>341</width> <height>0</height> </size> </property> </spacer> </grid> </widget> <connections> <connection> <sender>RadioButton_Ein</sender> <signal>pressed()</signal> <receiver>Timer_Debug</receiver> <slot>execute()</slot> </connection> <connection> <sender>GUI</sender> <signal>widgetOpened()</signal> <receiver>Timer_Log</receiver> <slot>execute()</slot> </connection> <connection> <sender>RadioButton_Aus</sender> <signal>pressed()</signal> <receiver>Timer_Debug</receiver> <slot>cancel()</slot> </connection> </connections> <layoutdefaults spacing="6" margin="11"/> </UI>