74 QList<Panel::Ptr> panelsForZone(Panel::Position zone)
const;
75 QList<Panel::Ptr> panelsForZoneSortedByOrderReverse(Panel::Position zone)
const;
76 int marginSize(Panel::Position zone = Panel::Left);
78 Panel::Ptr append(Panel::Ptr panel, Panel::Position pos = Panel::Left);
79 Panel::Ptr remove(
const QString &nameOrClass);
85 Panel::Ptr get(
const QString &nameOrClass);
90 ZoneItems(
int margin) : marginSize(margin) {}
93 QList<Panel::Ptr> panels;
95 int len()
const {
return panels.size(); }
96 void add(Panel::Ptr p,
const QString &name);
97 Panel::Ptr removeFirst(
const QString &name);
98 Panel::Ptr get(
const QString &name)
const;
101 QPoint m_cachedCursorPos;
106 QList<ZoneItems> m_panels;
109 QVector<int> computeZonesSizes();
113 void updateViewportMargins();
114 void update(
const QRect & rect,
int dy,
bool forceUpdateMargins =
false);