Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTableView Model FontRole Error.
Qt 6.11 is out! See what's new in the release blog

QTableView Model FontRole Error.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 512 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pada_
    wrote on last edited by
    #1

    Qt5.4 I am using Linux 64Bit.

    I set the model of QTableView, and the model's Row is over 10,000 lines.

    I applied FontRole, so the display on the hot screen became slow.

    Is there a way to set the TableView's Font instead of the Model's data function FontRole?

    Gojir4G 1 Reply Last reply
    0
    • P Pada_

      Qt5.4 I am using Linux 64Bit.

      I set the model of QTableView, and the model's Row is over 10,000 lines.

      I applied FontRole, so the display on the hot screen became slow.

      Is there a way to set the TableView's Font instead of the Model's data function FontRole?

      Gojir4G Offline
      Gojir4G Offline
      Gojir4
      wrote on last edited by
      #2

      @Pada_ Maybe QTableView::setFont() ?

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved