Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Inventory Management System

A C++ inventory management application with Qt 6 GUI, built with CMake and Ninja. Integrates 6 STL data structures for CRUD operations, order processing, undo, and stock alerts.

Features

  • Full CRUD: Add, edit, delete, and search products
  • 6 Data Structures: unordered_map, queue, stack, priority_queue, set, map
  • Order Processing: Place and fulfill FIFO orders with stock deduction
  • Undo System: Revert any action (add, remove, update, order)
  • Smart Search: Real-time text + category filtering
  • Stock Alerts: Priority-ranked low-stock warnings
  • CSV Persistence: Save/load inventory to file
  • Input Validation: Sensible name/price/quantity constraints

Build & Run

Prerequisites

  • Qt 6.11.1 with MinGW 13.10+ (Windows)
  • CMake 3.16+
  • Ninja

Configure

cmake -S . -B build -G Ninja ^
  -DCMAKE_MAKE_PROGRAM=C:/Qt/Tools/Ninja/ninja.exe ^
  -DCMAKE_PREFIX_PATH=C:/Qt/6.11.1/mingw_64 ^
  -DCMAKE_CXX_COMPILER=C:/Qt/Tools/mingw1310_64/bin/g++.exe ^
  -DCMAKE_C_COMPILER=C:/Qt/Tools/mingw1310_64/bin/gcc.exe

Build

cmake --build build

Deploy & Run

C:/Qt/6.11.1/mingw_64/bin/windeployqt.exe build/inventory.exe
build/inventory.exe

Project Structure

src/
  main.cpp              Entry point
  Product.h             Data class
  Inventory.h/.cpp      Business logic
  MainWindow.h/.cpp     Main GUI window (+ MainWindow.ui)
  AddProductDialog.h/.cpp/.ui  Add/Edit dialog
  PlaceOrderDialog.h/.cpp/.ui  Order dialog
CMakeLists.txt          Build configuration
main.cpp                Legacy CLI version (backup)

Documentation

  • Documentation_Code_Architecture_Testing.pdf — Code structure, algorithms, and testing
  • Documentation_Development_Process.pdf — Full project journey from CLI to Qt GUI

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages