#include "frontends/WorkArea.h"
-#include "support/docstring.h"
-
#include <QAbstractScrollArea>
#include <QTabBar>
#include <QTabWidget>
GuiView const & view() const;
GuiView & view();
+ /// Current ratio between physical pixels and device-independent pixels
+ double pixelRatio() const;
+
public Q_SLOTS:
///
void stopBlinkingCursor();
/// close the tab given by \c index
void closeTab(int index);
///
+ void moveTab(int fromIndex, int toIndex);
+ ///
void updateTabTexts();
private Q_SLOTS:
///
void showContextMenu(const QPoint & pos);
///
- void moveTab(int fromIndex, int toIndex);
- ///
void mouseDoubleClickEvent(QMouseEvent * event);
private:
///
DragTabBar(QWidget * parent = 0);
-#if QT_VERSION < 0x040300
- ///
- int tabAt(QPoint const & position) const;
-#endif
-
protected:
///
void mousePressEvent(QMouseEvent * event);
private:
///
QPoint dragStartPos_;
- ///
- int dragCurrentIndex_;
Q_SIGNALS:
///