Logo Search packages:      
Sourcecode: qps version File versions

int QtTableView::viewWidth (  )  const [protected]

Returns the width of the table view, as such, in view coordinates. This does not include any header, scroll bar or frame, but it does include background pixels to the right of the table data.

See also:
minViewX() maxViewX(), viewHeight(), contentsRect() viewRect()

Definition at line 1871 of file qttableview.C.

References maxViewX(), and minViewX().

Referenced by maxXOffset(), updateScrollBars(), and viewRect().

    return maxViewX() - minViewX() + 1;

Generated by  Doxygen 1.6.0   Back to index