/** @file
* VBox Qt GUI - UIGDetailsItem class declaration.
*/
/*
* Copyright (C) 2012-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef __UIGDetailsItem_h__
#define __UIGDetailsItem_h__
/* GUI includes: */
#include "QIGraphicsWidget.h"
#include "QIWithRetranslateUI.h"
/* Forward declaration: */
/* UIGDetailsItem types: */
enum UIGDetailsItemType
{
};
/* Details item interface
{
/* Notifiers: Build stuff: */
void sigBuildDone();
/* Constructor: */
/* API: Cast stuff: */
UIGDetailsSet* toSet();
/* API: Model stuff: */
UIGDetailsModel* model() const;
/* API: Parent stuff: */
UIGDetailsItem* parentItem() const;
/* API: Children stuff: */
/* API: Layout stuff: */
void updateGeometry();
virtual int minimumWidthHint() const = 0;
virtual int minimumHeightHint() const = 0;
virtual void updateLayout() = 0;
/* Handler: Build stuff: */
/* Helper: Translate stuff: */
void retranslateUi() {}
/* Helpers: Paint stuff: */
static void configurePainterShape(QPainter *pPainter, const QStyleOptionGraphicsItem *pOption, int iRadius);
/* Variables: */
};
/* Allows to build item content synchronously: */
{
/* Notifier: Build stuff: */
/* Constructor: */
/* Handler: Build stuff: */
void sltStepDone();
/* Variables: */
int m_iStepNumber;
};
#endif /* __UIGDetailsItem_h__ */