Flexible models
This commit is contained in:
parent
50cb21b6f9
commit
8b7bbec807
24 changed files with 333 additions and 51 deletions
|
|
@ -3,6 +3,12 @@
|
|||
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
/** Delegate for rendering SQL data types in tableviews
|
||||
*
|
||||
* This delegate removes the need for the model to provide formatting information
|
||||
* which in many cases solely based on the datatype so this delegate can determine
|
||||
* on its own what the correct formatting is.
|
||||
*/
|
||||
class PgLabItemDelegate : public QStyledItemDelegate
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue