blob: c64428e51e4e04d84afc20e18a2ba32ca5fd6c6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "process-detector-fancy-table.hpp"
void FancyTable::resizeEvent(QResizeEvent* e)
{
QTableView::resizeEvent(e);
int w = width();
setColumnWidth(2, 32);
w -= 40;
setColumnWidth(0, w / 2);
setColumnWidth(1, w / 2);
}
FancyTable::FancyTable(QWidget* parent) : QTableWidget(parent) {}
|