diff --git a/.gitignore b/.gitignore index c7dd40d..c130607 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ wav_converter.py to_do.txt csv_info.txt pyinstaller_cmd.txt -themes/.current_theme +src/themes/.current_theme launch.bat designer.bat *.sh diff --git a/README.md b/README.md index 0a04063..7564e2e 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,9 @@ Description * Modulation 1 ; Modulation 2 ; ... * ID Code ``` ## Themes -The only folder with the pre-built package is the `themes` one. In this way the themes are fully customizable and you can add your own. New themes (in the `themes` folder) will appear automatically in the main menu and the last used theme will be saved as the favorite one (a restart of Artemis will use the last used theme). +The only folder with the pre-built package is the `themes` one. In this way the themes are fully customizable and you can add your own. New themes (in the `themes` folder) will appear automatically in the main menu and the last used theme will be saved as the favorite one (a restart of Artemis will use the last used theme). + +Some of the available themes were adapted from https://github.com/GTRONICK/QSS. ## License This program (ARTEMIS 3, 2014-2019) is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. diff --git a/.flake8 b/src/.flake8 similarity index 100% rename from .flake8 rename to src/.flake8 diff --git a/artemis.py b/src/artemis.py similarity index 100% rename from artemis.py rename to src/artemis.py diff --git a/artemis.ui b/src/artemis.ui similarity index 100% rename from artemis.ui rename to src/artemis.ui diff --git a/audio_player.py b/src/audio_player.py similarity index 100% rename from audio_player.py rename to src/audio_player.py diff --git a/clickable_progress_bar.py b/src/clickable_progress_bar.py similarity index 100% rename from clickable_progress_bar.py rename to src/clickable_progress_bar.py diff --git a/constants.py b/src/constants.py similarity index 100% rename from constants.py rename to src/constants.py diff --git a/default_imgs.qrc b/src/default_imgs.qrc similarity index 100% rename from default_imgs.qrc rename to src/default_imgs.qrc diff --git a/default_imgs_rc.py b/src/default_imgs_rc.py similarity index 100% rename from default_imgs_rc.py rename to src/default_imgs_rc.py diff --git a/double_text_button.py b/src/double_text_button.py similarity index 100% rename from double_text_button.py rename to src/double_text_button.py diff --git a/download_db_window.ui b/src/download_db_window.ui similarity index 100% rename from download_db_window.ui rename to src/download_db_window.ui diff --git a/download_window.py b/src/download_window.py similarity index 100% rename from download_window.py rename to src/download_window.py diff --git a/fixed_aspect_ratio_label.py b/src/fixed_aspect_ratio_label.py similarity index 100% rename from fixed_aspect_ratio_label.py rename to src/fixed_aspect_ratio_label.py diff --git a/fixed_aspect_ratio_widget.py b/src/fixed_aspect_ratio_widget.py similarity index 100% rename from fixed_aspect_ratio_widget.py rename to src/fixed_aspect_ratio_widget.py diff --git a/switchable_label.py b/src/switchable_label.py similarity index 100% rename from switchable_label.py rename to src/switchable_label.py diff --git a/themes/acqua/acqua.qss b/src/themes/acqua/acqua.qss similarity index 100% rename from themes/acqua/acqua.qss rename to src/themes/acqua/acqua.qss diff --git a/themes/acqua/colors.txt b/src/themes/acqua/colors.txt similarity index 100% rename from themes/acqua/colors.txt rename to src/themes/acqua/colors.txt diff --git a/themes/acqua/icons/down-arrow.png b/src/themes/acqua/icons/down-arrow.png similarity index 100% rename from themes/acqua/icons/down-arrow.png rename to src/themes/acqua/icons/down-arrow.png diff --git a/themes/acqua/icons/down-arrow_hover.png b/src/themes/acqua/icons/down-arrow_hover.png similarity index 100% rename from themes/acqua/icons/down-arrow_hover.png rename to src/themes/acqua/icons/down-arrow_hover.png diff --git a/themes/acqua/icons/down-arrow_off.png b/src/themes/acqua/icons/down-arrow_off.png similarity index 100% rename from themes/acqua/icons/down-arrow_off.png rename to src/themes/acqua/icons/down-arrow_off.png diff --git a/themes/acqua/icons/search_icon.png b/src/themes/acqua/icons/search_icon.png similarity index 100% rename from themes/acqua/icons/search_icon.png rename to src/themes/acqua/icons/search_icon.png diff --git a/themes/acqua/icons/up-arrow.png b/src/themes/acqua/icons/up-arrow.png similarity index 100% rename from themes/acqua/icons/up-arrow.png rename to src/themes/acqua/icons/up-arrow.png diff --git a/themes/acqua/icons/up-arrow_hover.png b/src/themes/acqua/icons/up-arrow_hover.png similarity index 100% rename from themes/acqua/icons/up-arrow_hover.png rename to src/themes/acqua/icons/up-arrow_hover.png diff --git a/themes/acqua/icons/up-arrow_off.png b/src/themes/acqua/icons/up-arrow_off.png similarity index 100% rename from themes/acqua/icons/up-arrow_off.png rename to src/themes/acqua/icons/up-arrow_off.png diff --git a/themes/acqua/icons/volume.png b/src/themes/acqua/icons/volume.png similarity index 100% rename from themes/acqua/icons/volume.png rename to src/themes/acqua/icons/volume.png diff --git a/themes/console_style/colors.txt b/src/themes/console_style/colors.txt similarity index 100% rename from themes/console_style/colors.txt rename to src/themes/console_style/colors.txt diff --git a/themes/console_style/console_style.qss b/src/themes/console_style/console_style.qss similarity index 100% rename from themes/console_style/console_style.qss rename to src/themes/console_style/console_style.qss diff --git a/themes/console_style/icons/down-arrow.png b/src/themes/console_style/icons/down-arrow.png similarity index 100% rename from themes/console_style/icons/down-arrow.png rename to src/themes/console_style/icons/down-arrow.png diff --git a/themes/console_style/icons/down-arrow_hover.png b/src/themes/console_style/icons/down-arrow_hover.png similarity index 100% rename from themes/console_style/icons/down-arrow_hover.png rename to src/themes/console_style/icons/down-arrow_hover.png diff --git a/themes/console_style/icons/down-arrow_off.png b/src/themes/console_style/icons/down-arrow_off.png similarity index 100% rename from themes/console_style/icons/down-arrow_off.png rename to src/themes/console_style/icons/down-arrow_off.png diff --git a/themes/console_style/icons/search_icon.png b/src/themes/console_style/icons/search_icon.png similarity index 100% rename from themes/console_style/icons/search_icon.png rename to src/themes/console_style/icons/search_icon.png diff --git a/themes/console_style/icons/up-arrow.png b/src/themes/console_style/icons/up-arrow.png similarity index 100% rename from themes/console_style/icons/up-arrow.png rename to src/themes/console_style/icons/up-arrow.png diff --git a/themes/console_style/icons/up-arrow_hover.png b/src/themes/console_style/icons/up-arrow_hover.png similarity index 100% rename from themes/console_style/icons/up-arrow_hover.png rename to src/themes/console_style/icons/up-arrow_hover.png diff --git a/themes/console_style/icons/up-arrow_off.png b/src/themes/console_style/icons/up-arrow_off.png similarity index 100% rename from themes/console_style/icons/up-arrow_off.png rename to src/themes/console_style/icons/up-arrow_off.png diff --git a/themes/console_style/icons/volume.png b/src/themes/console_style/icons/volume.png similarity index 100% rename from themes/console_style/icons/volume.png rename to src/themes/console_style/icons/volume.png diff --git a/themes/dark/colors.txt b/src/themes/dark/colors.txt similarity index 100% rename from themes/dark/colors.txt rename to src/themes/dark/colors.txt diff --git a/themes/dark/dark.qss b/src/themes/dark/dark.qss similarity index 100% rename from themes/dark/dark.qss rename to src/themes/dark/dark.qss diff --git a/themes/dark/icons/down-arrow.png b/src/themes/dark/icons/down-arrow.png similarity index 100% rename from themes/dark/icons/down-arrow.png rename to src/themes/dark/icons/down-arrow.png diff --git a/themes/dark/icons/down-arrow_hover.png b/src/themes/dark/icons/down-arrow_hover.png similarity index 100% rename from themes/dark/icons/down-arrow_hover.png rename to src/themes/dark/icons/down-arrow_hover.png diff --git a/themes/dark/icons/down-arrow_off.png b/src/themes/dark/icons/down-arrow_off.png similarity index 100% rename from themes/dark/icons/down-arrow_off.png rename to src/themes/dark/icons/down-arrow_off.png diff --git a/themes/dark/icons/off.png b/src/themes/dark/icons/off.png similarity index 100% rename from themes/dark/icons/off.png rename to src/themes/dark/icons/off.png diff --git a/themes/dark/icons/off_press.png b/src/themes/dark/icons/off_press.png similarity index 100% rename from themes/dark/icons/off_press.png rename to src/themes/dark/icons/off_press.png diff --git a/themes/dark/icons/on.png b/src/themes/dark/icons/on.png similarity index 100% rename from themes/dark/icons/on.png rename to src/themes/dark/icons/on.png diff --git a/themes/dark/icons/on_press.png b/src/themes/dark/icons/on_press.png similarity index 100% rename from themes/dark/icons/on_press.png rename to src/themes/dark/icons/on_press.png diff --git a/themes/dark/icons/search_icon.png b/src/themes/dark/icons/search_icon.png similarity index 100% rename from themes/dark/icons/search_icon.png rename to src/themes/dark/icons/search_icon.png diff --git a/themes/dark/icons/up-arrow.png b/src/themes/dark/icons/up-arrow.png similarity index 100% rename from themes/dark/icons/up-arrow.png rename to src/themes/dark/icons/up-arrow.png diff --git a/themes/dark/icons/up-arrow_hover.png b/src/themes/dark/icons/up-arrow_hover.png similarity index 100% rename from themes/dark/icons/up-arrow_hover.png rename to src/themes/dark/icons/up-arrow_hover.png diff --git a/themes/dark/icons/up-arrow_off.png b/src/themes/dark/icons/up-arrow_off.png similarity index 100% rename from themes/dark/icons/up-arrow_off.png rename to src/themes/dark/icons/up-arrow_off.png diff --git a/themes/dark/icons/volume.png b/src/themes/dark/icons/volume.png similarity index 100% rename from themes/dark/icons/volume.png rename to src/themes/dark/icons/volume.png diff --git a/themes/elegant_dark/colors.txt b/src/themes/elegant_dark/colors.txt similarity index 100% rename from themes/elegant_dark/colors.txt rename to src/themes/elegant_dark/colors.txt diff --git a/themes/elegant_dark/elegant_dark.qss b/src/themes/elegant_dark/elegant_dark.qss similarity index 100% rename from themes/elegant_dark/elegant_dark.qss rename to src/themes/elegant_dark/elegant_dark.qss diff --git a/themes/elegant_dark/icons/down-arrow.png b/src/themes/elegant_dark/icons/down-arrow.png similarity index 100% rename from themes/elegant_dark/icons/down-arrow.png rename to src/themes/elegant_dark/icons/down-arrow.png diff --git a/themes/elegant_dark/icons/down-arrow_hover.png b/src/themes/elegant_dark/icons/down-arrow_hover.png similarity index 100% rename from themes/elegant_dark/icons/down-arrow_hover.png rename to src/themes/elegant_dark/icons/down-arrow_hover.png diff --git a/themes/elegant_dark/icons/down-arrow_off.png b/src/themes/elegant_dark/icons/down-arrow_off.png similarity index 100% rename from themes/elegant_dark/icons/down-arrow_off.png rename to src/themes/elegant_dark/icons/down-arrow_off.png diff --git a/themes/elegant_dark/icons/search_icon.png b/src/themes/elegant_dark/icons/search_icon.png similarity index 100% rename from themes/elegant_dark/icons/search_icon.png rename to src/themes/elegant_dark/icons/search_icon.png diff --git a/themes/elegant_dark/icons/up-arrow.png b/src/themes/elegant_dark/icons/up-arrow.png similarity index 100% rename from themes/elegant_dark/icons/up-arrow.png rename to src/themes/elegant_dark/icons/up-arrow.png diff --git a/themes/elegant_dark/icons/up-arrow_hover.png b/src/themes/elegant_dark/icons/up-arrow_hover.png similarity index 100% rename from themes/elegant_dark/icons/up-arrow_hover.png rename to src/themes/elegant_dark/icons/up-arrow_hover.png diff --git a/themes/elegant_dark/icons/up-arrow_off.png b/src/themes/elegant_dark/icons/up-arrow_off.png similarity index 100% rename from themes/elegant_dark/icons/up-arrow_off.png rename to src/themes/elegant_dark/icons/up-arrow_off.png diff --git a/themes/elegant_dark/icons/volume.png b/src/themes/elegant_dark/icons/volume.png similarity index 100% rename from themes/elegant_dark/icons/volume.png rename to src/themes/elegant_dark/icons/volume.png diff --git a/themes/material_design_dark/colors.txt b/src/themes/material_design_dark/colors.txt similarity index 100% rename from themes/material_design_dark/colors.txt rename to src/themes/material_design_dark/colors.txt diff --git a/themes/material_design_dark/icons/down-arrow.png b/src/themes/material_design_dark/icons/down-arrow.png similarity index 100% rename from themes/material_design_dark/icons/down-arrow.png rename to src/themes/material_design_dark/icons/down-arrow.png diff --git a/themes/material_design_dark/icons/down-arrow_hover.png b/src/themes/material_design_dark/icons/down-arrow_hover.png similarity index 100% rename from themes/material_design_dark/icons/down-arrow_hover.png rename to src/themes/material_design_dark/icons/down-arrow_hover.png diff --git a/themes/material_design_dark/icons/down-arrow_off.png b/src/themes/material_design_dark/icons/down-arrow_off.png similarity index 100% rename from themes/material_design_dark/icons/down-arrow_off.png rename to src/themes/material_design_dark/icons/down-arrow_off.png diff --git a/themes/material_design_dark/icons/off.png b/src/themes/material_design_dark/icons/off.png similarity index 100% rename from themes/material_design_dark/icons/off.png rename to src/themes/material_design_dark/icons/off.png diff --git a/themes/material_design_dark/icons/off_press.png b/src/themes/material_design_dark/icons/off_press.png similarity index 100% rename from themes/material_design_dark/icons/off_press.png rename to src/themes/material_design_dark/icons/off_press.png diff --git a/themes/material_design_dark/icons/on.png b/src/themes/material_design_dark/icons/on.png similarity index 100% rename from themes/material_design_dark/icons/on.png rename to src/themes/material_design_dark/icons/on.png diff --git a/themes/material_design_dark/icons/on_press.png b/src/themes/material_design_dark/icons/on_press.png similarity index 100% rename from themes/material_design_dark/icons/on_press.png rename to src/themes/material_design_dark/icons/on_press.png diff --git a/themes/material_design_dark/icons/search_icon.png b/src/themes/material_design_dark/icons/search_icon.png similarity index 100% rename from themes/material_design_dark/icons/search_icon.png rename to src/themes/material_design_dark/icons/search_icon.png diff --git a/themes/material_design_dark/icons/up-arrow.png b/src/themes/material_design_dark/icons/up-arrow.png similarity index 100% rename from themes/material_design_dark/icons/up-arrow.png rename to src/themes/material_design_dark/icons/up-arrow.png diff --git a/themes/material_design_dark/icons/up-arrow_hover.png b/src/themes/material_design_dark/icons/up-arrow_hover.png similarity index 100% rename from themes/material_design_dark/icons/up-arrow_hover.png rename to src/themes/material_design_dark/icons/up-arrow_hover.png diff --git a/themes/material_design_dark/icons/up-arrow_off.png b/src/themes/material_design_dark/icons/up-arrow_off.png similarity index 100% rename from themes/material_design_dark/icons/up-arrow_off.png rename to src/themes/material_design_dark/icons/up-arrow_off.png diff --git a/themes/material_design_dark/icons/volume.png b/src/themes/material_design_dark/icons/volume.png similarity index 100% rename from themes/material_design_dark/icons/volume.png rename to src/themes/material_design_dark/icons/volume.png diff --git a/themes/material_design_dark/material_design_dark.qss b/src/themes/material_design_dark/material_design_dark.qss similarity index 100% rename from themes/material_design_dark/material_design_dark.qss rename to src/themes/material_design_dark/material_design_dark.qss diff --git a/themes/material_design_light/colors.txt b/src/themes/material_design_light/colors.txt similarity index 100% rename from themes/material_design_light/colors.txt rename to src/themes/material_design_light/colors.txt diff --git a/themes/material_design_light/icons/down-arrow.png b/src/themes/material_design_light/icons/down-arrow.png similarity index 100% rename from themes/material_design_light/icons/down-arrow.png rename to src/themes/material_design_light/icons/down-arrow.png diff --git a/themes/material_design_light/icons/down-arrow_hover.png b/src/themes/material_design_light/icons/down-arrow_hover.png similarity index 100% rename from themes/material_design_light/icons/down-arrow_hover.png rename to src/themes/material_design_light/icons/down-arrow_hover.png diff --git a/themes/material_design_light/icons/down-arrow_off.png b/src/themes/material_design_light/icons/down-arrow_off.png similarity index 100% rename from themes/material_design_light/icons/down-arrow_off.png rename to src/themes/material_design_light/icons/down-arrow_off.png diff --git a/themes/material_design_light/icons/off.png b/src/themes/material_design_light/icons/off.png similarity index 100% rename from themes/material_design_light/icons/off.png rename to src/themes/material_design_light/icons/off.png diff --git a/themes/material_design_light/icons/off_press.png b/src/themes/material_design_light/icons/off_press.png similarity index 100% rename from themes/material_design_light/icons/off_press.png rename to src/themes/material_design_light/icons/off_press.png diff --git a/themes/material_design_light/icons/on.png b/src/themes/material_design_light/icons/on.png similarity index 100% rename from themes/material_design_light/icons/on.png rename to src/themes/material_design_light/icons/on.png diff --git a/themes/material_design_light/icons/on_press.png b/src/themes/material_design_light/icons/on_press.png similarity index 100% rename from themes/material_design_light/icons/on_press.png rename to src/themes/material_design_light/icons/on_press.png diff --git a/themes/material_design_light/icons/search_icon.png b/src/themes/material_design_light/icons/search_icon.png similarity index 100% rename from themes/material_design_light/icons/search_icon.png rename to src/themes/material_design_light/icons/search_icon.png diff --git a/themes/material_design_light/icons/up-arrow.png b/src/themes/material_design_light/icons/up-arrow.png similarity index 100% rename from themes/material_design_light/icons/up-arrow.png rename to src/themes/material_design_light/icons/up-arrow.png diff --git a/themes/material_design_light/icons/up-arrow_hover.png b/src/themes/material_design_light/icons/up-arrow_hover.png similarity index 100% rename from themes/material_design_light/icons/up-arrow_hover.png rename to src/themes/material_design_light/icons/up-arrow_hover.png diff --git a/themes/material_design_light/icons/up-arrow_off.png b/src/themes/material_design_light/icons/up-arrow_off.png similarity index 100% rename from themes/material_design_light/icons/up-arrow_off.png rename to src/themes/material_design_light/icons/up-arrow_off.png diff --git a/themes/material_design_light/icons/volume.png b/src/themes/material_design_light/icons/volume.png similarity index 100% rename from themes/material_design_light/icons/volume.png rename to src/themes/material_design_light/icons/volume.png diff --git a/themes/material_design_light/material_design_light.qss b/src/themes/material_design_light/material_design_light.qss similarity index 100% rename from themes/material_design_light/material_design_light.qss rename to src/themes/material_design_light/material_design_light.qss diff --git a/themesmanager.py b/src/themesmanager.py similarity index 100% rename from themesmanager.py rename to src/themesmanager.py diff --git a/threads.py b/src/threads.py similarity index 100% rename from threads.py rename to src/threads.py diff --git a/utilities.py b/src/utilities.py similarity index 100% rename from utilities.py rename to src/utilities.py diff --git a/weatherdata.py b/src/weatherdata.py similarity index 100% rename from weatherdata.py rename to src/weatherdata.py