[Kde-bindings] playground/bindings/kimono
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Thu Jan 25 17:30:25 UTC 2007
SVN commit 627099 by rdale:
* QWidget.SizeHint is no longer a property as it needs to be overriden in
subclasses.
CCMAIL: kde-bindings at kde.org
M +3 -0 ChangeLog
M +1 -0 examples/tutorial/CMakeLists.txt
A examples/tutorial/t14 (directory)
A examples/tutorial/t14/CMakeLists.txt
A examples/tutorial/t14/cannonfield.cs
A examples/tutorial/t14/gameboard.cs
A examples/tutorial/t14/lcdrange.cs
A examples/tutorial/t14/main.cs
M +4 -5 gui/QWidget.cs
--- trunk/playground/bindings/kimono/ChangeLog #627098:627099
@@ -14,6 +14,9 @@
* Only add C# set properties for Q_PROPERTYs with a WRITE option
* Added cannon game tutorial t12
+ * Added tutorials t13 and t14
+ * QWidget.SizeHint is no longer a property as it needs to be overriden in
+ subclasses.
2007-24-01 Richard Dale <rdale at foton.es>
--- trunk/playground/bindings/kimono/examples/tutorial/CMakeLists.txt #627098:627099
@@ -14,4 +14,5 @@
ADD_SUBDIRECTORY(t11)
ADD_SUBDIRECTORY(t12)
ADD_SUBDIRECTORY(t13)
+ADD_SUBDIRECTORY(t14)
--- trunk/playground/bindings/kimono/gui/QWidget.cs #627098:627099
@@ -280,11 +280,6 @@
return Property("fullScreen").Value<bool>();
}
}
- public QSize SizeHint {
- get {
- return Property("sizeHint").Value<QSize>();
- }
- }
public QSize MinimumSizeHint {
get {
return Property("minimumSizeHint").Value<QSize>();
@@ -847,6 +842,10 @@
public void OverrideWindowState(int state) {
ProxyQWidget().OverrideWindowState(state);
}
+ [SmokeMethod("sizeHint() const")]
+ public virtual QSize SizeHint() {
+ return ProxyQWidget().SizeHint();
+ }
[SmokeMethod("setSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy)")]
public void SetSizePolicy(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical) {
ProxyQWidget().SetSizePolicy(horizontal,vertical);
More information about the Kde-bindings
mailing list