GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hidanvlad/Qt-Bacteria-Manager: A multi-window C++ application using Qt Model/View architecture and Observer pattern to manage biological data.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
Bacterium.cpp
Bacterium.cpp
 
 
Bacterium.h
Bacterium.h
 
 
BacteriumTableModel.cpp
BacteriumTableModel.cpp
 
 
BacteriumTableModel.h
BacteriumTableModel.h
 
 
Biologist.cpp
Biologist.cpp
 
 
Biologist.h
Biologist.h
 
 
BiologistWindow.cpp
BiologistWindow.cpp
 
 
BiologistWindow.h
BiologistWindow.h
 
 
CMakeLists.txt
CMakeLists.txt
 
 
Observer.h
Observer.h
 
 
README.md
README.md
 
 
Repository.cpp
Repository.cpp
 
 
Repository.h
Repository.h
 
 
Service.cpp
Service.cpp
 
 
Service.h
Service.h
 
 
SpeciesVisualizer.cpp
SpeciesVisualizer.cpp
 
 
SpeciesVisualizer.h
SpeciesVisualizer.h
 
 
bacteriums.txt
bacteriums.txt
 
 
biologists.txt
biologists.txt
 
 
main.cpp
main.cpp
 
 

Repository files navigation

Bacteria Research Manager šŸ”¬

A sophisticated desktop application developed in C++ using the Qt 6 Framework. This project simulates a biological research environment where multiple biologists can manage bacterial cultures and diseases simultaneously.

It demonstrates advanced GUI techniques including Model/View Architecture, Custom Painting, and the Observer Design Pattern for real-time synchronization across multiple windows.

šŸš€ Key Technical Features

  • Qt Model/View Architecture: Implemented a custom QAbstractTableModel (BacteriumTableModel) to display complex data in tabular format efficiently. This allows for sorting and filtering directly within the view logic.
  • Observer Design Pattern: The application supports multiple concurrent windows (simulating different biologists). When one user adds a bacterium or disease, all other open windows update instantly without manual refreshing.
  • Custom 2D Graphics: Includes a SpeciesVisualizer using QPainter to render geometric representations of bacteria populations based on real-time data attributes.
  • Layered Architecture:
    • Domain: Bacterium, Biologist entities.
    • Repository: Handles data persistence (reading/writing to text files).
    • Service: Business logic and coordination between the repository and GUI.
    • GUI: Custom Windows and Visualization widgets.

šŸ“ø Functionality

  1. Multi-Window Sync: Changes made in the "Alex" window are immediately reflected in the "Tudor" window.
  2. Data Management: Add bacteria and associated diseases.
  3. Filtering: Filter table data by species type using a ComboBox.
  4. Visualization: A dedicated view (SpeciesVisualizer) draws shapes representing the bacteria count and types.

šŸ“‚ Project Structure

ā”œā”€ā”€ domain/       # Bacterium, Biologist classes
ā”œā”€ā”€ repository/   # File handling logic
ā”œā”€ā”€ service/      # Controller logic
ā”œā”€ā”€ models/       # Custom QAbstractTableModel implementation
ā”œā”€ā”€ gui/          # BiologistWindow and SpeciesVisualizer
└── observer/     # Observer interface

About

A multi-window C++ application using Qt Model/View architecture and Observer pattern to manage biological data.

Topics

applicationapplication-codebacteriabiologistscodecppqt

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.