// Description:
//
//
-// Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2007-2011
+// Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2007-2013
//
// Copyright: See README/COPYING.GPL files that come with this distribution
//
connect(p,SIGNAL(clicked()),this,SLOT(removePrice()));
pricetable->setModel(pricemodel=new QStandardItemModel(this));
pricetable->setEditTriggers(QAbstractItemView::NoEditTriggers);
+ pricetable->setSelectionMode(QAbstractItemView::SingleSelection);
+ pricetable->setSelectionBehavior(QAbstractItemView::SelectRows);
+ vl2->addWidget(new QLabel(tr("Hint: Prices with the lowest Ordering number are shown first when selecting a category for tickets.")));
updatePrice();
vl->addLayout(hl=new QHBoxLayout,0);
// Description:
//
//
-// Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2007-2011
+// Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2007-2013
//
// Copyright: See README/COPYING.GPL files that come with this distribution
//
hl->addWidget(eventtable=new QTableView,10);
eventtable->setModel(eventmodel=new QStandardItemModel(this));
eventtable->setSelectionMode(QAbstractItemView::SingleSelection);
+ eventtable->setSelectionBehavior(QAbstractItemView::SelectRows);
eventtable->setEditTriggers(QAbstractItemView::NoEditTriggers);
eventtable->verticalHeader()->hide();
hl->addSpacing(5);