Python Forum
[PyQt] [Solved]Multiply a number to a DoubleSpinBox
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] [Solved]Multiply a number to a DoubleSpinBox
#11
Never mind, I got it.

I Forgot to comment out:
#         self.InventoryDisplay = QTableWidget(self.centralwidget)
#         font = QFont()
#         font.setBold(False)
#         font.setWeight(50)
#         self.InventoryDisplay.setFont(font)
#         self.InventoryDisplay.setStyleSheet("background-color: rgb(255, 255, 255);\n"
# "")
Now that it's commented out, the grey box is gone.
Axel_Erfurt likes this post
Reply
#12
What I noticed, you use that twice. The second then cancels out the first.

self.InventoryDisplay = QTableWidget(self.centralwidget)

self.InventoryDisplay = QTableView()


Edit:

I see now you commented it.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020