added YACReaderMacOSXToolbar class for using a native toolbar in MacOSX

This commit is contained in:
Luis Ángel San Martín
2014-11-03 19:20:09 +01:00
commit bb0bdbec5a
848 changed files with 78904 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