TPageTool Class

分页控件 More...

Header: #include <TPageTool>
Inherits: QWidget and TUiInterface

Properties

  • 58 properties inherited from QWidget

Public Functions

TPageTool(QWidget *parent = 0)
~TPageTool()
  • 213 public functions inherited from QWidget

Public Slots

int currentPage()
void firstPage()
bool isPageSizeEditable() const
bool isPageSizeVisible()
void lastPage()
void nextPage()
int pageSize()
void previousPage()
int rowCount()
bool rowCountVisible() const
void setCurrentPage(int iPageInt, bool iBlockPageChangedBol = true)
void setIcon()
void setPageSize(int iPageSizeInt, bool iBlockPageChangedBol = true)
void setPageSizeEditable(bool iEditable)
void setPageSizeVisible(bool iVisibleBol)
void setRowCount(int iRowCountInt, bool iBlockPageChangedBol = true)
void setRowCountVisible(bool iRowCountVisible)

Signals

void currentPageChanged(int iCurPageInt)
void pageChanged(int iCurPageInt, int iPageSizeInt)
void pageSizeChanged(int iPageSizeInt)
void rowCountChanged(int iRowCountInt)

Additional Inherited Members

  • 5 static public members inherited from QWidget
  • 35 protected functions inherited from QWidget
  • 2 protected functions inherited from TUiInterface
  • 1 protected slot inherited from QWidget

Detailed Description

分页控件

Property Documentation

currentPage : int

Access functions:

int currentPage()
void setCurrentPage(int iPageInt, bool iBlockPageChangedBol = true)

pageSize : int

Access functions:

int pageSize()
void setPageSize(int iPageSizeInt, bool iBlockPageChangedBol = true)

pageSizeVisible : bool

Access functions:

bool isPageSizeVisible()
void setPageSizeVisible(bool iVisibleBol)

rowCount : int

Access functions:

int rowCount()
void setRowCount(int iRowCountInt, bool iBlockPageChangedBol = true)

rowCountVisible : bool

Access functions:

bool rowCountVisible() const
void setRowCountVisible(bool iRowCountVisible)

Member Function Documentation

TPageTool::TPageTool(QWidget *parent = 0)

Default constructs an instance of TPageTool.

TPageTool::~TPageTool()

Destroys the instance of TPageTool.

[signal] void TPageTool::currentPageChanged(int iCurPageInt)

[slot] void TPageTool::firstPage()

[slot] bool TPageTool::isPageSizeEditable() const

[slot] void TPageTool::lastPage()

[slot] void TPageTool::nextPage()

[signal] void TPageTool::pageChanged(int iCurPageInt, int iPageSizeInt)

[signal] void TPageTool::pageSizeChanged(int iPageSizeInt)

[slot] void TPageTool::previousPage()

[signal] void TPageTool::rowCountChanged(int iRowCountInt)

[slot] void TPageTool::setIcon()

[slot] void TPageTool::setPageSizeEditable(bool iEditable)

See also isPageSizeEditable().