Skip to content

Commit

Permalink
new stop button and screenshots added
Browse files Browse the repository at this point in the history
  • Loading branch information
samadritakarmakar committed Dec 6, 2016
1 parent 241b6b9 commit 764e47d
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Qutube-dl.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.1.0, 2016-12-05T01:11:51. -->
<!-- Written by QtCreator 4.1.0, 2016-12-06T22:16:08. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down
Binary file added Screenshot_format_code_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshot_format_code_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshot_update_backend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screeshot_download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions qutubedl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,10 @@ void Qutubedl::readoutput()
ui->output_tb->setText(f_output);
}


void Qutubedl::on_stop_pb_clicked()
{
button_handle();
youtube->terminate();

}
2 changes: 2 additions & 0 deletions qutubedl.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ private slots:

void on_updt_bcknd_pb_clicked();

void on_stop_pb_clicked();

private:
Ui::Qutubedl *ui;
QProcess *youtube=new QProcess;
Expand Down
51 changes: 29 additions & 22 deletions qutubedl.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,32 @@
<rect>
<x>0</x>
<y>0</y>
<width>699</width>
<height>345</height>
<width>697</width>
<height>343</height>
</rect>
</property>
<property name="windowTitle">
<string>Qutubedl</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="6" column="0" colspan="2">
<item row="0" column="1">
<widget class="QLineEdit" name="url">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="frmt">
<property name="text">
<string>18</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="prxy"/>
</item>
<item row="7" column="0" colspan="2">
<widget class="QTextBrowser" name="output_tb">
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
Expand Down Expand Up @@ -60,51 +77,41 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="frmt">
<item row="4" column="1" alignment="Qt::AlignHCenter">
<widget class="QLabel" name="label_4">
<property name="text">
<string>18</string>
<string>eg: socks://127.0.0.1:9050/</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="url">
<item row="6" column="0">
<widget class="QPushButton" name="stop_pb">
<property name="text">
<string/>
<string>Stop!</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="prxy"/>
</item>
<item row="5" column="1">
<item row="6" column="1">
<widget class="QPushButton" name="Go_pb">
<property name="text">
<string>Go!</string>
</property>
</widget>
</item>
<item row="5" column="0">
<item row="5" column="1">
<widget class="QPushButton" name="get_fmt_pb">
<property name="text">
<string>Available Format?</string>
</property>
</widget>
</item>
<item row="4" column="0">
<item row="5" column="0">
<widget class="QPushButton" name="updt_bcknd_pb">
<property name="text">
<string>Update Backend</string>
</property>
</widget>
</item>
<item row="4" column="1" alignment="Qt::AlignHCenter">
<widget class="QLabel" name="label_4">
<property name="text">
<string>eg: socks://127.0.0.1:9050/</string>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
Expand Down

0 comments on commit 764e47d

Please sign in to comment.