Changeset 156 for smplayer/trunk/src/mpcgui
- Timestamp:
- Feb 21, 2014, 5:26:03 PM (11 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 154
- Property svn:mergeinfo changed
-
smplayer/trunk/src/mpcgui/mpcgui.cpp
r128 r156 88 88 controlwidget = new QToolBar( this ); 89 89 controlwidget->setObjectName("controlwidget"); 90 controlwidget->setLayoutDirection(Qt::LeftToRight); 91 90 92 controlwidget->setMovable(false); 91 93 controlwidget->setAllowedAreas(Qt::BottomToolBarArea); … … 109 111 controlwidget->addAction(volumeslider_action); 110 112 111 113 timeslidewidget = new QToolBar( this ); 112 114 timeslidewidget->setObjectName("timeslidewidget"); 115 timeslidewidget->setLayoutDirection(Qt::LeftToRight); 113 116 timeslidewidget->addAction(timeslider_action); 114 117 timeslidewidget->setMovable(false); … … 215 218 set->setValue( "pos", pos() ); 216 219 set->setValue( "size", size() ); 220 set->setValue( "state", (int) windowState() ); 217 221 } 218 222 … … 237 241 move(p); 238 242 resize(s); 243 244 setWindowState( (Qt::WindowStates) set->value("state", 0).toInt() ); 239 245 240 246 if (!DesktopInfo::isInsideScreen(this)) { … … 433 439 forward3Act->change( tr("+%1").arg(Helper::timeForJumps(pref->seeking3)) ); 434 440 441 /* 435 442 if (qApp->isLeftToRight()) { 443 */ 436 444 rewind1Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(80,0,16,16) ); 437 445 rewind2Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(80,0,16,16) ); … … 441 449 forward2Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(96,0,16,16) ); 442 450 forward3Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(112,0,16,16) ); 443 451 /* 444 452 } else { 445 453 rewind1Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(96,0,16,16) ); … … 451 459 forward3Act->setIcon( QPixmap(":/mpcgui/mpc_toolbar.png").copy(64,0,16,16) ); 452 460 } 461 */ 453 462 } 454 463
Note:
See TracChangeset
for help on using the changeset viewer.