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.
- Main Window: Manages the user interface and serves as the main window of the application.
- Manage Movie: Add, edit, or remove movies from the cinema's listing.
- Manage Room: Generate your own cinema room.
- Book Tickets: Create and save new bookings in database.
- Manage Schedule: Create, modify and remove movie schedules.
- Manage Bookings: Oversee all bookings, including editing and removing.
- Show Movie List: View the current list of all movies available in the cinema.
- Show Schedule: View the current schedule of all movie showings.
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.
To build and run this project, you need the following:
-
Visual Studio: Visual Studio 2022 or later
- Download Visual Studio from here.
-
Qt: Qt 6.7.0
- Download Qt from here.
-
Qt Visual Studio Tools: Extension for integrating Qt with Visual Studio
- Install from Visual Studio's Extensions Manager.
-
C++ Toolset: Ensure that the C++ development tools are installed in Visual Studio
- Go to Visual Studio Installer and select "Desktop development with C++" workload.
-
Download the code: Copy the Paths Manager application code.
git clone https://github.com/ZuzannaZawartka/movie-ticket-management-system.git
-
Open the solution:
- Open
MovieTicketManagementSystem.sln
in Visual Studio.
- Open
-
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.
- Configure Visual Studio to use the installed Qt version by going to
-
Build the solution:
- In Visual Studio, go to
Build > Build Solution
or pressCtrl+Shift+B
.
- In Visual Studio, go to
-
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.
- Set the startup project (if necessary) by right-clicking the project in the Solution Explorer and selecting
- Configuration: Make sure to select the correct build configuration (Debug/Release) and platform (x86/x64) as per your requirements.
The images used in this project were generated using OpenAI's ChatGPT.