qtablewidget

void QTableWidget::cellChanged(int row, int column)

This signal is emitted whenever the data of the item in the cell specified by row and column has changed.

行和列所确定的cell中的item的数据变化时,被触发。

void QTableWidget::itemChanged(QTableWidgetItem  *item)

This signal is emitted whenever the data of item has changed.

当item的数据变化时,被触发。


QTableWidgetItem::QTableWidgetItem(int type = Type)

Constructs a table item of the specified type that does not belong to any table.

构造type类型的item。

See also type().

QTableWidgetItem::QTableWidgetItem(const QString &text, int type = Type)

Constructs a table item with the given text.

用文本构造item。

See also type().

QTableWidgetItem::QTableWidgetItem(const QIcon &icon, const QString &text, int type = Type)

Constructs a table item with the given icon and text.

用图标和文本构造item。

See also type().

QTableWidgetItem::QTableWidgetItem(const QTableWidgetItem &other)

Constructs a copy of other. Note that type() and tableWidget() are not copied.

This function is useful when reimplementing clone().

构造一个other的副本。

This function was introduced in Qt 4.1.

See also data() and flags().

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 虎哥有只小乌龟,它昨天还有两条小鱼的做朋友,今天两条小鱼都死了,小乌龟多孤单啦!要是有别的朋友就好了。它已经有好多...
    虫子总动员阅读 296评论 0 0
  • 秋闲登山白云绕,独享清韵邀。 秋水天长共一色, 断雁南飞展翅入云霄。 一夜霜染红枫娇,漫山枫叶老。 西风又作永叹调...
    勤丰阅读 369评论 0 5
  • (小标)《君が好きだと叫びたい》 在每个少女的心里,都藏着一个穿球衣的男神。 也不知是那天太阳太耀眼,还是云朵太白...
    枇杷膏蜗牛阅读 643评论 0 0