Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[beginner] Scrollbars in QTableWidget not clickable by mouse
grutsch last edited by
I have written the following simple code:
MainWindow::MainWindow(QWidget *parent) :
QTableWidget *peter = new QTableWidget(this);
The QTableWidget shows fine. I can navigate the table using the arrow keys on the keyboard. It shows scrollbars (vertical and horizontical)
the scrollbar-up/down buttons and the bar itself are not clickable/dragable with the mouse. Any idea how to fix this?
edit: included mainwindow.h and ui_mainwindow.h in header
it's definitely not caused by the code you posted. So there must be somewhere else the reason for this issue.