equal
deleted
inserted
replaced
99 << tr("IP/Nick") |
99 << tr("IP/Nick") |
100 << tr("Expiration") |
100 << tr("Expiration") |
101 << tr("Reason") |
101 << tr("Reason") |
102 ); |
102 ); |
103 twBans->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch); |
103 twBans->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch); |
|
104 twBans->horizontalHeader()->setSectionsClickable(false); |
|
105 twBans->verticalHeader()->hide(); |
104 twBans->setEditTriggers(QAbstractItemView::NoEditTriggers); |
106 twBans->setEditTriggers(QAbstractItemView::NoEditTriggers); |
105 twBans->setSelectionBehavior(QAbstractItemView::SelectRows); |
107 twBans->setSelectionBehavior(QAbstractItemView::SelectRows); |
106 twBans->setSelectionMode(QAbstractItemView::SingleSelection); |
108 twBans->setSelectionMode(QAbstractItemView::SingleSelection); |
107 twBans->setAlternatingRowColors(true); |
109 twBans->setAlternatingRowColors(true); |
108 tab2Layout->addWidget(twBans, 0, 1, 4, 1); |
110 tab2Layout->addWidget(twBans, 0, 1, 4, 1); |