QTfrontend/pages.cpp
changeset 3693 09892cdb8f95
parent 3691 34fe2149f75d
child 3694 3e9c0634065c
child 3695 c11abf387a7d
equal deleted inserted replaced
3680:aaf832c6fbd7 3693:09892cdb8f95
   106     Tips << tr("Hedgewars is Open Source and Freeware we create in our spare time. Share it with your family and friends as you like!", "Tips");
   106     Tips << tr("Hedgewars is Open Source and Freeware we create in our spare time. Share it with your family and friends as you like!", "Tips");
   107     Tips << tr("From time to time there will be official tournaments. Upcoming events will be announced at http://www.hedgewars.org/ some days in advance.", "Tips");
   107     Tips << tr("From time to time there will be official tournaments. Upcoming events will be announced at http://www.hedgewars.org/ some days in advance.", "Tips");
   108     Tips << tr("Hedgewars is available in many languages. If the translation in your language seems to be missing or outdated, feel free to contact us!", "Tips");
   108     Tips << tr("Hedgewars is available in many languages. If the translation in your language seems to be missing or outdated, feel free to contact us!", "Tips");
   109     Tips << tr("Hedgewars can be run on lots of different operating systems including Microsoft Windows, Mac OS X and Linux.", "Tips");
   109     Tips << tr("Hedgewars can be run on lots of different operating systems including Microsoft Windows, Mac OS X and Linux.", "Tips");
   110     Tips << tr("Always remember you're able to set up your own games in local and network/online play. You're not restricted to the 'Simple Game' option.", "Tips");
   110     Tips << tr("Always remember you're able to set up your own games in local and network/online play. You're not restricted to the 'Simple Game' option.", "Tips");
   111     Tips << tr("Connect a gamepad before launching the game to be able to assign its controls to your team.", "Tips");
   111     Tips << tr("Connect one or more gamepads before launching the game to be able to assign their controls to your teams.", "Tips");
   112     Tips << tr("Create an account on http://www.hedgewars.org/ to keep others from using your most favourite nickname while playing on the official server.", "Tips");
   112     Tips << tr("Create an account on http://www.hedgewars.org/ to keep others from using your most favourite nickname while playing on the official server.", "Tips");
   113     Tips << tr("While playing you should give yourself a short break at least once an hour.", "Tips");
   113     Tips << tr("While playing you should give yourself a short break at least once an hour.", "Tips");
   114     Tips << tr("If your graphics card isn't able to provide hardware accelerated OpenGL, try to enable the low quality mode to improve performance.", "Tips");
   114     Tips << tr("If your graphics card isn't able to provide hardware accelerated OpenGL, try to enable the low quality mode to improve performance.", "Tips");
   115     Tips << tr("We're open to suggestions and constructive feedback. If you don't like something or got a great idea, let us know!", "Tips");
   115     Tips << tr("We're open to suggestions and constructive feedback. If you don't like something or got a great idea, let us know!", "Tips");
   116     Tips << tr("Especially while playing online be polite and always remember there might be some minors playing with or against you as well!", "Tips");
   116     Tips << tr("Especially while playing online be polite and always remember there might be some minors playing with or against you as well!", "Tips");
   120     Tips << tr("Hedgewars can be perfect for short games during breaks. Just ensure you don't add too many hedgehogs or use an huge map. Reducing time and health might help as well.", "Tips");
   120     Tips << tr("Hedgewars can be perfect for short games during breaks. Just ensure you don't add too many hedgehogs or use an huge map. Reducing time and health might help as well.", "Tips");
   121     Tips << tr("No hedgehogs were harmed in making this game.", "Tips");
   121     Tips << tr("No hedgehogs were harmed in making this game.", "Tips");
   122     
   122     
   123 
   123 
   124     if(isDevBuild)
   124     if(isDevBuild)
   125         mainNote->setText(QLabel::tr("This HG build is 'work in progress' and may not be compatible with other versions of the game. Some features might be broken or incomplete. Use at your own risk!"));
   125         mainNote->setText(QLabel::tr("This development build is 'work in progress' and may not be compatible with other versions of the game. Some features might be broken or incomplete. Use at your own risk!"));
   126     else
   126     else
   127         mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]);
   127         mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]);
   128 
   128 
   129     pageLayout->addWidget(mainNote, 4, 1, 1, 2);
   129     pageLayout->addWidget(mainNote, 4, 1, 1, 2);
   130 
   130 
   609             GBAlayout->addWidget(CBFullscreen);
   609             GBAlayout->addWidget(CBFullscreen);
   610 
   610 
   611             CBReduceQuality = new QCheckBox(AGGroupBox);
   611             CBReduceQuality = new QCheckBox(AGGroupBox);
   612             CBReduceQuality->setText(QCheckBox::tr("Reduced quality"));
   612             CBReduceQuality->setText(QCheckBox::tr("Reduced quality"));
   613             GBAlayout->addWidget(CBReduceQuality);
   613             GBAlayout->addWidget(CBReduceQuality);
       
   614 
       
   615             CBEnableStereo = new QCheckBox(AGGroupBox);
       
   616             CBEnableStereo->setText(QCheckBox::tr("Anaglyph rendering (red/cyan)"));
       
   617             GBAlayout->addWidget(CBEnableStereo);
   614 
   618 
   615             hr = new QFrame(AGGroupBox);
   619             hr = new QFrame(AGGroupBox);
   616             hr->setFrameStyle(QFrame::HLine);
   620             hr->setFrameStyle(QFrame::HLine);
   617             hr->setLineWidth(3);
   621             hr->setLineWidth(3);
   618             hr->setFixedHeight(10);
   622             hr->setFixedHeight(10);