Skip to content

sensorario/hello-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting Up a Virtual Environment

To start a virtual environment for this project, follow these steps:

  1. Create a Virtual Environment:

    python3 -m venv venv
  2. Activate the Virtual Environment:

    • On macOS/Linux:
      source venv/bin/activate
    • On Windows:
      .\venv\Scripts\activate
  3. Install Dependencies (if any):

    pip install -r requirements.txt
  4. Deactivate the Virtual Environment (when done):

    deactivate

Panoramica

In questo repository trovi un semplice esempio di applicazione desktop realizzata con PyQt5. Lo script serve a creare:

  • Finestra principale (“Hello PyQt5”)

    • Quattro etichette (QLabel) posizionate verticalmente con testi di esempio (“Text 1” … “Text 4”).
    • Un pulsante Quit che chiude l’applicazione.
    • Un pulsante Modale che apre una finestra secondaria in modalità modale.
  • Finestra secondaria (modal dialog)

    • Intitolata “Secondary Window”.
    • Contiene una singola etichetta che mostra il testo “This is the secondary window”.
    • Blocca l’interazione con la finestra principale finché non viene chiusa.

Dipendenze

  • Python 3.x
  • PyQt5

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages