56 bool hasMaximumSize = this->
GetSite()->GetState()
57 == IStackPresentationSite::STATE_MINIMIZED;
63 int ,
int preferredResult)
66 int minSize = width ? s.width() : s.width();
68 if (this->
GetSite()->GetState() == IStackPresentationSite::STATE_MINIMIZED
69 || preferredResult < minSize)
74 return preferredResult;
83 if (this->
GetSite()->GetSelectedPart() == toMove)
IStackPresentationSite::Pointer GetSite()
virtual void MovePart(IPresentablePart::Pointer toMove, Object::Pointer cookie)
virtual void RestoreState(IPresentationSerializer *context, IMemento::Pointer memento)
virtual void ShowPartList()
StackPresentation(IStackPresentationSite::Pointer stackSite)
virtual void SaveState(IPresentationSerializer *context, IMemento::Pointer memento)
virtual void SelectPart(IPresentablePart::Pointer toSelect)=0
static const int AS_ACTIVE_NOFOCUS
virtual void RemovePart(IPresentablePart::Pointer oldPart)=0
static const int AS_INACTIVE
virtual void AddPart(IPresentablePart::Pointer newPart, Object::Pointer cookie)=0
virtual QSize ComputeMinimumSize()
virtual int ComputePreferredSize(bool width, int availableParallel, int availablePerpendicular, int preferredResult) override
static const int AS_ACTIVE_FOCUS
virtual int GetSizeFlags(bool width) override