summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QMainWindow.java
blob: 7969ac6b291bfcfe82277cab98b14d10afb69607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QMainWindowSignals} for signals emitted by QMainWindow
*/
public class QMainWindow extends QWidget  {
	protected QMainWindow(Class dummy){super((Class) null);}
	public static final int OnlyToolBars = 0;
	public static final int NoToolBars = 1;
	public static final int AllDockWindows = 2;

	public native QMetaObject metaObject();
	public native String className();
	public QMainWindow(QWidget parent, String name, int f) {
		super((Class) null);
		newQMainWindow(parent,name,f);
	}
	private native void newQMainWindow(QWidget parent, String name, int f);
	public QMainWindow(QWidget parent, String name) {
		super((Class) null);
		newQMainWindow(parent,name);
	}
	private native void newQMainWindow(QWidget parent, String name);
	public QMainWindow(QWidget parent) {
		super((Class) null);
		newQMainWindow(parent);
	}
	private native void newQMainWindow(QWidget parent);
	public QMainWindow() {
		super((Class) null);
		newQMainWindow();
	}
	private native void newQMainWindow();
	public native QMenuBar menuBar();
	public native QStatusBar statusBar();
	public native QToolTipGroup toolTipGroup();
	public native void setCentralWidget(QWidget arg1);
	public native QWidget centralWidget();
	public native void setDockEnabled(int dock, boolean enable);
	public native boolean isDockEnabled(int dock);
	public native boolean isDockEnabled(QDockArea area);
	public native void setDockEnabled(QDockWindow tb, int dock, boolean enable);
	public native boolean isDockEnabled(QDockWindow tb, int dock);
	public native boolean isDockEnabled(QDockWindow tb, QDockArea area);
	public native void addDockWindow(QDockWindow arg1, int arg2, boolean newLine);
	public native void addDockWindow(QDockWindow arg1, int arg2);
	public native void addDockWindow(QDockWindow arg1);
	public native void addDockWindow(QDockWindow arg1, String label, int arg3, boolean newLine);
	public native void addDockWindow(QDockWindow arg1, String label, int arg3);
	public native void addDockWindow(QDockWindow arg1, String label);
	public native void moveDockWindow(QDockWindow arg1, int arg2);
	public native void moveDockWindow(QDockWindow arg1);
	public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
	public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index);
	public native void removeDockWindow(QDockWindow arg1);
	public native void show();
	public native void hide();
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native boolean rightJustification();
	public native boolean usesBigPixmaps();
	public native boolean usesTextLabel();
	public native boolean dockWindowsMovable();
	public native boolean opaqueMoving();
	public native boolean eventFilter(QObject arg1, QEvent arg2);
	public native boolean getLocation(QDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset);
	// QPtrList<QDockWindow> dockWindows(Qt::Dock arg1); >>>> NOT CONVERTED
	// QPtrList<QDockWindow> dockWindows(); >>>> NOT CONVERTED
	public native void lineUpDockWindows(boolean keepNewLines);
	public native void lineUpDockWindows();
	public native boolean isDockMenuEnabled();
	public native boolean hasDockWindow(QDockWindow dw);
	public native void addToolBar(QDockWindow arg1, int arg2, boolean newLine);
	public native void addToolBar(QDockWindow arg1, int arg2);
	public native void addToolBar(QDockWindow arg1);
	public native void addToolBar(QDockWindow arg1, String label, int arg3, boolean newLine);
	public native void addToolBar(QDockWindow arg1, String label, int arg3);
	public native void addToolBar(QDockWindow arg1, String label);
	public native void moveToolBar(QDockWindow arg1, int arg2);
	public native void moveToolBar(QDockWindow arg1);
	public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
	public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index);
	public native void removeToolBar(QDockWindow arg1);
	public native boolean toolBarsMovable();
	// QPtrList<QToolBar> toolBars(Qt::Dock arg1); >>>> NOT CONVERTED
	public native void lineUpToolBars(boolean keepNewLines);
	public native void lineUpToolBars();
	public native QDockArea dockingArea(QPoint p);
	public native QDockArea leftDock();
	public native QDockArea rightDock();
	public native QDockArea topDock();
	public native QDockArea bottomDock();
	public native boolean isCustomizable();
	public native boolean appropriate(QDockWindow dw);
	public native QPopupMenu createDockWindowMenu(int dockWindows);
	public native QPopupMenu createDockWindowMenu();
	public native void setRightJustification(boolean arg1);
	public native void setUsesBigPixmaps(boolean arg1);
	public native void setUsesTextLabel(boolean arg1);
	public native void setDockWindowsMovable(boolean arg1);
	public native void setOpaqueMoving(boolean arg1);
	public native void setDockMenuEnabled(boolean arg1);
	public native void whatsThis();
	public native void setAppropriate(QDockWindow dw, boolean a);
	public native void customize();
	public native void setToolBarsMovable(boolean arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paintEvent(QPaintEvent arg1);
	protected native void childEvent(QChildEvent arg1);
	public native boolean event(QEvent arg1);
	public native void styleChange(QStyle arg1);
	protected native void setUpLayout();
	protected native boolean showDockMenu(QPoint globalPos);
	protected native void menuAboutToShow();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}