<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # QTextTableCell Class Reference ## [[QtGui](index.htm) module] 該QTextTableCell類表示一個單元格中的屬性[QTextTable](qtexttable.html)。[More...](#details) ### Methods * `__init__ (self)` * `__init__ (self, QTextTableCell?o)` * `int column (self)` * `int columnSpan (self)` * `QTextCursor firstCursorPosition (self)` * `QTextCharFormat format (self)` * `bool isValid (self)` * `QTextCursor lastCursorPosition (self)` * `int row (self)` * `int rowSpan (self)` * `setFormat (self, QTextCharFormat?format)` * `int tableCellFormatIndex (self)` ### Special Methods * `bool __eq__ (self, QTextTableCell?other)` * `bool __ne__ (self, QTextTableCell?other)` * * * ## Detailed Description 該QTextTableCell類表示一個單元格中的屬性[QTextTable](qtexttable.html)。 表細胞是文檔結構件屬于一個表。該表定貨細胞轉化為特定的行和列,單元格也可以跨多個列和行。 當一個表被插入到文檔與細胞通常被創建[QTextCursor.insertTable](qtextcursor.html#insertTable)( ) ,但他們也創造了,當一個表被重新調整被破壞。 細胞中含有大約在表中的位置信息,你可以得到[row](qtexttablecell.html#row)()和[column](qtexttablecell.html#column)()編號的細胞,其[rowSpan](qtexttablecell.html#rowSpan)()和[columnSpan](qtexttablecell.html#columnSpan)( ) 。 該[format](qtexttablecell.html#format)一個細胞的( )描述了其內容的默認字符格式。該[firstCursorPosition](qtexttablecell.html#firstCursorPosition)()和[lastCursorPosition](qtexttablecell.html#lastCursorPosition)()函數用于獲取文檔中的單元格的范圍。 * * * ## Method Documentation ``` QTextTableCell.__init__ (self) ``` 構造一個無效的表格單元格。 **See also** [isValid](qtexttablecell.html#isValid)( ) 。 ``` QTextTableCell.__init__ (self, QTextTableCell?o) ``` 拷貝構造函數。創建一個新的[QTextTableCell](qtexttablecell.html)基于所述對象_other_細胞。 ``` int QTextTableCell.column (self) ``` 返回包含該小區中的表中的列的數目。 **See also** [row](qtexttablecell.html#row)( ) 。 ``` int QTextTableCell.columnSpan (self) ``` 返回該列單元格跨越的數目。默認值是1 。 **See also** [rowSpan](qtexttablecell.html#rowSpan)( ) 。 ``` QTextCursor QTextTableCell.firstCursorPosition (self) ``` [ 返回此單元格中的第一個有效的光標位置。 ](qtextcursor.html) [**See also**](qtextcursor.html) [lastCursorPosition](qtexttablecell.html#lastCursorPosition)( ) 。 ``` QTextCharFormat QTextTableCell.format (self) ``` [ 返回單元格的字符格式。 ](qtextcharformat.html) [**See also**](qtextcharformat.html) [setFormat](qtexttablecell.html#setFormat)( ) 。 ``` bool QTextTableCell.isValid (self) ``` 返回True如果這是一個有效的表格單元格,否則返回False 。 ``` QTextCursor QTextTableCell.lastCursorPosition (self) ``` [ 返回此單元格中的最后一個有效的光標位置。 ](qtextcursor.html) [**See also**](qtextcursor.html) [firstCursorPosition](qtexttablecell.html#firstCursorPosition)( ) 。 ``` int QTextTableCell.row (self) ``` 返回該行的表中的號碼,包含此小區。 **See also** [column](qtexttablecell.html#column)( ) 。 ``` int QTextTableCell.rowSpan (self) ``` 返回該行的單元格跨越的數目。默認值是1 。 **See also** [columnSpan](qtexttablecell.html#columnSpan)( ) 。 ``` QTextTableCell.setFormat (self, QTextCharFormat?format) ``` 設置單元格的字符格式_format_。例如,這可以被用來改變整個單元的背景色: [QTextTableCell](qtexttablecell.html)細胞=表 - \u003e cellAt (2 ,3);[QTextCharFormat](qtextcharformat.html)格式=細胞。[format](qtexttablecell.html#format)(); format.setBackground ([Qt.blue](qt.html#GlobalColor-enum)) ; cell.setFormat (格式) ; 需要注意的是單元格的行或列跨度無法通過這個功能改變。你必須使用QTextTable.mergeCells和QTextTable.splitCell代替。 這個函數中引入了Qt 4.2中。 **See also** [format](qtexttablecell.html#format)( ) 。 ``` int QTextTableCell.tableCellFormatIndex (self) ``` 返回文檔的內部格式列表中的TableCell的格式的索引。 此功能被引入Qt的4.5 。 **See also** [QTextDocument.allFormats](qtextdocument.html#allFormats)( ) 。 ``` bool QTextTableCell.__eq__ (self, QTextTableCell?other) ``` ``` bool QTextTableCell.__ne__ (self, QTextTableCell?other) ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看