Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
[*] Add several stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE committed Nov 5, 2020
1 parent 9214fd5 commit 0cb7de0
Show file tree
Hide file tree
Showing 8 changed files with 354 additions and 7 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ python:
path: .
extra_requirements:
- dev
- gui
11 changes: 4 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
********************
Universal Downloader
********************
**************
MP3 Monitoring
**************
|maintained| |programming language| |license|

|github actions| |readthedocs| |requirements| |codacy| |codecov|
|github actions| |readthedocs| |requirements| |codacy|

|pypi|

Expand Down Expand Up @@ -86,6 +86,3 @@ You should have received a copy of the GNU General Public License along with thi

.. |codacy| image:: https://api.codacy.com/project/badge/Grade/20dca363b104472d982e67c31e89ccea
:target: https://app.codacy.com/project/IceflowRE/mp3monitoring/dashboard

.. |codecov| image:: https://img.shields.io/codecov/c/github/IceflowRE/mp3monitoring/main.svg?label=coverage
:target: https://codecov.io/gh/IceflowRE/mp3monitoring
37 changes: 37 additions & 0 deletions gui/main.ui
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,26 @@
</font>
</property>
<widget class="QMenu" name="menu_file">
<property name="font">
<font>
<family>Noto Sans</family>
</font>
</property>
<property name="title">
<string>File</string>
</property>
<addaction name="action_add_job"/>
<addaction name="separator"/>
<addaction name="action_settings"/>
<addaction name="separator"/>
<addaction name="action_exit"/>
</widget>
<widget class="QMenu" name="menu_help">
<property name="font">
<font>
<family>Noto Sans</family>
</font>
</property>
<property name="title">
<string>Help</string>
</property>
Expand Down Expand Up @@ -206,6 +218,11 @@
<property name="toolTip">
<string>Remove selected job</string>
</property>
<property name="font">
<font>
<family>Noto Sans</family>
</font>
</property>
</action>
<action name="action_start_job">
<property name="enabled">
Expand All @@ -217,6 +234,11 @@
<property name="toolTip">
<string>Start selected job</string>
</property>
<property name="font">
<font>
<family>Noto Sans</family>
</font>
</property>
</action>
<action name="action_stop_job">
<property name="enabled">
Expand All @@ -228,6 +250,21 @@
<property name="toolTip">
<string>Stop selected job</string>
</property>
<property name="font">
<font>
<family>Noto Sans</family>
</font>
</property>
</action>
<action name="action_settings">
<property name="text">
<string>Settings...</string>
</property>
<property name="font">
<font>
<family>Noto Sans</family>
</font>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
Expand Down
119 changes: 119 additions & 0 deletions gui/settings_dialog.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SettingsDialog</class>
<widget class="QDialog" name="SettingsDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>711</width>
<height>497</height>
</rect>
</property>
<property name="font">
<font>
<family>Noto Sans</family>
</font>
</property>
<property name="windowTitle">
<string>Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QDialogButtonBox" name="button_box">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QTabWidget" name="tab_widget">
<property name="font">
<font>
<family>Noto Sans</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="tabPosition">
<enum>QTabWidget::West</enum>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="general">
<property name="font">
<font>
<family>Noto Sans</family>
<pointsize>8</pointsize>
</font>
</property>
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QGridLayout" name="gridLayout4">
<item row="0" column="1">
<widget class="QCheckBox" name="start_minimized">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="start_with_system_l">
<property name="text">
<string>Start with system</string>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontal_spacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0">
<widget class="QLabel" name="start_minimized_l">
<property name="text">
<string>Start minimized</string>
</property>
</widget>
</item>
<item row="2" column="0">
<spacer name="vertical_spacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="start_with_system">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
2 changes: 2 additions & 0 deletions mp3monitoring/gui/pkg_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@

with resources.path('mp3monitoring.gui.pkg_data.symbols', 'info.svg') as p:
INFO_SYMBOL = Path(p)
with resources.path('mp3monitoring.gui.pkg_data.symbols', 'settings.svg') as p:
SETTINGS_SYMBOL = Path(p)
with resources.path('mp3monitoring.gui.pkg_data.symbols', 'power.svg') as p:
POWER_SYMBOL = Path(p)
1 change: 1 addition & 0 deletions mp3monitoring/gui/pkg_data/symbols/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This work
- power.svg
- remove.svg
- search.svg
- settings.svg
- start.svg
- stop.svg
- stopped.svg
Expand Down
Loading

0 comments on commit 0cb7de0

Please sign in to comment.