2010-04-12 13:29:56 +00:00
|
|
|
# Created By: Virgil Dupras
|
|
|
|
# Created On: 2010-04-12
|
2015-01-03 21:30:57 +00:00
|
|
|
# Copyright 2015 Hardcoded Software (http://www.hardcoded.net)
|
2020-01-01 02:16:27 +00:00
|
|
|
#
|
|
|
|
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
|
|
|
|
# which should be included with this package. The terms are also available at
|
2015-01-03 21:33:16 +00:00
|
|
|
# http://www.gnu.org/licenses/gpl-3.0.html
|
2010-04-12 13:29:56 +00:00
|
|
|
|
2022-05-09 00:22:08 +00:00
|
|
|
from qt.column import Column
|
|
|
|
from qt.table import Table
|
2010-04-12 13:29:56 +00:00
|
|
|
|
2020-01-01 02:16:27 +00:00
|
|
|
|
2010-04-12 13:29:56 +00:00
|
|
|
class ProblemTable(Table):
|
|
|
|
COLUMNS = [
|
2021-08-25 05:46:33 +00:00
|
|
|
Column("path", default_width=150),
|
|
|
|
Column("msg", default_width=150),
|
2010-04-12 13:29:56 +00:00
|
|
|
]
|
2020-01-01 02:16:27 +00:00
|
|
|
|
2013-10-20 19:53:59 +00:00
|
|
|
def __init__(self, model, view, **kwargs):
|
|
|
|
super().__init__(model, view, **kwargs)
|
2010-04-12 13:29:56 +00:00
|
|
|
# we have to prevent Return from initiating editing.
|
|
|
|
# self.view.editSelected = lambda: None
|