Group Assignment
This week for the group assignment we were told to try out and check out another UI creator. For the group assignment I decided to try out Qt for
the group assignment while my teamates summarized and tried out stuff can be check out her page
HERE.
My experience with Qt was quite straighforward since I have a lot of experience in C++. THe first thing was to get a blank QT file and work from the project file. The project
file is QTs version of cmake, so in it I added the needed libraries to compile, set the version of QT, and indicated that I would be making what is known as a widget. I then added
a C++ source and made it main.cpp . I then made a main function which takes in an int and character pointer. I then made an object of tupe QApplication called app taking in the two arguemnts
from main. It then returns the output of the method exec from the object app. Following I tried running and compiling it and worked, but it showed nothign since there
still are no widgets. I followed up by importing QLabel and making a pointer to an object of type Qlabel called label. The constructor takes in one argument being
the text that will appear on the label, in this case I put "Hello World". I then could run the code again and get an application to open with the text Hello World.
Following I made addeda title to the window with a method under label and called the window Fab Project. Finally I added ran the resize method to resize the window and ran
the code one final time.
Though what I made was relatively simply the work to make it is far more complicated than using Tkinter which is a far simpler alternative. I will use Tkinter in this project
to make a GUI to communicate with my two I2C boards making nice buttons to get their responces. It has come to my attention now that it says this must be done with an
input or output device and due tot he vagueness of the terminology I am counting the I2C message as an output device. If this is not satisfactory for my final project
I have a full GUI that displays information from multiple sensors along the time also made in TKinter.