diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2012-08-13 12:12:48 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-08-15 07:45:11 +0200 |
commit | c9a89663aacf51f8de6d87259be44ada00abdf4e (patch) | |
tree | d94d86acdfee6181f172e655c365e944dee6fc22 /src/plugins/projectexplorer/targetselector.h | |
parent | 0a369e92411ac7b62c10611f37c1a2692c97f376 (diff) | |
download | qt-creator-c9a89663aacf51f8de6d87259be44ada00abdf4e.tar.gz |
Project target page: Handle overflow and add left/right controls
Change-Id: I00dda35b6d3a3b3fe386968e30213772dc670ff5
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/targetselector.h')
-rw-r--r-- | src/plugins/projectexplorer/targetselector.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/targetselector.h b/src/plugins/projectexplorer/targetselector.h index c28c141cce..d20e536a51 100644 --- a/src/plugins/projectexplorer/targetselector.h +++ b/src/plugins/projectexplorer/targetselector.h @@ -52,7 +52,7 @@ public: explicit TargetSelector(QWidget *parent = 0); - QSize minimumSizeHint() const; + QSize sizeHint() const; int targetWidth() const; QString runButtonString() const { return tr("Run"); } @@ -84,6 +84,7 @@ protected: private: void getControlAt(int x, int y, int *buttonIndex, int *targetIndex, int *targetSubIndex, bool *removeButton); + int maxVisibleTargets() const; const QImage m_unselected; const QImage m_runselected; @@ -97,8 +98,7 @@ private: int m_currentTargetIndex; int m_currentHoveredTargetIndex; - bool m_rightButtonEnabled; - bool m_leftButtonEnabled; + int m_startIndex; }; } // namespace Internal |