Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soitool
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bachelor-paa-bittet
soitool
Merge requests
!35
Revert "Merge branch 'blackify-prosjekt-filer' into 'master'"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Revert "Merge branch 'blackify-prosjekt-filer' into 'master'"
revert-5644ea93
into
master
Overview
1
Commits
1
Pipelines
1
Changes
11
Closed
Thomas Holene Løkkeborg
requested to merge
revert-5644ea93
into
master
4 years ago
Overview
1
Commits
1
Pipelines
1
Changes
11
Expand
This reverts merge request
!30 (merged)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ee8ee18e
1 commit,
4 years ago
11 files
+
140
−
219
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
soitool/modules/module_table.py
+
7
−
13
Options
@@ -4,7 +4,7 @@ from PySide2 import QtGui, QtCore
from
soitool.modules.module_base
import
ModuleBase
HEADER_FONT
=
QtGui
.
QFont
()
HEADER_FONT
.
setFamily
(
"
Arial
"
)
HEADER_FONT
.
setFamily
(
'
Arial
'
)
HEADER_FONT
.
setPointSize
(
12
)
HEADER_FONT
.
setWeight
(
100
)
@@ -78,20 +78,14 @@ class TableModule(ModuleBase, QTableWidget, metaclass=Meta):
"""
if
event
.
key
()
==
QtCore
.
Qt
.
Key_Question
:
self
.
add_column
()
elif
(
event
.
modifiers
()
==
QtCore
.
Qt
.
ShiftModifier
and
event
.
key
()
==
QtCore
.
Qt
.
Key_Underscore
):
elif
(
event
.
modifiers
()
==
QtCore
.
Qt
.
ShiftModifier
and
event
.
key
()
==
QtCore
.
Qt
.
Key_Underscore
):
self
.
remove_column
()
elif
(
event
.
modifiers
()
==
QtCore
.
Qt
.
ControlModifier
and
event
.
key
()
==
QtCore
.
Qt
.
Key_Plus
):
elif
(
event
.
modifiers
()
==
QtCore
.
Qt
.
ControlModifier
and
event
.
key
()
==
QtCore
.
Qt
.
Key_Plus
):
self
.
add_row
()
elif
(
event
.
modifiers
()
==
QtCore
.
Qt
.
ControlModifier
and
event
.
key
()
==
QtCore
.
Qt
.
Key_Underscore
):
elif
(
event
.
modifiers
()
==
QtCore
.
Qt
.
ControlModifier
and
event
.
key
()
==
QtCore
.
Qt
.
Key_Underscore
):
self
.
remove_row
()
else
:
super
(
TableModule
,
self
).
keyPressEvent
(
event
)
Loading