summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2020-02-06 20:34:27 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2020-02-06 20:48:45 -0600
commitb9f34bc822d3abdbbcfd06c64d6554589b9a770c (patch)
treea95fbd5f0fd78c20e1e5d59255c2bc1cb06a4075 /Source/Core
parenta0d204253bf5429079797ec74d48c0402404bc9e (diff)
DolphinQt: setTabKeyNavigation(false) on QTableWidget and QTableView.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/CheatsManager.cpp3
-rw-r--r--Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp2
-rw-r--r--Source/Core/DolphinQt/Config/VerifyWidget.cpp1
-rw-r--r--Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp1
-rw-r--r--Source/Core/DolphinQt/Debugger/JITWidget.cpp1
-rw-r--r--Source/Core/DolphinQt/Debugger/RegisterWidget.cpp1
-rw-r--r--Source/Core/DolphinQt/Debugger/WatchWidget.cpp1
-rw-r--r--Source/Core/DolphinQt/GCMemcardManager.cpp1
-rw-r--r--Source/Core/DolphinQt/GameList/GameList.cpp1
-rw-r--r--Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp1
-rw-r--r--Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp1
-rw-r--r--Source/Core/DolphinQt/ResourcePackManager.cpp1
12 files changed, 15 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/CheatsManager.cpp b/Source/Core/DolphinQt/CheatsManager.cpp
index efd7c5eace..649fa1e685 100644
--- a/Source/Core/DolphinQt/CheatsManager.cpp
+++ b/Source/Core/DolphinQt/CheatsManager.cpp
@@ -368,6 +368,9 @@ QWidget* CheatsManager::CreateCheatSearch()
m_match_table = new QTableWidget;
m_watch_table = new QTableWidget;
+ m_match_table->setTabKeyNavigation(false);
+ m_watch_table->setTabKeyNavigation(false);
+
m_match_table->verticalHeader()->hide();
m_watch_table->verticalHeader()->hide();
diff --git a/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp b/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp
index 6a707587f6..b4dd1aa54a 100644
--- a/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp
+++ b/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp
@@ -295,6 +295,8 @@ void IOWindow::CreateMainLayout()
// Options (Buttons, Outputs) and action buttons
+ m_option_list->setTabKeyNavigation(false);
+
if (m_type == Type::Input)
{
m_option_list->setColumnCount(2);
diff --git a/Source/Core/DolphinQt/Config/VerifyWidget.cpp b/Source/Core/DolphinQt/Config/VerifyWidget.cpp
index ac10f912fa..925409a81c 100644
--- a/Source/Core/DolphinQt/Config/VerifyWidget.cpp
+++ b/Source/Core/DolphinQt/Config/VerifyWidget.cpp
@@ -41,6 +41,7 @@ VerifyWidget::VerifyWidget(std::shared_ptr<DiscIO::Volume> volume) : m_volume(st
void VerifyWidget::CreateWidgets()
{
m_problems = new QTableWidget(0, 2, this);
+ m_problems->setTabKeyNavigation(false);
m_problems->setHorizontalHeaderLabels({tr("Problem"), tr("Severity")});
m_problems->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stretch);
m_problems->horizontalHeader()->setSectionResizeMode(1, QHeaderView::ResizeToContents);
diff --git a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
index 4f6c5966ab..2166d43244 100644
--- a/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/BreakpointWidget.cpp
@@ -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);
diff --git a/Source/Core/DolphinQt/Debugger/JITWidget.cpp b/Source/Core/DolphinQt/Debugger/JITWidget.cpp
index 8d93d3a9d5..a10ad34c0b 100644
--- a/Source/Core/DolphinQt/Debugger/JITWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/JITWidget.cpp
@@ -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"),
diff --git a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
index 182244969a..3abfd73076 100644
--- a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp
@@ -69,6 +69,7 @@ void RegisterWidget::showEvent(QShowEvent* event)
void RegisterWidget::CreateWidgets()
{
m_table = new QTableWidget;
+ m_table->setTabKeyNavigation(false);
m_table->setColumnCount(9);
diff --git a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp
index 3a19ed26a4..a53f7b7ecc 100644
--- a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp
@@ -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);
diff --git a/Source/Core/DolphinQt/GCMemcardManager.cpp b/Source/Core/DolphinQt/GCMemcardManager.cpp
index fb1b0af4b6..395eb553c6 100644
--- a/Source/Core/DolphinQt/GCMemcardManager.cpp
+++ b/Source/Core/DolphinQt/GCMemcardManager.cpp
@@ -93,6 +93,7 @@ void GCMemcardManager::CreateWidgets()
m_slot_file_edit[i] = new QLineEdit;
m_slot_file_button[i] = new QPushButton(tr("&Browse..."));
m_slot_table[i] = new QTableWidget;
+ m_slot_table[i]->setTabKeyNavigation(false);
m_slot_stat_label[i] = new QLabel;
m_slot_table[i]->setSelectionMode(QAbstractItemView::ExtendedSelection);
diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp
index a9f8d8e470..c93696755f 100644
--- a/Source/Core/DolphinQt/GameList/GameList.cpp
+++ b/Source/Core/DolphinQt/GameList/GameList.cpp
@@ -102,6 +102,7 @@ void GameList::MakeListView()
m_list = new QTableView(this);
m_list->setModel(m_list_proxy);
+ m_list->setTabKeyNavigation(false);
m_list->setSelectionMode(QAbstractItemView::ExtendedSelection);
m_list->setSelectionBehavior(QAbstractItemView::SelectRows);
m_list->setAlternatingRowColors(true);
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp b/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp
index f469254693..0bb6b05714 100644
--- a/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp
+++ b/Source/Core/DolphinQt/NetPlay/NetPlayBrowser.cpp
@@ -61,6 +61,7 @@ void NetPlayBrowser::CreateWidgets()
auto* layout = new QVBoxLayout;
m_table_widget = new QTableWidget;
+ m_table_widget->setTabKeyNavigation(false);
m_table_widget->setSelectionBehavior(QAbstractItemView::SelectRows);
m_table_widget->setSelectionMode(QAbstractItemView::SingleSelection);
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
index 78fed17e2a..31abe2f384 100644
--- a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
+++ b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
@@ -231,6 +231,7 @@ void NetPlayDialog::CreatePlayersLayout()
m_kick_button = new QPushButton(tr("Kick Player"));
m_assign_ports_button = new QPushButton(tr("Assign Controller Ports"));
+ m_players_list->setTabKeyNavigation(false);
m_players_list->setColumnCount(5);
m_players_list->verticalHeader()->hide();
m_players_list->setSelectionBehavior(QAbstractItemView::SelectRows);
diff --git a/Source/Core/DolphinQt/ResourcePackManager.cpp b/Source/Core/DolphinQt/ResourcePackManager.cpp
index 55fdda3aa8..bb908b0053 100644
--- a/Source/Core/DolphinQt/ResourcePackManager.cpp
+++ b/Source/Core/DolphinQt/ResourcePackManager.cpp
@@ -33,6 +33,7 @@ void ResourcePackManager::CreateWidgets()
auto* layout = new QGridLayout;
m_table_widget = new QTableWidget;
+ m_table_widget->setTabKeyNavigation(false);
m_open_directory_button = new QPushButton(tr("Open Directory..."));
m_change_button = new QPushButton(tr("Install"));