[Kde-bindings] playground/bindings/kimono
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Thu Jan 25 12:20:05 UTC 2007
SVN commit 627007 by rdale:
* Only add C# set properties for Q_PROPERTYs with a WRITE option
* Added cannon game tutorial t12
CCMAIL: kde-bindings at kde.org
M +3 -0 ChangeLog
M +1 -0 examples/tutorial/CMakeLists.txt
A examples/tutorial/t12 (directory)
A examples/tutorial/t12/CMakeLists.txt
A examples/tutorial/t12/cannonfield.cs
A examples/tutorial/t12/lcdrange.cs
A examples/tutorial/t12/main.cs
M +0 -6 gui/QAbstractSpinBox.cs
M +0 -6 gui/QComboBox.cs
M +0 -3 gui/QDateTimeEdit.cs
M +0 -3 gui/QDial.cs
M +0 -3 gui/QDoubleSpinBox.cs
M +0 -3 gui/QFrame.cs
M +0 -18 gui/QLineEdit.cs
M +0 -3 gui/QListWidget.cs
M +0 -3 gui/QProgressBar.cs
M +0 -3 gui/QProgressDialog.cs
M +0 -3 gui/QSpinBox.cs
M +0 -3 gui/QStackedWidget.cs
M +0 -3 gui/QTabBar.cs
M +0 -3 gui/QTabWidget.cs
M +0 -6 gui/QTextDocument.cs
M +0 -3 gui/QToolBox.cs
M +0 -3 gui/QTreeWidget.cs
M +0 -48 gui/QWidget.cs
--- trunk/playground/bindings/kimono/ChangeLog #627006:627007
@@ -12,6 +12,9 @@
Emit.forceChanged(currentForce);
+ * Only add C# set properties for Q_PROPERTYs with a WRITE option
+ * Added cannon game tutorial t12
+
2007-24-01 Richard Dale <rdale at foton.es>
* Q_PROPERTYs are now mapped onto C# properties, and the correponding set
--- trunk/playground/bindings/kimono/examples/tutorial/CMakeLists.txt #627006:627007
@@ -12,4 +12,5 @@
ADD_SUBDIRECTORY(t9)
ADD_SUBDIRECTORY(t10)
ADD_SUBDIRECTORY(t11)
+ADD_SUBDIRECTORY(t12)
--- trunk/playground/bindings/kimono/gui/QAbstractSpinBox.cs #627006:627007
@@ -94,9 +94,6 @@
get {
return Property("text").Value<string>();
}
- set {
- SetProperty("text", QVariant.FromValue<string>(value));
- }
}
public bool Accelerated {
get {
@@ -118,9 +115,6 @@
get {
return Property("acceptableInput").Value<bool>();
}
- set {
- SetProperty("acceptableInput", QVariant.FromValue<bool>(value));
- }
}
// int qt_metacall(QMetaObject::Call arg1,int arg2,void** arg3); >>>> NOT CONVERTED
public QAbstractSpinBox(QWidget parent) : this((Type) null) {
--- trunk/playground/bindings/kimono/gui/QComboBox.cs #627006:627007
@@ -56,17 +56,11 @@
get {
return Property("count").Value<int>();
}
- set {
- SetProperty("count", QVariant.FromValue<int>(value));
- }
}
public string CurrentText {
get {
return Property("currentText").Value<string>();
}
- set {
- SetProperty("currentText", QVariant.FromValue<string>(value));
- }
}
public int CurrentIndex {
get {
--- trunk/playground/bindings/kimono/gui/QDateTimeEdit.cs #627006:627007
@@ -110,9 +110,6 @@
get {
return Property("displayedSections").Value<int>();
}
- set {
- SetProperty("displayedSections", QVariant.FromValue<int>(value));
- }
}
public string DisplayFormat {
get {
--- trunk/playground/bindings/kimono/gui/QDial.cs #627006:627007
@@ -40,9 +40,6 @@
get {
return Property("notchSize").Value<int>();
}
- set {
- SetProperty("notchSize", QVariant.FromValue<int>(value));
- }
}
public double NotchTarget {
get {
--- trunk/playground/bindings/kimono/gui/QDoubleSpinBox.cs #627006:627007
@@ -49,9 +49,6 @@
get {
return Property("cleanText").Value<string>();
}
- set {
- SetProperty("cleanText", QVariant.FromValue<string>(value));
- }
}
public int Decimals {
get {
--- trunk/playground/bindings/kimono/gui/QFrame.cs #627006:627007
@@ -82,9 +82,6 @@
get {
return Property("frameWidth").Value<int>();
}
- set {
- SetProperty("frameWidth", QVariant.FromValue<int>(value));
- }
}
public QRect FrameRect {
get {
--- trunk/playground/bindings/kimono/gui/QLineEdit.cs #627006:627007
@@ -79,9 +79,6 @@
get {
return Property("displayText").Value<string>();
}
- set {
- SetProperty("displayText", QVariant.FromValue<string>(value));
- }
}
public int CursorPosition {
get {
@@ -111,17 +108,11 @@
get {
return Property("hasSelectedText").Value<bool>();
}
- set {
- SetProperty("hasSelectedText", QVariant.FromValue<bool>(value));
- }
}
public string SelectedText {
get {
return Property("selectedText").Value<string>();
}
- set {
- SetProperty("selectedText", QVariant.FromValue<string>(value));
- }
}
public bool DragEnabled {
get {
@@ -143,25 +134,16 @@
get {
return Property("undoAvailable").Value<bool>();
}
- set {
- SetProperty("undoAvailable", QVariant.FromValue<bool>(value));
- }
}
public bool RedoAvailable {
get {
return Property("redoAvailable").Value<bool>();
}
- set {
- SetProperty("redoAvailable", QVariant.FromValue<bool>(value));
- }
}
public bool AcceptableInput {
get {
return Property("acceptableInput").Value<bool>();
}
- set {
- SetProperty("acceptableInput", QVariant.FromValue<bool>(value));
- }
}
// int qt_metacall(QMetaObject::Call arg1,int arg2,void** arg3); >>>> NOT CONVERTED
public QLineEdit(QWidget parent) : this((Type) null) {
--- trunk/playground/bindings/kimono/gui/QListWidget.cs #627006:627007
@@ -34,9 +34,6 @@
get {
return Property("count").Value<int>();
}
- set {
- SetProperty("count", QVariant.FromValue<int>(value));
- }
}
public int CurrentRow {
get {
--- trunk/playground/bindings/kimono/gui/QProgressBar.cs #627006:627007
@@ -53,9 +53,6 @@
get {
return Property("text").Value<string>();
}
- set {
- SetProperty("text", QVariant.FromValue<string>(value));
- }
}
public int Value {
get {
--- trunk/playground/bindings/kimono/gui/QProgressDialog.cs #627006:627007
@@ -33,9 +33,6 @@
get {
return Property("wasCanceled").Value<bool>();
}
- set {
- SetProperty("wasCanceled", QVariant.FromValue<bool>(value));
- }
}
public int Minimum {
get {
--- trunk/playground/bindings/kimono/gui/QSpinBox.cs #627006:627007
@@ -49,9 +49,6 @@
get {
return Property("cleanText").Value<string>();
}
- set {
- SetProperty("cleanText", QVariant.FromValue<string>(value));
- }
}
public int Maximum {
get {
--- trunk/playground/bindings/kimono/gui/QStackedWidget.cs #627006:627007
@@ -41,9 +41,6 @@
get {
return Property("count").Value<int>();
}
- set {
- SetProperty("count", QVariant.FromValue<int>(value));
- }
}
// int qt_metacall(QMetaObject::Call arg1,int arg2,void** arg3); >>>> NOT CONVERTED
public QStackedWidget(QWidget parent) : this((Type) null) {
--- trunk/playground/bindings/kimono/gui/QTabBar.cs #627006:627007
@@ -59,9 +59,6 @@
get {
return Property("count").Value<int>();
}
- set {
- SetProperty("count", QVariant.FromValue<int>(value));
- }
}
public bool DrawBase {
get {
--- trunk/playground/bindings/kimono/gui/QTabWidget.cs #627006:627007
@@ -67,9 +67,6 @@
get {
return Property("count").Value<int>();
}
- set {
- SetProperty("count", QVariant.FromValue<int>(value));
- }
}
public QSize IconSize {
get {
--- trunk/playground/bindings/kimono/gui/QTextDocument.cs #627006:627007
@@ -87,9 +87,6 @@
get {
return Property("size").Value<QSizeF>();
}
- set {
- SetProperty("size", QVariant.FromValue<QSizeF>(value));
- }
}
public double TextWidth {
get {
@@ -103,9 +100,6 @@
get {
return Property("blockCount").Value<int>();
}
- set {
- SetProperty("blockCount", QVariant.FromValue<int>(value));
- }
}
public string DefaultStyleSheet {
get {
--- trunk/playground/bindings/kimono/gui/QToolBox.cs #627006:627007
@@ -41,9 +41,6 @@
get {
return Property("count").Value<int>();
}
- set {
- SetProperty("count", QVariant.FromValue<int>(value));
- }
}
// int qt_metacall(QMetaObject::Call arg1,int arg2,void** arg3); >>>> NOT CONVERTED
public QToolBox(QWidget parent, int f) : this((Type) null) {
--- trunk/playground/bindings/kimono/gui/QTreeWidget.cs #627006:627007
@@ -42,9 +42,6 @@
get {
return Property("topLevelItemCount").Value<int>();
}
- set {
- SetProperty("topLevelItemCount", QVariant.FromValue<int>(value));
- }
}
// int qt_metacall(QMetaObject::Call arg1,int arg2,void** arg3); >>>> NOT CONVERTED
public QTreeWidget(QWidget parent) : this((Type) null) {
--- trunk/playground/bindings/kimono/gui/QWidget.cs #627006:627007
@@ -38,9 +38,6 @@
get {
return Property("modal").Value<bool>();
}
- set {
- SetProperty("modal", QVariant.FromValue<bool>(value));
- }
}
public Qt.WindowModality WindowModality {
get {
@@ -70,33 +67,21 @@
get {
return Property("frameGeometry").Value<QRect>();
}
- set {
- SetProperty("frameGeometry", QVariant.FromValue<QRect>(value));
- }
}
public QRect NormalGeometry {
get {
return Property("normalGeometry").Value<QRect>();
}
- set {
- SetProperty("normalGeometry", QVariant.FromValue<QRect>(value));
- }
}
public int X {
get {
return Property("x").Value<int>();
}
- set {
- SetProperty("x", QVariant.FromValue<int>(value));
- }
}
public int Y {
get {
return Property("y").Value<int>();
}
- set {
- SetProperty("y", QVariant.FromValue<int>(value));
- }
}
public QPoint Pos {
get {
@@ -110,9 +95,6 @@
get {
return Property("frameSize").Value<QSize>();
}
- set {
- SetProperty("frameSize", QVariant.FromValue<QSize>(value));
- }
}
public QSize Size {
get {
@@ -126,25 +108,16 @@
get {
return Property("rect").Value<QRect>();
}
- set {
- SetProperty("rect", QVariant.FromValue<QRect>(value));
- }
}
public QRect ChildrenRect {
get {
return Property("childrenRect").Value<QRect>();
}
- set {
- SetProperty("childrenRect", QVariant.FromValue<QRect>(value));
- }
}
public QRegion ChildrenRegion {
get {
return Property("childrenRegion").Value<QRegion>();
}
- set {
- SetProperty("childrenRegion", QVariant.FromValue<QRegion>(value));
- }
}
public QSizePolicy SizePolicy {
get {
@@ -254,9 +227,6 @@
get {
return Property("isActiveWindow").Value<bool>();
}
- set {
- SetProperty("isActiveWindow", QVariant.FromValue<bool>(value));
- }
}
public Qt.FocusPolicy FocusPolicy {
get {
@@ -270,9 +240,6 @@
get {
return Property("focus").Value<bool>();
}
- set {
- SetProperty("focus", QVariant.FromValue<bool>(value));
- }
}
public Qt.ContextMenuPolicy ContextMenuPolicy {
get {
@@ -302,41 +269,26 @@
get {
return Property("minimized").Value<bool>();
}
- set {
- SetProperty("minimized", QVariant.FromValue<bool>(value));
- }
}
public bool Maximized {
get {
return Property("maximized").Value<bool>();
}
- set {
- SetProperty("maximized", QVariant.FromValue<bool>(value));
- }
}
public bool FullScreen {
get {
return Property("fullScreen").Value<bool>();
}
- set {
- SetProperty("fullScreen", QVariant.FromValue<bool>(value));
- }
}
public QSize SizeHint {
get {
return Property("sizeHint").Value<QSize>();
}
- set {
- SetProperty("sizeHint", QVariant.FromValue<QSize>(value));
- }
}
public QSize MinimumSizeHint {
get {
return Property("minimumSizeHint").Value<QSize>();
}
- set {
- SetProperty("minimumSizeHint", QVariant.FromValue<QSize>(value));
- }
}
public bool AcceptDrops {
get {
More information about the Kde-bindings
mailing list