NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
customtablewidget.h File Reference

This file contains the declaration of the CustomTableWidget class. More...

#include <QTableWidget>
#include <QKeyEvent>
#include <QSet>

Go to the source code of this file.

Classes

class  CustomTableWidget
 The CustomTableWidget class is a subclass of QTableWidget that provides additional functionality and customization for table widgets. More...
 

Detailed Description

This file contains the declaration of the CustomTableWidget class.

The CustomTableWidget class is a subclass of QTableWidget that provides additional functionality and customization for table widgets. It includes methods for checking empty cells, setting delegates for specific columns, setting up the table, and generating unique IDs. The CustomTableWidget class also emits signals for key press events and when row deletion is not allowed. It overrides the keyPressEvent() method and the setData() method for custom handling. The CustomTableWidget class is intended to be used in a QWidget-based application.

Author
Ahmed Aredah
Date
6/7/2023