Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 1.82 KB

README.md

File metadata and controls

87 lines (60 loc) · 1.82 KB

shop-manager

practical work at the department of cs6 of bmstu

Contents

Task

Perform an object decomposition, develop interface forms, an interface state diagram, class diagrams of the interface and subject areas, a diagram of the sequence of actions of one of the implemented operations. Develop, test and debug a program in Visual Studio or QT Creator.

The grocery store database contains information about the goods: batch number, product name, quantity (pieces), delivery date, expiration date (in days). The program must interactively generate a file, add and delete data, as well as perceive each of the listed requests and give an answer to it.

  1. Show all information about the goods received from the specified date.
  2. Determine the names of goods whose expiration date expires today.
  3. Determine the most perishable item (if there are several, show all).
  4. Build a schedule of changes in the volume of receipts of a given product by dates.

Image

Main Window

Installation

MacOS

  1. Install qt library:
brew install qt
  1. Build project:
git clone [email protected]:daronenko/shop-manager.git
cd shop-manager/build
qmake ../shop-manager.pro
make
  1. Run application:
open shop-manager.app

Linux

  1. Install qt library:
sudo apt update
sudo apt install qt5-qmake
  1. Build project:
git clone [email protected]:daronenko/shop-manager.git
cd shop-manager/build
qmake ../shop-manager.pro
make
  1. Run application:
./shop-manager