close button restored for bookmarks in OSX

This commit is contained in:
Luis Ángel San Martín
2013-11-23 09:47:27 -08:00
commit 8b2967c1a3
733 changed files with 65526 additions and 0 deletions

View File

@ -0,0 +1,33 @@
#ifndef GOTO_FLOW_TOOLBAR_H
#define GOTO_FLOW_TOOLBAR_H
#include <QWidget>
class QLineEdit;
class QIntValidator;
class QPushButton;
class GoToFlowToolBar : public QWidget
{
Q_OBJECT
private:
QLineEdit * edit;
QIntValidator * v;
QPushButton * centerButton;
QPushButton * goToButton;
QWidget * bar;
void resizeEvent(QResizeEvent * event);
public:
GoToFlowToolBar(QWidget * parent = 0);
public slots:
void setPage(int pageNumber);
void setTop(int numPages);
void goTo();
void centerSlide();
signals:
void setCenter(unsigned int);
void goTo(unsigned int);
};
#endif