blob: 921d8bbc4de00b7e7fac43ee40fdf80379e79ad5 (
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;
import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQColor;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQDragEnterEvent;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQResizeEvent;
import org.trinitydesktop.qt.TQGridView;
/**
A table of editable color cells.
See {@link KColorCellsSignals} for signals emitted by KColorCells
@author Martin Jones <mjones@kde.org>
@short A table of editable color cells.
*/
public class KColorCells extends TQGridView {
protected KColorCells(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public KColorCells(TQWidget parent, int rows, int cols) {
super((Class) null);
newKColorCells(parent,rows,cols);
}
private native void newKColorCells(TQWidget parent, int rows, int cols);
public native void setColor(int colNum, TQColor col);
public native TQColor color(int indx);
public native int numCells();
public native void setShading(boolean _shade);
public native void setAcceptDrags(boolean _acceptDrags);
public native int getSelected();
public native void paintCell(TQPainter painter, int row, int col);
protected native void resizeEvent(TQResizeEvent arg1);
protected native void mouseReleaseEvent(TQMouseEvent arg1);
protected native void mousePressEvent(TQMouseEvent arg1);
protected native void mouseMoveEvent(TQMouseEvent arg1);
protected native void dragEnterEvent(TQDragEnterEvent arg1);
protected native void dropEvent(TQDropEvent arg1);
protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
protected native int posToCell(TQPoint pos, boolean ignoreBorders);
protected native int posToCell(TQPoint pos);
/** 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();
}
|