ZuzannaZawartka / movie-ticket-management-system

C++ project with gui and database. Manage movies, schedules and book tickets.
5 stars 0 forks source link
cpp gui qt sql

Cinema Management System

Overview

The Cinema Ticket Management System is a cinema system simulation designed to manage all aspects of cinema operations, from scheduling screenings to booking tickets. The application has a friendly interface that allows cinema managers to easily navigate through various functionalities. All data, including movie lists, schedules and reservations with user information, is stored in the database.

Application Components

Functionality Description:

Adding and editing movies are restricted by appropriate validators, ensuring data accuracy. Schedules can only be added to existing movies, and if a movie is deleted, all its schedules are automatically removed. This ensures that you can only book tickets for confirmed movie showings. Whenever there are changes in movies or movie schedules, all existing bookings are automatically refreshed. When a cinema room is changed, all existing bookings are automatically deleted. Canceling a reserved seat makes it available for booking again. Every input in the application is validated appropriately. For example, regular expressions are used to ensure that there is a valid email address in the purchaser details.

Screenshots

MainWindow

ManageMovie

ManageRoom

ManageSchedule

BookTickets1

BookTickets2

ReserveSeats

PurchaserDetails

ManageBookings

Requirements

To build and run this project, you need the following:

Running the Application

  1. Download the code: Copy the Paths Manager application code.

     git clone https://github.com/ZuzannaZawartka/movie-ticket-management-system.git
  2. Open the solution:

    • Open MovieTicketManagementSystem.sln in Visual Studio.
  3. Set up Qt:

    • Configure Visual Studio to use the installed Qt version by going to Qt VS Tools > Qt Options and adding the path to the Qt installation.
  4. Build the solution:

    • In Visual Studio, go to Build > Build Solution or press Ctrl+Shift+B.
  5. Run the application:

    • Set the startup project (if necessary) by right-clicking the project in the Solution Explorer and selecting Set as StartUp Project.
    • Press F5 to run the application.

Additional Information

Graphics Resources

The images used in this project were generated using OpenAI's ChatGPT.