0% found this document useful (0 votes)
13 views

qtcomplex

The document outlines a series of tasks related to user interface (UI) and non-UI programming. UI tasks include creating dynamic lists, graph plotting, a clipboard manager, a drag-and-drop image viewer, and user preferences management. Non-UI tasks involve implementing an LRU cache, a trie data structure, multithreaded matrix multiplication, file compression, and an event-driven simulation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

qtcomplex

The document outlines a series of tasks related to user interface (UI) and non-UI programming. UI tasks include creating dynamic lists, graph plotting, a clipboard manager, a drag-and-drop image viewer, and user preferences management. Non-UI tasks involve implementing an LRU cache, a trie data structure, multithreaded matrix multiplication, file compression, and an event-driven simulation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Tasks Related to UI:

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.

Tasks Not Related to UI:

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.

3. Multithreaded Matrix Multiplication: Implement matrix multiplication where the


computation is distributed across multiple threads. Each thread should handle a subset of
the matrix rows.

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.

You might also like