qtcomplex
qtcomplex
1. Dynamic List with Add/Remove Functionality: Create a QListWidget where users can
dynamically add and remove items via input fields and buttons. Display a confirmation dialog
when an item is deleted.
2. Graph Plotting: Use QCustomPlot or similar library to create a simple graph plotting
interface. Allow users to input data points and dynamically update the graph based on user
input.
3. Clipboard Manager: Create an application with a QTextEdit and buttons to copy and paste
text to and from the system clipboard. Add a history feature that shows the last 5 items
copied to the clipboard.
4. Drag-and-Drop Image Viewer: Implement an image viewer where users can drag and drop
image files (e.g., PNG, JPG) onto the window, and the image is displayed in a QLabel.
5. User Preferences with QSettings: Build a simple settings window that allows users to set
preferences (e.g., theme, font size) and save them using QSettings. When the application is
restarted, it should load the user's preferences.
1. LRU (Least Recently Used) Cache Implementation: Implement an LRU cache using a doubly
linked list and hash map. The cache should store a limited number of elements and evict the
least recently used ones when full.
2. Trie Data Structure for String Search: Implement a trie data structure to store a collection of
strings. Add functionality to search for strings and suggest auto-completions based on a
prefix.
4. File Compression and Decompression: Implement a simple file compression algorithm (like
Huffman coding or Run-Length Encoding). Write functions to compress and decompress text
files.
5. Event-Driven Simulation: Build a small event-driven simulation, such as a bank system where
customers arrive, wait in a queue, and are served by tellers. Use event queues and random
number generation to simulate customer arrivals and service times.