Skip to content

Commit

Permalink
featuring v:1.0.1.4 LTE
Browse files Browse the repository at this point in the history
  • Loading branch information
tirtharajsinha committed May 17, 2021
1 parent 50aa918 commit 9d7272b
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 30 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<<<<<<< HEAD
<img src="static/devsat_x.png" width='100px' height="100px">

# DevSAT_Browser V:1.0.0.4
# DevSAT_Browser V:1.0.1.4 LTE


DevSAT browser is a webbrowser built with python3 and Pyqt5.<hr>
Expand Down Expand Up @@ -32,7 +32,8 @@ DevSAT browser is a webbrowser built with python3 and Pyqt5.<hr>
## settings window

<img src="stock/devsatss.JPG">

<hr>
<img src="stock/login.JPG">



Expand Down
49 changes: 30 additions & 19 deletions devsat.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ def setupUi(self, Dialog, browser):
self.version = QtWidgets.QLabel(self.about)
self.version.setGeometry(100, 110, 500, 20)
self.version.setObjectName("settings")
self.version.setText("Version alpha-V:1.0.0.4 (Official build) (64-bit)")
self.version.setText("Version V:1.0.1.4 LTE (Official build) (64-bit)")
self.version.setObjectName("head")
self.version.setStyleSheet("color:white; letter-spacing:1px; font-size:14px")

Expand Down Expand Up @@ -826,9 +826,9 @@ def logout(self):
class ui_winlog(object):

def __init__(self, dialog):
dialog.setGeometry(200, 200, 500, 650)
dialog.setFixedWidth(500)
dialog.setFixedHeight(650)
dialog.setGeometry(200, 200, 1000, 600)
# dialog.setFixedWidth(500)
# dialog.setFixedHeight(650)
dialog.setWindowTitle("Sign-in")
dialog.setWindowIcon(QIcon("static/user-green.png"))

Expand All @@ -840,9 +840,13 @@ def __init__(self, dialog):
self.initui(dialog)

def initui(self, dialog):
pass
self.leftf = QtWidgets.QLabel(dialog)
self.leftf.setGeometry(0, 0, 500, 600)
self.leftf.setStyleSheet("background-image:url('static/loginbg.jpg');")
# head image
self.image = QtWidgets.QLabel(dialog)
self.image.setGeometry(140, 20, 240, 180)
self.image.setGeometry(120, 150, 260, 190)
self.image.setAutoFillBackground(False)
self.image.setText("")
self.image.setPixmap(QtGui.QPixmap("static/devsat.png"))
Expand All @@ -851,53 +855,60 @@ def initui(self, dialog):
self.image.setOpenExternalLinks(False)
self.image.setObjectName("image")

# heading text
# # heading text
self.head = QtWidgets.QLabel(dialog)
self.head.move(180, 200)
self.head.setText("welcome")
self.head.move(90, 380)
self.head.setText("WELCOME BACK")
self.head.setObjectName("head")
self.head.adjustSize()

# # heading text right
self.headr = QtWidgets.QLabel(dialog)
self.headr.move(590, 50)
self.headr.setText("Sign in/Sign up")
self.headr.setObjectName("headr")
self.headr.adjustSize()

# input fields
self.nameinput = QLineEdit(dialog)
self.nameinput.setGeometry(50, 280, 400, 50)
self.nameinput.setGeometry(550, 180, 400, 50)
self.nameinput.setPlaceholderText(" UserName")

# input email
self.emailinput = QLineEdit(dialog)
self.emailinput.setGeometry(50, 350, 400, 50)
self.emailinput.setGeometry(550, 250, 400, 50)
self.emailinput.setPlaceholderText(" Email")

#
# input password
self.passinput = QLineEdit(dialog)
self.passinput.setGeometry(50, 420, 400, 50)
self.passinput.setGeometry(550, 320, 400, 50)
self.passinput.setPlaceholderText(" password")
self.passinput.setEchoMode(QLineEdit.Password)

#
# radio option1
self.radiobtn1 = QRadioButton(dialog)
self.radiobtn1.setGeometry(100, 500, 100, 20)
self.radiobtn1.setGeometry(600, 400, 100, 20)
self.radiobtn1.setText("Sign-in")
self.radiobtn1.adjustSize()
self.radiobtn1.setChecked(True)

# radio option2
self.radiobtn2 = QRadioButton(dialog)
self.radiobtn2.setGeometry(300, 500, 100, 20)
self.radiobtn2.setGeometry(800, 400, 100, 20)
self.radiobtn2.setText("Register")
self.radiobtn2.adjustSize()

#
# submit button
self.b1 = QtWidgets.QPushButton(dialog)
self.b1.setText("SUBMIT")
self.b1.setObjectName("btn1")
self.b1.move(190, 550)
self.b1.move(690, 450)
self.b1.adjustSize()
self.b1.clicked.connect(self.submit)

#
# feedback lable
self.feed = QLabel(dialog)
self.feed.setGeometry(0, 600, 500, 50)
self.feed.setGeometry(500, 550, 500, 50)
self.feed.setText("")
self.feed.setObjectName("feedback")

Expand Down
Binary file modified static/devsat.db
Binary file not shown.
25 changes: 16 additions & 9 deletions static/login.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
QDialog {
background: qlineargradient(
x1: 0,
y1: 0,
x2: 0,
y2: 1,
stop: 0 #66ffcc,
stop: 1 #006666
);
background-color:white;
}
QPushButton#btn1 {
background-color: black;
Expand All @@ -27,9 +20,23 @@ QLabel#head {
color: rgb(218, 18, 175);
font-weight: 900;
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
text-decoration: underline;
color:cyan;
background-color:rgb(59, 59, 59);
padding:15px;
border-radius:35px;

}
QLabel#headr {
font-size: 40px;
color: rgb(218, 18, 175);
font-weight: 900;
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
color:rgb(142, 230, 119);


}
QLabel#feedback {

font-size: 20px;
padding-left: 200px;
}
Expand Down
Binary file added static/loginbg.jpg
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 stock/login.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d7272b

Please sign in to comment.