QIArrowSplitter.cpp revision a9b62afc62b28da7a1a77f34259f8013892d9664
b9c8ce2bdd4045782c243605a1b999098bedcffcNoam Meltzer * VBox Qt GUI - QIArrowSplitter class implementation.
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * Copyright (C) 2006-2014 Oracle Corporation
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * This file is part of VirtualBox Open Source Edition (OSE), as
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * available from http://www.virtualbox.org. This file is free software;
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * you can redistribute it and/or modify it under the terms of the GNU
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * General Public License (GPL) as published by the Free Software
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * Foundation, in version 2 as it comes in the "COPYING" file of the
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
fe008197e415e10994e1fd96a9ff060be77ac6c4Lukas Slebodnik#else /* !VBOX_WITH_PRECOMPILED_HEADERS */
# include <QApplication>
# include <QDesktopWidget>
# include <QStyle>
# include <QHBoxLayout>
# include <QTextEdit>
# include "QIArrowSplitter.h"
# include "QIArrowButtonSwitch.h"
# include "QIArrowButtonPress.h"
# include "UIIconPool.h"
void updateScrollBars();
setReadOnly(true);
return mSizeHint;
return minimumSizeHint();
, m_pMainLayout(0)
, m_pSwitchButton(0)
, m_pBackButton(0)
, m_pNextButton(0)
, m_pDetailsBrowser(0)
prepare();
int iWidthHint = 0;
int iHeightHint = 0;
setName(QApplication::translate("QIMessageBox", "&Details (%1 of %2)").arg(m_iDetailsIndex + 1).arg(m_details.size()));