|
|
@ -203,7 +203,7 @@ void TransactionView::setModel(WalletModel *model) |
|
|
|
transactionView->setSelectionBehavior(QAbstractItemView::SelectRows); |
|
|
|
transactionView->setSelectionBehavior(QAbstractItemView::SelectRows); |
|
|
|
transactionView->setSelectionMode(QAbstractItemView::ExtendedSelection); |
|
|
|
transactionView->setSelectionMode(QAbstractItemView::ExtendedSelection); |
|
|
|
transactionView->setSortingEnabled(true); |
|
|
|
transactionView->setSortingEnabled(true); |
|
|
|
transactionView->sortByColumn(TransactionTableModel::Status, Qt::DescendingOrder); |
|
|
|
transactionView->sortByColumn(TransactionTableModel::Date, Qt::DescendingOrder); |
|
|
|
transactionView->verticalHeader()->hide(); |
|
|
|
transactionView->verticalHeader()->hide(); |
|
|
|
|
|
|
|
|
|
|
|
transactionView->setColumnWidth(TransactionTableModel::Status, STATUS_COLUMN_WIDTH); |
|
|
|
transactionView->setColumnWidth(TransactionTableModel::Status, STATUS_COLUMN_WIDTH); |
|
|
|