VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIArrowSplitter.h@ 35740

Last change on this file since 35740 was 28800, checked in by vboxsync, 14 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1/** @file
2 *
3 * VBox frontends: Qt GUI ("VirtualBox"):
4 * VirtualBox Qt extensions: QIArrowSplitter class declaration
5 */
6
7/*
8 * Copyright (C) 2006-2009 Oracle Corporation
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License (GPL) as published by the Free Software
14 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
17 */
18
19#ifndef __QIArrowSplitter_h__
20#define __QIArrowSplitter_h__
21
22/* VBox includes */
23#include "QIArrowButtonPress.h"
24#include "QIArrowButtonSwitch.h"
25
26/* Qt includes */
27#include <QWidget>
28#include <QHBoxLayout>
29
30/* VBox forwards */
31class QIArrowButtonPress;
32class QIArrowButtonSwitch;
33
34/* Qt forwards */
35class QVBoxLayout;
36
37/** @class QIArrowSplitter
38 *
39 * The QIArrowSplitter class is a folding widget placeholder.
40 *
41 */
42class QIArrowSplitter : public QWidget
43{
44 Q_OBJECT;
45
46public:
47
48 QIArrowSplitter (QWidget *aChild, QWidget *aParent = 0);
49
50 void setMultiPaging (bool aMultiPage);
51
52 void setButtonEnabled (bool aNext, bool aEnabled);
53
54 void setName (const QString &aName);
55
56public slots:
57
58 void toggleWidget();
59
60signals:
61
62 void showBackDetails();
63 void showNextDetails();
64
65private:
66
67 bool eventFilter (QObject *aObject, QEvent *aEvent);
68
69 void relayout();
70
71 QVBoxLayout *mMainLayout;
72 QIArrowButtonSwitch *mSwitchButton;
73 QIArrowButtonPress *mBackButton;
74 QIArrowButtonPress *mNextButton;
75 QWidget *mChild;
76};
77
78#endif
79
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use