Quark  0.1
BasicTableView Class Reference

#include <BasicTableView.h++>

Inheritance diagram for BasicTableView:

Public Slots

void copy ()
 Copies the display text of all selected cells to the system clipboard, in row order, with tabs between cells and newlines between rows. More...
 
void setLoading (bool loading)
 Toggles the "loading" state; when on, an animated busy indicator appears centered over the content area. More...
 
void saveState () const
 
void restoreState ()
 
void resizeColumnsToContents ()
 

Public Member Functions

 BasicTableView (QWidget *parent=NULL)
 
virtual ~BasicTableView ()
 
template<class T , class IS , class OS >
void setModel (BasicTableModel< T, IS, OS > *model)
 
template<class T , class IS , class OS >
void setModel (BasicFilterTableModel< T, IS, OS > *model)
 
void setPreference (const QString &preference)
 

Protected Member Functions

virtual bool event (QEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Constructor & Destructor Documentation

◆ BasicTableView()

BasicTableView ( QWidget *  parent = NULL)
explicit

◆ ~BasicTableView()

virtual ~BasicTableView ( )
virtual

Member Function Documentation

◆ copy

void copy ( )
slot

Copies the display text of all selected cells to the system clipboard, in row order, with tabs between cells and newlines between rows.

◆ event()

virtual bool event ( QEvent *  event)
protectedvirtual

◆ keyPressEvent()

virtual void keyPressEvent ( QKeyEvent *  event)
protectedvirtual

◆ resizeColumnsToContents

void resizeColumnsToContents ( )
slot

◆ resizeEvent()

virtual void resizeEvent ( QResizeEvent *  event)
protectedvirtual

◆ restoreState

void restoreState ( )
slot

◆ saveState

void saveState ( ) const
slot

◆ setLoading

void setLoading ( bool  loading)
slot

Toggles the "loading" state; when on, an animated busy indicator appears centered over the content area.

◆ setModel() [1/2]

void setModel ( BasicTableModel< T, IS, OS > *  model)
inline

◆ setModel() [2/2]

void setModel ( BasicFilterTableModel< T, IS, OS > *  model)
inline

◆ setPreference()

void setPreference ( const QString &  preference)

The documentation for this class was generated from the following file: