Update Form Designer - Tests - tablewidgetView.ring
# Form/Window View - Generated Source Code File
-# Generated by the Ring 1.3 Form Designer
-# Date : 13/05/2017
-# Time : 22:58:46
+# Generated by the Ring 1.4 Form Designer
+# Date : 22/05/2017
+# Time : 04:56:06
Load "stdlib.ring"
Load "guilib.ring"
@@ -9,7 +9,7 @@ Load "guilib.ring"
import System.GUI
if IsMainSourceFile() {
- new qApp {
+ new App {
StyleFusion()
new tablewidgetView { win.show() }
exec()
@@ -17,7 +17,7 @@ if IsMainSourceFile() {
}
class tablewidgetView from WindowsViewParent
- win = new qMainWindow() {
+ win = new MainWindow() {
move(37,74)
resize(400,400)
setWindowTitle("Table Widget")
@@ -30,9 +30,9 @@ class tablewidgetView from WindowsViewParent
oFont.fromstring("")
setfont(oFont)
setColumnCount(3)
- setHorizontalHeaderItem(0, new QTableWidgetItem("one"))
- setHorizontalHeaderItem(1, new QTableWidgetItem("two"))
- setHorizontalHeaderItem(2, new QTableWidgetItem("three"))
+ setHorizontalHeaderItem(1, new QTableWidgetItem("one"))
+ setHorizontalHeaderItem(2, new QTableWidgetItem("two"))
+ setHorizontalHeaderItem(3, new QTableWidgetItem("three"))
setSelectionBehavior(QAbstractItemView_SelectItems)
setAlternatingRowColors(True)
setcellActivatedEvent("")
