qttasknew
qttasknew
o Implement a simple UI where users can browse and select files. Display the selected
file path in a label.
o Create a text editor using QTextEdit that allows basic formatting options like
changing the font, text color, and size, along with save and load options.
o Build an application that loads an image and provides zoom in/out buttons. Display
the zoom percentage in a status bar.
4. Stopwatch Application:
Build a simple stopwatch with QPushButton for start, stop, and reset. Display the elapsed
time using a QLCDNumber or QLabel.
5. Form Validation:
o Create a form with QLineEdit fields for name, email, and phone number. Validate the
inputs when a button is clicked and show error messages if the input is invalid.
o Implement and compare different sorting algorithms like bubble sort, merge sort,
and quicksort. Measure and display the time taken by each algorithm.
o Write a C++ program to read from a text file, count the number of lines, words, and
characters, and write the results to another file.
o Create a binary search tree (BST) class with basic operations like insert, delete, and
search. Implement an in-order traversal to display the tree in sorted order.
4. Matrix Multiplication:
o Implement a program that multiplies two matrices of arbitrary size. Ensure that the
program checks if the matrices can be multiplied and handles errors gracefully.
o Create a class for a bank account with methods to deposit, withdraw, and check
balance. Include error handling for insufficient funds during withdrawals.