A delegate for showing column width as a spin box.  
 More...
#include <qgslayoutattributeselectiondialog.h>
 | 
|   | QgsLayoutColumnWidthDelegate (QObject *parent=nullptr) | 
|   | constructor  More...
  | 
|   | 
| QWidget *  | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override | 
|   | 
| void  | setEditorData (QWidget *editor, const QModelIndex &index) const override | 
|   | 
| void  | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override | 
|   | 
| void  | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override | 
|   | 
A delegate for showing column width as a spin box. 
- Note
 - This class is not a part of public API 
 
- Since
 - QGIS 3.12 
 
Definition at line 268 of file qgslayoutattributeselectiondialog.h.
 
◆ QgsLayoutColumnWidthDelegate()
  
  
      
        
          | QgsLayoutColumnWidthDelegate::QgsLayoutColumnWidthDelegate  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ createEditor()
  
  
      
        
          | QWidget * QgsLayoutColumnWidthDelegate::createEditor  | 
          ( | 
          QWidget *  | 
          parent,  | 
         
        
           | 
           | 
          const QStyleOptionViewItem &  | 
          option,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          index  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
override   | 
  
 
 
◆ setEditorData()
  
  
      
        
          | void QgsLayoutColumnWidthDelegate::setEditorData  | 
          ( | 
          QWidget *  | 
          editor,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          index  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
override   | 
  
 
 
◆ setModelData()
  
  
      
        
          | void QgsLayoutColumnWidthDelegate::setModelData  | 
          ( | 
          QWidget *  | 
          editor,  | 
         
        
           | 
           | 
          QAbstractItemModel *  | 
          model,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          index  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
override   | 
  
 
 
◆ updateEditorGeometry()
  
  
      
        
          | void QgsLayoutColumnWidthDelegate::updateEditorGeometry  | 
          ( | 
          QWidget *  | 
          editor,  | 
         
        
           | 
           | 
          const QStyleOptionViewItem &  | 
          option,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          index  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
override   | 
  
 
 
The documentation for this class was generated from the following files: