-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from oskarsh/beta
Bug fixes
- Loading branch information
Showing
8 changed files
with
172 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,26 @@ | |
<ui version="4.0"> | ||
<class>main_window</class> | ||
<widget class="QMainWindow" name="main_window"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>550</width> | ||
<height>800</height> | ||
</rect> | ||
</property> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>400</width> | ||
<height>600</height> | ||
</size> | ||
</property> | ||
<property name="windowTitle"> | ||
<string notr="true">Yin & Yang</string> | ||
</property> | ||
|
@@ -29,7 +43,7 @@ | |
</size> | ||
</property> | ||
<property name="currentIndex"> | ||
<number>0</number> | ||
<number>1</number> | ||
</property> | ||
<widget class="QWidget" name="settings"> | ||
<attribute name="title"> | ||
|
@@ -316,11 +330,48 @@ | |
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>348</width> | ||
<height>451</height> | ||
<width>523</width> | ||
<height>663</height> | ||
</rect> | ||
</property> | ||
<layout class="QVBoxLayout" name="plugins_scroll_content_layout"/> | ||
<layout class="QVBoxLayout" name="plugins_scroll_content_layout"> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QGroupBox" name="samplePluginGroupBox"> | ||
<property name="title"> | ||
<string>Sample Plugin</string> | ||
</property> | ||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
<item> | ||
<widget class="QComboBox" name="comboBox"> | ||
<property name="sizeAdjustPolicy"> | ||
<enum>QComboBox::AdjustToContentsOnFirstShow</enum> | ||
</property> | ||
<property name="placeholderText"> | ||
<string>[email protected]</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QComboBox" name="comboBox_2"> | ||
<property name="currentText"> | ||
<string notr="true"/> | ||
</property> | ||
<property name="sizeAdjustPolicy"> | ||
<enum>QComboBox::AdjustToContentsOnFirstShow</enum> | ||
</property> | ||
<property name="placeholderText"> | ||
<string>[email protected]</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
</widget> | ||
</item> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
PySide6>=6.0.0 | ||
suntime~=1.2.5 | ||
psutil~=5.9.1 | ||
numpy==1.23.5 | ||
psutil==5.9.4 | ||
PySide6==6.4.1 | ||
PySide6-Addons==6.4.1 | ||
PySide6-Essentials==6.4.1 | ||
python-dateutil==2.8.2 | ||
shiboken6==6.4.1 | ||
six==1.16.0 | ||
suntime==1.2.5 | ||
systemd-python==234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
################################################################################ | ||
## Form generated from reading UI file 'main_window.ui' | ||
## | ||
## Created by: Qt User Interface Compiler version 6.3.1 | ||
## Created by: Qt User Interface Compiler version 6.4.1 | ||
## | ||
## WARNING! All changes made in this file will be lost when recompiling UI file! | ||
################################################################################ | ||
|
@@ -15,30 +15,33 @@ | |
QFont, QFontDatabase, QGradient, QIcon, | ||
QImage, QKeySequence, QLinearGradient, QPainter, | ||
QPalette, QPixmap, QRadialGradient, QTransform) | ||
from PySide6.QtWidgets import (QAbstractButton, QApplication, QCheckBox, QDialogButtonBox, | ||
QDoubleSpinBox, QFormLayout, QFrame, QLabel, | ||
QMainWindow, QRadioButton, QScrollArea, QSizePolicy, | ||
QSpacerItem, QStatusBar, QTabWidget, QTimeEdit, | ||
QVBoxLayout, QWidget) | ||
from PySide6.QtWidgets import (QAbstractButton, QApplication, QCheckBox, QComboBox, | ||
QDialogButtonBox, QDoubleSpinBox, QFormLayout, QFrame, | ||
QGroupBox, QHBoxLayout, QLabel, QMainWindow, | ||
QRadioButton, QScrollArea, QSizePolicy, QSpacerItem, | ||
QStatusBar, QTabWidget, QTimeEdit, QVBoxLayout, | ||
QWidget) | ||
import resources_rc | ||
|
||
class Ui_main_window(object): | ||
def setupUi(self, main_window): | ||
if not main_window.objectName(): | ||
main_window.setObjectName(u"main_window") | ||
sizePolicy = QSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.MinimumExpanding) | ||
main_window.resize(550, 800) | ||
sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.MinimumExpanding) | ||
sizePolicy.setHorizontalStretch(0) | ||
sizePolicy.setVerticalStretch(0) | ||
sizePolicy.setHeightForWidth(main_window.sizePolicy().hasHeightForWidth()) | ||
main_window.setSizePolicy(sizePolicy) | ||
main_window.setMinimumSize(QSize(400, 600)) | ||
main_window.setWindowTitle(u"Yin & Yang") | ||
icon = QIcon() | ||
iconThemeName = u"yin_yang" | ||
if QIcon.hasThemeIcon(iconThemeName): | ||
icon = QIcon.fromTheme(iconThemeName) | ||
else: | ||
icon.addFile(u":/icons/logo", QSize(), QIcon.Normal, QIcon.Off) | ||
|
||
main_window.setWindowIcon(icon) | ||
main_window.setLocale(QLocale(QLocale.English, QLocale.UnitedKingdom)) | ||
self.central_widget = QWidget(main_window) | ||
|
@@ -240,11 +243,39 @@ def setupUi(self, main_window): | |
self.plugins_scroll.setWidgetResizable(True) | ||
self.plugins_scroll_content = QWidget() | ||
self.plugins_scroll_content.setObjectName(u"plugins_scroll_content") | ||
self.plugins_scroll_content.setGeometry(QRect(0, 0, 348, 451)) | ||
self.plugins_scroll_content.setGeometry(QRect(0, 0, 523, 663)) | ||
self.plugins_scroll_content_layout = QVBoxLayout(self.plugins_scroll_content) | ||
self.plugins_scroll_content_layout.setSpacing(6) | ||
self.plugins_scroll_content_layout.setContentsMargins(11, 11, 11, 11) | ||
self.plugins_scroll_content_layout.setObjectName(u"plugins_scroll_content_layout") | ||
self.horizontalLayout = QHBoxLayout() | ||
self.horizontalLayout.setSpacing(6) | ||
self.horizontalLayout.setObjectName(u"horizontalLayout") | ||
self.samplePluginGroupBox = QGroupBox(self.plugins_scroll_content) | ||
self.samplePluginGroupBox.setObjectName(u"samplePluginGroupBox") | ||
self.horizontalLayout_2 = QHBoxLayout(self.samplePluginGroupBox) | ||
self.horizontalLayout_2.setSpacing(6) | ||
self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11) | ||
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2") | ||
self.comboBox = QComboBox(self.samplePluginGroupBox) | ||
self.comboBox.setObjectName(u"comboBox") | ||
self.comboBox.setSizeAdjustPolicy(QComboBox.AdjustToContentsOnFirstShow) | ||
|
||
self.horizontalLayout_2.addWidget(self.comboBox) | ||
|
||
self.comboBox_2 = QComboBox(self.samplePluginGroupBox) | ||
self.comboBox_2.setObjectName(u"comboBox_2") | ||
self.comboBox_2.setCurrentText(u"") | ||
self.comboBox_2.setSizeAdjustPolicy(QComboBox.AdjustToContentsOnFirstShow) | ||
|
||
self.horizontalLayout_2.addWidget(self.comboBox_2) | ||
|
||
|
||
self.horizontalLayout.addWidget(self.samplePluginGroupBox) | ||
|
||
|
||
self.plugins_scroll_content_layout.addLayout(self.horizontalLayout) | ||
|
||
self.plugins_scroll.setWidget(self.plugins_scroll_content) | ||
|
||
self.plugins_layout.addWidget(self.plugins_scroll) | ||
|
@@ -287,6 +318,9 @@ def retranslateUi(self, main_window): | |
self.toggle_sound.setText(QCoreApplication.translate("main_window", u"Make a sound when switching the theme", None)) | ||
self.toggle_notification.setText(QCoreApplication.translate("main_window", u"Send a notification", None)) | ||
self.tab_widget.setTabText(self.tab_widget.indexOf(self.settings), QCoreApplication.translate("main_window", u"Settings", None)) | ||
self.samplePluginGroupBox.setTitle(QCoreApplication.translate("main_window", u"Sample Plugin", None)) | ||
self.comboBox.setPlaceholderText(QCoreApplication.translate("main_window", u"[email protected]", None)) | ||
self.comboBox_2.setPlaceholderText(QCoreApplication.translate("main_window", u"[email protected]", None)) | ||
self.tab_widget.setTabText(self.tab_widget.indexOf(self.plugins), QCoreApplication.translate("main_window", u"Plugins", None)) | ||
pass | ||
# retranslateUi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters