TSimplePageTool Class

简单分页控件 More...

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

Properties

  • 58 properties inherited from QWidget

Public Functions

TSimplePageTool(QWidget *parent = nullptr)
~TSimplePageTool()
  • 213 public functions inherited from QWidget

Public Slots

int currentPage()
bool isPageSizeEditable() const
bool isPageSizeVisible()
void nextPage()
int pageSize()
void previousPage()
void setCurrentPage(int iPageInt, bool iBlockPageChangedBol = true)
void setIcon()
void setPageSize(int iPageSizeInt, bool iBlockPageChangedBol = true)
void setPageSizeEditable(bool iEditable)
void setPageSizeVisible(bool iVisibleBol)

Signals

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

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)

Member Function Documentation

TSimplePageTool::TSimplePageTool(QWidget *parent = nullptr)

Default constructs an instance of TSimplePageTool.

TSimplePageTool::~TSimplePageTool()

Destroys the instance of TSimplePageTool.

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

[slot] bool TSimplePageTool::isPageSizeEditable() const

[slot] void TSimplePageTool::nextPage()

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

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

[slot] void TSimplePageTool::previousPage()

[slot] void TSimplePageTool::setIcon()

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

See also isPageSizeEditable().