Commit Graph

5 Commits

Author SHA1 Message Date
Chris PeBenito
da8a238ffc apol: Fix model headers so extra columns aren't added.
The section number (column header) is -1 when the section is hidden. The
defaultdict use would cause extra columns to be created since the column
count is based on the size of the headers object and -1 would add a new
entry.  Change headers to lists.
2016-06-08 07:26:32 -04:00
Chris PeBenito
61613cf3f4 apol: adjust models to handle invalid indices in data().
Infrequently data() is called with an invalid index and then apol crashes.
2016-04-21 10:07:12 -04:00
Chris PeBenito
1370cfd20f apol: further simplify Table model subclasses 2016-04-01 14:50:25 -04:00
Chris PeBenito
f1f9c3186d Create new base class for table models.
Break up rule models into three files since RuleListModel doesn't make
sense any longer.
2016-04-01 09:00:17 -04:00
Chris PeBenito
21c70d5b74 apol: implement GenfsconQueryTab
Closes #80
2016-03-30 10:43:54 -04:00