DolphinQt: setTabKeyNavigation(false) on QTableWidget and QTableView.

This commit is contained in:
Jordan Woyak
2020-02-06 20:34:27 -06:00
parent a0d204253b
commit b9f34bc822
12 changed files with 15 additions and 0 deletions

View File

@ -76,6 +76,7 @@ void BreakpointWidget::CreateWidgets()
m_toolbar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
m_table = new QTableWidget;
m_table->setTabKeyNavigation(false);
m_table->setContentsMargins(0, 0, 0, 0);
m_table->setColumnCount(5);
m_table->setSelectionMode(QAbstractItemView::SingleSelection);

View File

@ -73,6 +73,7 @@ void JITWidget::CreateWidgets()
{
m_table_widget = new QTableWidget;
m_table_widget->setTabKeyNavigation(false);
m_table_widget->setColumnCount(7);
m_table_widget->setHorizontalHeaderLabels(
{tr("Address"), tr("PPC Size"), tr("Host Size"),

View File

@ -69,6 +69,7 @@ void RegisterWidget::showEvent(QShowEvent* event)
void RegisterWidget::CreateWidgets()
{
m_table = new QTableWidget;
m_table->setTabKeyNavigation(false);
m_table->setColumnCount(9);

View File

@ -73,6 +73,7 @@ void WatchWidget::CreateWidgets()
m_toolbar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
m_table = new QTableWidget;
m_table->setTabKeyNavigation(false);
m_table->setContentsMargins(0, 0, 0, 0);
m_table->setColumnCount(NUM_COLUMNS);