2010-04-12 15:29:56 +02:00
|
|
|
# Created By: Virgil Dupras
|
|
|
|
# Created On: 2010-04-12
|
2015-01-03 16:30:57 -05:00
|
|
|
# Copyright 2015 Hardcoded Software (http://www.hardcoded.net)
|
2019-12-31 20:16:27 -06: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 16:33:16 -05:00
|
|
|
# http://www.gnu.org/licenses/gpl-3.0.html
|
2010-04-12 15:29:56 +02:00
|
|
|
|
2022-05-08 19:22:08 -05:00
|
|
|
from qt.column import Column
|
|
|
|
from qt.table import Table
|
2010-04-12 15:29:56 +02:00
|
|
|
|
2019-12-31 20:16:27 -06:00
|
|
|
|
2010-04-12 15:29:56 +02:00
|
|
|
class ProblemTable(Table):
|
|
|
|
COLUMNS = [
|
2021-08-25 00:46:33 -05:00
|
|
|
Column("path", default_width=150),
|
|
|
|
Column("msg", default_width=150),
|
2010-04-12 15:29:56 +02:00
|
|
|
]
|
2019-12-31 20:16:27 -06:00
|
|
|
|
2013-10-20 15:53:59 -04:00
|
|
|
def __init__(self, model, view, **kwargs):
|
|
|
|
super().__init__(model, view, **kwargs)
|
2010-04-12 15:29:56 +02:00
|
|
|
# we have to prevent Return from initiating editing.
|
|
|
|
# self.view.editSelected = lambda: None
|