QIStatusBar.h revision 6840a0fa2f0683a8f178f4d09351c94a58b07fd1
2N/A/** @file
2N/A *
2N/A * VBox frontends: Qt GUI ("VirtualBox"):
2N/A * VirtualBox Qt extensions: QIStatusBar class declaration
2N/A */
2N/A
2N/A/*
2N/A * Copyright (C) 2006-2007 Sun Microsystems, Inc.
2N/A *
2N/A * This file is part of VirtualBox Open Source Edition (OSE), as
2N/A * available from http://www.virtualbox.org. This file is free software;
2N/A * you can redistribute it and/or modify it under the terms of the GNU
2N/A * General Public License (GPL) as published by the Free Software
2N/A * Foundation, in version 2 as it comes in the "COPYING" file of the
2N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
2N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
2N/A *
2N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
2N/A * Clara, CA 95054 USA or visit http://www.sun.com if you need
2N/A * additional information or have any questions.
2N/A */
2N/A
2N/A#ifndef __QIStatusBar_h__
2N/A#define __QIStatusBar_h__
2N/A
2N/A/* Qt includes */
2N/A#include <QStatusBar>
2N/A
2N/A/**
2N/A * The QIStatusBar class is a replacement of QStatusBar with disabling
2N/A * drawing of sunken borders around every widget on the status bar.
2N/A */
2N/Aclass QIStatusBar : public QStatusBar
2N/A{
2N/A Q_OBJECT;
2N/A
2N/Apublic:
2N/A
2N/A QIStatusBar (QWidget *aParent = 0);
2N/A
2N/Aprotected slots:
2N/A
2N/A void rememberLastMessage (const QString &aMsg) { mMessage = aMsg; }
2N/A
2N/Aprotected:
2N/A
2N/A QString mMessage;
2N/A};
2N/A
2N/A#endif // __QIStatusBar_h__
2N/A
2N/A