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. Full size QProgressBar in QTableWidget
Qt 6.11 is out! See what's new in the release blog

Full size QProgressBar in QTableWidget

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.9k 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.
  • B Offline
    B Offline
    bepehr
    wrote on last edited by
    #1

    hi
    i want to put a QProgressBar in QTableWidget and i use this code
    @QProgressBar *prog = new QProgressBar();
    ui->tableWidget->setCellWidget(0,1, prog);@

    but progressBar dont fill all of that cell item space , how i can fill all this empty space with progressbar?
    screenshot of result :
    !http://ma3ta.persiangig.com/py/3.png(screenshot)!

    sory for bad english ..
    ty...

    1 Reply Last reply
    0
    • G Offline
      G Offline
      ghezzbass
      wrote on last edited by
      #2

      hi
      that's easy one!
      stretch the bar!!!!!!
      if u need the stretch's code ,,,, just ley me know

      1 Reply Last reply
      0

      • Login

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