Results 1 to 4 of 4

Thread: How to get current row(column) index in the QTextTable?

  1. #1

    Default How to get current row(column) index in the QTextTable?

    How to get current row(column) index in the QTextTable?

    i'll be remove current row(column), i found removeRows/removeColumns function to do this, but not found any method to get current row/column index?

    how to do it?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to get current row(column) index in the QTextTable?

    What exactly do you mean by "current" row in this context? There is QTextTableCell cellAt ( const QTextCursor & cursor ) const. Maybe that's what you're after?

  3. #3

    Default Re: How to get current row(column) index in the QTextTable?

    Current row means, currently, the cursor is in the row of the table.

    I have seen the function cellAt ( const QTextCursor & cursor ), But where is parameter cursor from? How can I get it?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to get current row(column) index in the QTextTable?


Similar Threads

  1. Qt designer plugin errors on OSX Leopard
    By mpotocnik in forum Qt Tools
    Replies: 10
    Last Post: 21st January 2008, 09:45
  2. Qtopia core 4.2.2 cross compile make error
    By smiyai18 in forum Installation and Deployment
    Replies: 2
    Last Post: 28th August 2007, 17:04
  3. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  4. Replies: 15
    Last Post: 21st April 2007, 17:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.