1 #include "lqt_common.hpp"
6 template <> class LuaBinder
< QMainWindow
> : public QMainWindow
{
10 static int __LuaWrapCall__splitDockWidget (lua_State
*L
);
11 static int __LuaWrapCall__toolBarBreak (lua_State
*L
);
12 static int __LuaWrapCall__saveState (lua_State
*L
);
13 static int __LuaWrapCall__addToolBarBreak (lua_State
*L
);
14 static int __LuaWrapCall__createPopupMenu (lua_State
*L
);
15 static int __LuaWrapCall__insertToolBar (lua_State
*L
);
16 static int __LuaWrapCall__removeToolBarBreak (lua_State
*L
);
17 static int __LuaWrapCall__setAnimated (lua_State
*L
);
18 static int __LuaWrapCall__trUtf8__OverloadedVersion__1 (lua_State
*L
);
19 static int __LuaWrapCall__trUtf8__OverloadedVersion__2 (lua_State
*L
);
20 static int __LuaWrapCall__trUtf8 (lua_State
*L
);
21 static int __LuaWrapCall__setUnifiedTitleAndToolBarOnMac (lua_State
*L
);
22 static int __LuaWrapCall__tr__OverloadedVersion__1 (lua_State
*L
);
23 static int __LuaWrapCall__tr__OverloadedVersion__2 (lua_State
*L
);
24 static int __LuaWrapCall__tr (lua_State
*L
);
25 static int __LuaWrapCall__menuWidget (lua_State
*L
);
26 static int __LuaWrapCall__removeDockWidget (lua_State
*L
);
27 static int __LuaWrapCall__setCentralWidget (lua_State
*L
);
28 static int __LuaWrapCall__setDockOptions (lua_State
*L
);
29 static int __LuaWrapCall__setStatusBar (lua_State
*L
);
30 static int __LuaWrapCall__insertToolBarBreak (lua_State
*L
);
31 static int __LuaWrapCall__setMenuWidget (lua_State
*L
);
32 static int __LuaWrapCall__setMenuBar (lua_State
*L
);
33 static int __LuaWrapCall__isAnimated (lua_State
*L
);
34 static int __LuaWrapCall__statusBar (lua_State
*L
);
35 static int __LuaWrapCall__menuBar (lua_State
*L
);
36 static int __LuaWrapCall__setDockNestingEnabled (lua_State
*L
);
37 static int __LuaWrapCall__setIconSize (lua_State
*L
);
38 static int __LuaWrapCall__iconSize (lua_State
*L
);
39 static int __LuaWrapCall__dockWidgetArea (lua_State
*L
);
40 static int __LuaWrapCall__metaObject (lua_State
*L
);
41 static int __LuaWrapCall__new (lua_State
*L
);
42 static int __LuaWrapCall__unifiedTitleAndToolBarOnMac (lua_State
*L
);
43 static int __LuaWrapCall__delete (lua_State
*L
);
44 static int __LuaWrapCall__setCorner (lua_State
*L
);
45 static int __LuaWrapCall__corner (lua_State
*L
);
46 static int __LuaWrapCall__addToolBar__OverloadedVersion__1 (lua_State
*L
);
47 static int __LuaWrapCall__addToolBar__OverloadedVersion__2 (lua_State
*L
);
48 static int __LuaWrapCall__addToolBar__OverloadedVersion__3 (lua_State
*L
);
49 static int __LuaWrapCall__addToolBar (lua_State
*L
);
50 static int __LuaWrapCall__removeToolBar (lua_State
*L
);
51 static int __LuaWrapCall__dockOptions (lua_State
*L
);
52 static int __LuaWrapCall__restoreState (lua_State
*L
);
53 static int __LuaWrapCall__toolButtonStyle (lua_State
*L
);
54 static int __LuaWrapCall__tabifyDockWidget (lua_State
*L
);
55 static int __LuaWrapCall__isDockNestingEnabled (lua_State
*L
);
56 static int __LuaWrapCall__isSeparator (lua_State
*L
);
57 static int __LuaWrapCall__addDockWidget__OverloadedVersion__1 (lua_State
*L
);
58 static int __LuaWrapCall__addDockWidget__OverloadedVersion__2 (lua_State
*L
);
59 static int __LuaWrapCall__addDockWidget (lua_State
*L
);
60 static int __LuaWrapCall__setToolButtonStyle (lua_State
*L
);
61 static int __LuaWrapCall__toolBarArea (lua_State
*L
);
62 static int __LuaWrapCall__centralWidget (lua_State
*L
);
64 void styleChange (QStyle
& arg1
);
67 void focusInEvent (QFocusEvent
* arg1
);
70 void keyPressEvent (QKeyEvent
* arg1
);
72 const QMetaObject
* metaObject () const;
74 void setVisible (bool arg1
);
75 QVariant
inputMethodQuery (Qt::InputMethodQuery arg1
) const;
76 QPaintEngine
* paintEngine () const;
78 void dragLeaveEvent (QDragLeaveEvent
* arg1
);
81 void mousePressEvent (QMouseEvent
* arg1
);
83 QSize
sizeHint () const;
85 void moveEvent (QMoveEvent
* arg1
);
88 void tabletEvent (QTabletEvent
* arg1
);
91 void enterEvent (QEvent
* arg1
);
94 void closeEvent (QCloseEvent
* arg1
);
97 void dropEvent (QDropEvent
* arg1
);
99 QSize
minimumSizeHint () const;
100 QMenu
* createPopupMenu ();
102 void actionEvent (QActionEvent
* arg1
);
105 void showEvent (QShowEvent
* arg1
);
108 void dragEnterEvent (QDragEnterEvent
* arg1
);
111 void paintEvent (QPaintEvent
* arg1
);
114 void dragMoveEvent (QDragMoveEvent
* arg1
);
117 void contextMenuEvent (QContextMenuEvent
* arg1
);
120 void enabledChange (bool arg1
);
123 void disconnectNotify (const char * arg1
);
125 int heightForWidth (int arg1
) const;
127 void fontChange (const QFont
& arg1
);
130 bool focusNextPrevChild (bool arg1
);
133 void timerEvent (QTimerEvent
* arg1
);
136 void mouseMoveEvent (QMouseEvent
* arg1
);
139 void focusOutEvent (QFocusEvent
* arg1
);
142 void childEvent (QChildEvent
* arg1
);
145 void connectNotify (const char * arg1
);
148 void mouseReleaseEvent (QMouseEvent
* arg1
);
151 int metric (QPaintDevice::PaintDeviceMetric arg1
) const;
153 bool eventFilter (QObject
* arg1
, QEvent
* arg2
);
155 void inputMethodEvent (QInputMethodEvent
* arg1
);
158 void wheelEvent (QWheelEvent
* arg1
);
161 void resizeEvent (QResizeEvent
* arg1
);
164 void paletteChange (const QPalette
& arg1
);
167 void languageChange ();
170 bool event (QEvent
* arg1
);
173 void hideEvent (QHideEvent
* arg1
);
176 void mouseDoubleClickEvent (QMouseEvent
* arg1
);
179 void keyReleaseEvent (QKeyEvent
* arg1
);
182 void windowActivationChange (bool arg1
);
185 void leaveEvent (QEvent
* arg1
);
188 void changeEvent (QEvent
* arg1
);
191 void customEvent (QEvent
* arg1
);
193 ~LuaBinder
< QMainWindow
> ();
194 static int lqt_pushenum_DockOption (lua_State
*L
);
195 static int lqt_pushenum_DockOption_QFLAGS_CREATOR (lua_State
*L
);
196 LuaBinder
< QMainWindow
> (lua_State
*l
, QWidget
* arg1
, QFlags
<Qt::WindowType
> arg2
):QMainWindow(arg1
, arg2
), L(l
) {}
199 extern "C" int luaopen_QMainWindow (lua_State
*L
);