Thanks for pointing out the relevant Qt classes, Lykurg. Which class is better to be use in my case, QTableView or QTableWidget? Would like to use the simple approach in getting this done.
From the documentations, QTableWidget inherits QTableView.
So, how would I know if a user clicks on a cell (or click-drag multiple horizontal cells for longer time slots) to make the selection or deselection?
Then, I would have to alternate (or switch between a range of colors for different options, e.g. busy, tentative, and free) the colors of the cells when I receive these events.
Thanks in advance.
Bookmarks