equal
deleted
inserted
replaced
96 twBans->setHorizontalHeaderLabels(QStringList() |
96 twBans->setHorizontalHeaderLabels(QStringList() |
97 << tr("IP/Nick") |
97 << tr("IP/Nick") |
98 << tr("Expiration") |
98 << tr("Expiration") |
99 << tr("Reason") |
99 << tr("Reason") |
100 ); |
100 ); |
101 twBans->horizontalHeader()->setResizeMode(2, QHeaderView::Stretch); |
101 twBans->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch); |
102 twBans->setEditTriggers(QAbstractItemView::NoEditTriggers); |
102 twBans->setEditTriggers(QAbstractItemView::NoEditTriggers); |
103 twBans->setSelectionBehavior(QAbstractItemView::SelectRows); |
103 twBans->setSelectionBehavior(QAbstractItemView::SelectRows); |
104 twBans->setSelectionMode(QAbstractItemView::SingleSelection); |
104 twBans->setSelectionMode(QAbstractItemView::SingleSelection); |
105 twBans->setAlternatingRowColors(true); |
105 twBans->setAlternatingRowColors(true); |
106 tab2Layout->addWidget(twBans, 0, 1, 4, 1); |
106 tab2Layout->addWidget(twBans, 0, 1, 4, 1); |