How to customize the delegated whole family bucket by Qt
This article mainly introduces "Qt how to customize the entrusting family bucket". In the daily operation, I believe that many people have doubts about how Qt customizes the entrusting family bucket. The editor has consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "Qt how to customize the entrusting family bucket". Next, please follow the editor to study!
I. functional features
A variety of delegate types can be set, such as check box / text box / drop-down box / date box / fine-tuning box / progress bar, etc.
Can be set whether the ciphertext display, generally used in the text box.
Whether editing is allowed can be set, which is generally used in the drop-down box.
Can be set whether to disable, generally used to disable a column.
Data sets can be set, such as drop-down box data sets.
Provides a value change signal, such as a drop-down box value change trigger.
You can set the data check to automatically generate different icons.
Support to set check column / check rule / check value / check success icon / check failure icon / icon size.
The check data can be set to produce different background colors and text colors.
Verification rules support = > > =
< >= <