35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
#include <assert.h> |
39 |
#include <QScrollArea> |
#include <QScrollArea> |
40 |
#include <QScrollBar> |
#include <QScrollBar> |
41 |
#include <gnu_java_awt_peer_qt_QtScrollPanePeer.h> |
#include <gnu_java_awt_peer_qt_QtScrollPanePeer.h> |
66 |
|
|
67 |
#define I_KNOW_WHAT_IM_DOING |
#define I_KNOW_WHAT_IM_DOING |
68 |
#define PARENT QScrollArea |
#define PARENT QScrollArea |
69 |
#include "eventmethods.cpp" |
#include "eventmethods.h" |
70 |
}; |
}; |
71 |
|
|
72 |
|
|
131 |
|
|
132 |
QWidget *child = view->viewport(); |
QWidget *child = view->viewport(); |
133 |
assert( child ); |
assert( child ); |
134 |
|
// child->setGeometry( 0, 0, w, h ); |
135 |
|
// child->update(); |
136 |
mainThread->postEventToMain( new AWTResizeEvent(child, 0, 0, w, h) ); |
mainThread->postEventToMain( new AWTResizeEvent(child, 0, 0, w, h) ); |
137 |
} |
} |
138 |
|
|