Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
1k views

qt designer certain columns of a QTableWidget editable

i have a QTableWidget created with Qt Designer and would like to know if it is possible to make certain columns editable and other not in Qt designer. I have seen solutions in python or c++ but i ...
accpert.com's user avatar
0 votes
1 answer
258 views

QDialog:Trouble Loading Data Into QTableWidget From A User Input

I'm attempting to have a QDialog that gives the user the feature to search up data based on their input. The data is connected to a database. The user types what they want to look for {self....
Matt's user avatar
  • 53
0 votes
1 answer
1k views

Horizontal Scrollbar never appears on QTableWidget in PyQt5

I'm trying to display tabular data on a QTableWidget in PyQt5 as below. I've set the columns to QtWidgets.QHeaderView.ResizeToContents. But after the data is populated into the QTableWidget, the ...
Pradeep Kumar N's user avatar
-1 votes
1 answer
2k views

How to resize a PyQt5 stacked widget as per window size in PyQt5 Python?

I am designing a ui in qt-desginer. I have to create a UI which has a side menu bar with buttons and whichever button is pressed, its appropriate data will be shown on right side. To design this, I ...
S Andrew's user avatar
  • 7,078
2 votes
2 answers
6k views

Select a text in PYQT to copy

I designed a windows desktop app with QT Designer and PYQT5. The problem is that, I can not select any item, text on main window, or on qtablewidget to paste it manually somewhere else. It will make ...
Samet Yıldırım's user avatar
0 votes
1 answer
955 views

How to Create Dynamic Auto Completer for Particular Column in QTableWidget in PyQt5? [duplicate]

I have a QTableWidget shown below. I have added Auto completer using item delegates for particular column ‘Name’ which does work well. Given list to autocompleter : ['Mark','Riya','Andrew','Thomas','...
Vi_py123's user avatar
3 votes
6 answers
10k views

How to Copy and Paste multiple Cells in QTableWidget in PyQt5?

I have a Qtablewidget shown below. I want to copy multiple cells from the table and paste in other row in the same table. So far, I can do the same on single cell, but is there a way i can do ...
Vi_py123's user avatar
1 vote
1 answer
5k views

Assign different widths to columns of a QTableWidget

I'm developing a small interface in pyqt5 from QT Designer, this includes a QTableWidget but I want to assign different widths to the columns, I have found topics that talk about the same but I don't ...
Jalkhov's user avatar
  • 167
0 votes
0 answers
425 views

Event - catch only for qtablewidget; pyqt5 [duplicate]

I would like to change behavior of Key_C keypressevent or create custom keypressevent handler only for QTableWidget, also cause all form created in QtDesigner I want to implement this via code in ...
Marat Gainutdinov's user avatar