Shop - disabled gesture scrolling on grids. Increased scrollbar widths.

master
Josef Rokos 7 years ago
parent 34e1585327
commit 5794510bd2

@ -13,7 +13,7 @@
#include <QSharedPointer>
#include <QSortFilterProxyModel>
#include <QMessageBox>
#include <QScroller>
#include <QScrollBar>
#include "data/favorititem.h"
#include "favbutton.h"
@ -141,8 +141,8 @@ void ShopForm::loadLast()
ui->commodityTable->setColumnHidden(2, true);
ui->commodityTable->setColumnWidth(3, 90);
QScroller::grabGesture(ui->commodityTable, QScroller::LeftMouseButtonGesture);
QScroller::grabGesture(ui->actualReceipt, QScroller::LeftMouseButtonGesture);
ui->commodityTable->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 30px; }");
ui->actualReceipt->verticalScrollBar()->setStyleSheet("QScrollBar:vertical { width: 30px; }");
if (srv.isEetEnabled())
{

Loading…
Cancel
Save