86 QVector<QgsAttributeTableConfig::ColumnConfig> columns()
const;
105 sipRes = sipCpp->size();
114 int mapVisibleColumnToIndex(
int visibleColumn )
const;
120 void setColumns(
const QVector<QgsAttributeTableConfig::ColumnConfig> &columns );
133 bool actionWidgetVisible()
const;
138 void setActionWidgetVisible(
bool visible );
153 void writeXml( QDomNode &node )
const;
158 void readXml(
const QDomNode &node );
163 QString sortExpression()
const;
168 void setSortExpression(
const QString &sortExpression );
177 int columnWidth(
int column )
const;
186 int columnWidth(
int column )
const;
189 if ( a0 < 0 || a0 >= sipCpp->size() )
191 PyErr_SetString( PyExc_IndexError, QByteArray::number( a0 ) );
196 return PyLong_FromLong( sipCpp->columnWidth( a0 ) );
210 void setColumnWidth(
int column,
int width );
220 void setColumnWidth(
int column,
int width );
222 if ( a0 < 0 || a0 >= sipCpp->size() )
224 PyErr_SetString( PyExc_IndexError, QByteArray::number( a0 ) );
229 sipCpp->setColumnWidth( a0, a1 );
241 bool columnHidden(
int column )
const;
250 bool columnHidden(
int column )
const;
253 if ( a0 < 0 || a0 >= sipCpp->size() )
255 PyErr_SetString( PyExc_IndexError, QByteArray::number( a0 ) );
260 return PyBool_FromLong( sipCpp->columnHidden( a0 ) );
274 void setColumnHidden(
int column,
bool hidden );
284 void setColumnHidden(
int column,
bool hidden );
286 if ( a0 < 0 || a0 >= sipCpp->size() )
288 PyErr_SetString( PyExc_IndexError, QByteArray::number( a0 ) );
293 sipCpp->setColumnHidden( a0, a1 );
301 Qt::SortOrder sortOrder()
const;
306 void setSortOrder( Qt::SortOrder sortOrder );
317 QVector<ColumnConfig> mColumns;
318 ActionWidgetStyle mActionWidgetStyle = DropDown;
319 QString mSortExpression;
320 Qt::SortOrder mSortOrder = Qt::AscendingOrder;