Coder Social home page Coder Social logo

ritabrata-goswami / gui-login-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 173 KB

By this GUI app we will do simple User Login and fetch the information about the user in dashboard.

Python 100.00%
pyqt5-desktop-application python qss-design qwidget sql sql-server sqlalchemy-python

gui-login-app's Introduction

GUI-Login-App

By this GUI app we will do simple User Login and fetch the information about the user in dashboard. This application used PyQt5. And For DB it used SQL Server. The design of this application has build by QSS i.e. Qt Style Sheets. QSS is very much similar to Cascading Style Sheets (CSS) for the web. The Syntax is also similar. For Example:-

QLineEdit {
  border-radius: 8px;
  border: 1px solid #e0e4e7;
  padding: 5px 15px;
}

or

#FirstHeading{
    font-size:25px;
    color:#00091a;
    margin-bottom: 5px;
    font-family: Monospace;
}

#FirstHeading is also use in web application in HTML to indicate 'Id' of an HTML element. But here it will indicate setObjectName("FirstHeading"). However, QSS supports only a limited number of rules in comparison with CSS.

The QSS file has to keep in same directoy as Py file and add this file by below syntax.

app.setStyleSheet(Path('login.qss').read_text())

In seperate file.

Before Login to App you have to setup the database name on the setting section. upper-right corner holds a setting icon. By clicking on that it will open the Database change option on which you have to write the actual selected database name on which the login and insert table exists. False name will leads to exception.

gui-login-app's People

Contributors

ritabrata-goswami avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.