fixed OpenGL in nvidia (there is a CPU ussage issue with vsync)

This commit is contained in:
Luis Ángel San Martín
2014-01-13 16:41:54 +01:00
commit 3c3c27f433
737 changed files with 67746 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#ifndef TITLE_HEADER_H
#define TITLE_HEADER_H
#include <QWidget>
class QLabel;
class TitleHeader : public QWidget
{
Q_OBJECT
public:
TitleHeader(QWidget * parent = 0);
public slots:
void setTitle(const QString & title);
void setSubTitle(const QString & title);
void showButtons(bool show);
private:
QLabel * mainTitleLabel;
QLabel * subTitleLabel;
};
#endif // TITLE_HEADER_H