Skip to content

Commit

Permalink
Optimize.
Browse files Browse the repository at this point in the history
  • Loading branch information
YBCA7 authored Mar 20, 2024
1 parent 062b551 commit fbe8dbc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from PyQt5.QtWidgets import QWidget, QHBoxLayout, QLabel, QVBoxLayout
from PyQt5.QtGui import QFont
from qfluentwidgets import FluentIcon
from qfluentwidgets import (TextEdit, RadioButton, PrimaryPushButton,
from qfluentwidgets import (TextEdit, RadioButton, PrimaryPushButton,
LineEdit, MessageBox, HyperlinkButton, ScrollBar)
from calculate import sss, sas, aas, asa, hl

Expand Down Expand Up @@ -59,8 +59,10 @@ def __init__(self):
self.e_ac = LineEdit(self)

self.pb = PrimaryPushButton('Process', self)
self.lb = HyperlinkButton(url='https://github.com/Unqualified-Developers/Triangles',
text='Source Code Repository', icon=FluentIcon.GITHUB)
self.lb = HyperlinkButton(
url='https://github.com/Unqualified-Developers/Triangles',
text='Source Code Repository', icon=FluentIcon.GITHUB
)

self.r_sss.clicked.connect(self.sss_c)
self.r_sas.clicked.connect(self.sas_c)
Expand Down

0 comments on commit fbe8dbc

Please sign in to comment.