42 #ifndef QDYNAMICTOOLBAR_H 43 #define QDYNAMICTOOLBAR_H 45 #include <QtGui/qwidget.h> 67 NOTIFY movableChanged)
68 Qt::ToolBarAreas allowedAreas;) != 0)
69 NOTIFY allowedAreasChanged)
71 NOTIFY orientationChanged)
82 void setMovable(
bool movable);
83 bool isMovable()
const;
85 void setAllowedAreas(Qt::ToolBarAreas areas);
86 Qt::ToolBarAreas allowedAreas()
const;
89 {
return (allowedAreas() & area) ==
area; }
96 #ifdef Q_NO_USING_KEYWORD 107 const QObject *receiver,
const char* member);
117 inline QAction *actionAt(
int x,
int y)
const;
119 QAction *toggleViewAction()
const;
121 QSize iconSize()
const;
126 bool isFloatable()
const;
127 void setFloatable(
bool floatable);
128 bool isFloating()
const;
131 void setIconSize(
const QSize &iconSize);
135 void actionTriggered(
QAction *action);
136 void movableChanged(
bool movable);
137 void allowedAreasChanged(Qt::ToolBarAreas allowedAreas);
139 void iconSizeChanged(
const QSize &iconSize);
141 void topLevelChanged(
bool topLevel);
142 void visibilityChanged(
bool visible);
156 inline QT3_SUPPORT
void setLabel(
const QString &label)
158 inline QT3_SUPPORT
QString label()
const 175 inline
QAction *QToolBar::actionAt(
int ax,
int ay)
const 176 {
return actionAt(
QPoint(ax, ay)); }
178 #endif // QT_NO_TOOLBAR 184 #endif // QDYNAMICTOOLBAR_H
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
static void clear(QVariant::Private *d)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QActionEvent class provides an event that is generated when a QAction is added, removed, or changed.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void childEvent(QChildEvent *)
This event handler can be reimplemented in a subclass to receive child events.
The QResizeEvent class contains event parameters for resize events.
The QChildEvent class contains event parameters for child object events.
The QPoint class defines a point in the plane using integer precision.
The QMainWindow class provides a main application window.
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QAction class provides an abstract user interface action that can be inserted into widgets...
static int area(const QSize &s)
The QIcon class provides scalable icons in different modes and states.