Changeset 181 for smplayer/trunk/src/actionseditor.cpp
- Timestamp:
- Aug 31, 2016, 5:31:04 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 179
- Property svn:mergeinfo changed
-
smplayer/trunk/src/actionseditor.cpp
r176 r181 45 45 #include "shortcutgetter.h" 46 46 47 #if QT_VERSION >= 0x050000 48 #include "myscroller.h" 49 #endif 47 50 48 51 /* … … 151 154 152 155 actionsTable = new QTableWidget(0, COL_NAME +1, this); 153 actionsTable->setSelectionMode( QAbstractItemView::SingleSelection ); 156 actionsTable->setSelectionMode(QAbstractItemView::SingleSelection); 157 actionsTable->setSelectionBehavior(QAbstractItemView::SelectRows); 154 158 actionsTable->verticalHeader()->hide(); 155 159 156 160 #if QT_VERSION >= 0x050000 161 MyScroller::setScroller(actionsTable->viewport()); 162 157 163 actionsTable->horizontalHeader()->setSectionResizeMode(COL_DESC, QHeaderView::Stretch); 158 164 actionsTable->horizontalHeader()->setSectionResizeMode(COL_NAME, QHeaderView::Stretch); … … 165 171 166 172 actionsTable->setAlternatingRowColors(true); 167 #if USE_SHORTCUTGETTER168 actionsTable->setSelectionBehavior(QAbstractItemView::SelectRows);169 actionsTable->setSelectionMode(QAbstractItemView::ExtendedSelection);170 #endif171 173 //actionsTable->setItemDelegateForColumn( COL_SHORTCUT, new MyDelegate(actionsTable) ); 172 174
Note:
See TracChangeset
for help on using the changeset viewer.