summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSlider.java
blob: 7ea764c48ee7359b35831d3a59a20d5a648877cc (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QSliderSignals} for signals emitted by QSlider
*/
public class QSlider extends QWidget implements QRangeControlInterface {
	protected QSlider(Class dummy){super((Class) null);}
	public static final int NoMarks = 0;
	public static final int Above = 1;
	public static final int Left = Above;
	public static final int Below = 2;
	public static final int Right = Below;
	public static final int Both = 3;

	public native QMetaObject metaObject();
	public native String className();
	public QSlider(QWidget parent, String name) {
		super((Class) null);
		newQSlider(parent,name);
	}
	private native void newQSlider(QWidget parent, String name);
	public QSlider(QWidget parent) {
		super((Class) null);
		newQSlider(parent);
	}
	private native void newQSlider(QWidget parent);
	public QSlider(int arg1, QWidget parent, String name) {
		super((Class) null);
		newQSlider(arg1,parent,name);
	}
	private native void newQSlider(int arg1, QWidget parent, String name);
	public QSlider(int arg1, QWidget parent) {
		super((Class) null);
		newQSlider(arg1,parent);
	}
	private native void newQSlider(int arg1, QWidget parent);
	public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name) {
		super((Class) null);
		newQSlider(minValue,maxValue,pageStep,value,arg5,parent,name);
	}
	private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name);
	public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent) {
		super((Class) null);
		newQSlider(minValue,maxValue,pageStep,value,arg5,parent);
	}
	private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent);
	public native void setOrientation(int arg1);
	public native int orientation();
	public native void setTracking(boolean enable);
	public native boolean tracking();
	public native void setPalette(QPalette arg1);
	public native int sliderStart();
	public native QRect sliderRect();
	public native QSize sizeHint();
	public native void setSizePolicy(QSizePolicy sp);
	public native void setSizePolicy(int hor, int ver, boolean hfw);
	public native void setSizePolicy(int hor, int ver);
	public native QSizePolicy sizePolicy();
	public native QSize minimumSizeHint();
	public native void setTickmarks(int arg1);
	public native int tickmarks();
	public native void setTickInterval(int arg1);
	public native int tickInterval();
	public native int minValue();
	public native int maxValue();
	public native void setMinValue(int arg1);
	public native void setMaxValue(int arg1);
	public native int lineStep();
	public native int pageStep();
	public native void setLineStep(int arg1);
	public native void setPageStep(int arg1);
	public native int value();
	public native void setValue(int arg1);
	public native void addStep();
	public native void subtractStep();
	public native void addLine();
	public native void subtractLine();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void paintEvent(QPaintEvent arg1);
	protected native void keyPressEvent(QKeyEvent arg1);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void mouseReleaseEvent(QMouseEvent arg1);
	protected native void mouseMoveEvent(QMouseEvent arg1);
	protected native void wheelEvent(QWheelEvent arg1);
	protected native void focusInEvent(QFocusEvent e);
	protected native void focusOutEvent(QFocusEvent e);
	public native void styleChange(QStyle arg1);
	protected native void valueChange();
	protected native void rangeChange();
	/** 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();
	public native void addPage();
	public native void subtractPage();
	public native void setRange(int minValue, int maxValue);
	public native void setSteps(int line, int page);
	public native int bound(int arg1);
	protected native int positionFromValue(int val, int space);
	protected native int valueFromPosition(int pos, int space);
	protected native void directSetValue(int val);
	protected native int prevValue();
	protected native void stepChange();
}