Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdelrahman822000/random-quote-generator

The Quote Generator app is a C++ application developed using the Qt framework. It categorizes and displays quotes based on user emotions, utilizing a chain of responsibility pattern to handle different types of emotions effectively. The app supports four primary emotion categories: Happy, Sad, Angry, and Neutral.
https://github.com/abdelrahman822000/random-quote-generator

cpp gui gui-application qt qtcreator quote-generator

Last synced: about 1 month ago
JSON representation

The Quote Generator app is a C++ application developed using the Qt framework. It categorizes and displays quotes based on user emotions, utilizing a chain of responsibility pattern to handle different types of emotions effectively. The app supports four primary emotion categories: Happy, Sad, Angry, and Neutral.

Awesome Lists containing this project

README

        

**This Project was developed by Abdelrahman Mohamed Hamad**

# Table of Contents
- [Quote Generator](#quote-generator)
- [About the App](#about-the-app)
- [App Task](#app-task)
- [Instructions](#instructions)
- [How to Use](#how-to-use)
- [Contact](#contact)

# Quote Generator

The Quote Generator app is designed to provide quotes based on user emotions, with a chain of responsibility pattern to handle different types of emotions.

## About the App

The Quote Generator app categorizes quotes into different emotions (Happy, Sad, Angry, Neutral). Depending on the user's emotion, the app fetches a relevant quote from the appropriate category.

## App Task

In this scenario, whenever the user interacts with the app (initiated by pressing Start Button), a quote is displayed based on the user's selected emotion. The app also supports storing and restoring quotes states using a backup mechanism.

# Instructions

### Prerequisites

- Qt Creator
- Qt 6.7.1 or higher
- C++ compiler (e.g., GCC, MinGW)

### Steps

1. **Clone the repository:**
```bash
git clone https://github.com/Abdelrahman822000/Random-Quote-Generator.git
cd Random-Quote-Generator
```
2. **Build the project:**
- Open the Random-Quote-Generator in Qt Creator by choosing `file -> Open file or Project` then navigate to where you cloned the repository and choose `Random_Quote_Generator.pro`
- Configure the project using your desired kit.
- Build the project using the Build menu.
- Run the project
- Alternative: Go to `build\Desktop_Qt_6_7_0_MinGW_64_bit-Release\release` and run the `Random_Quote_Generator.exe` executable.

# How to Use

- **Login:** Enter your username then press Login. ![LoginPage](https://github.com/user-attachments/assets/b8933589-9a94-4766-a06b-f4c5755197a0)

- **Generate new Quote:** Choose your emotion and press Start![New Quote](https://github.com/user-attachments/assets/4af9418b-5a28-4546-ac8a-8d104bdcfdd4)

- **Store & Restore:** Store the current state of quote or restore a previously stored quote state. ![Store and Restore](https://github.com/user-attachments/assets/76ac1b01-9460-4381-bee8-30d2019c95f0)

- **Clear:** Clear the Output field.
- **Exit:** Press exit to return to the login page. ![Output and Exit](https://github.com/user-attachments/assets/48725e3e-9232-4f98-b7e5-56a7e0eaac2b)

# Contact

If you have any questions, feel free to contact me:
- **Phone:** +201028325749
- **Email:** [email protected]
- **LinkedIn:** [Abdelrahman Mohamed Hamad](https://www.linkedin.com/in/abdelrahman-mohamed-a1956b247/)