equal
deleted
inserted
replaced
35 pageLayout->setColumnStretch(0, 1); |
35 pageLayout->setColumnStretch(0, 1); |
36 pageLayout->setColumnStretch(1, 2); |
36 pageLayout->setColumnStretch(1, 2); |
37 pageLayout->setColumnStretch(2, 1); |
37 pageLayout->setColumnStretch(2, 1); |
38 pageLayout->setRowStretch(2, 100); |
38 pageLayout->setRowStretch(2, 100); |
39 |
39 |
40 BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true); |
|
41 |
|
42 BtnPlayDemo = new QPushButton(this); |
40 BtnPlayDemo = new QPushButton(this); |
43 BtnPlayDemo->setFont(*font14); |
41 BtnPlayDemo->setFont(*font14); |
44 BtnPlayDemo->setText(QPushButton::tr("Play demo")); |
42 BtnPlayDemo->setText(QPushButton::tr("Play demo")); |
45 pageLayout->addWidget(BtnPlayDemo, 3, 2); |
43 pageLayout->addWidget(BtnPlayDemo, 3, 2); |
46 |
44 |
56 DemosList->setGeometry(QRect(170, 10, 311, 311)); |
54 DemosList->setGeometry(QRect(170, 10, 311, 311)); |
57 pageLayout->addWidget(DemosList, 0, 1, 3, 1); |
55 pageLayout->addWidget(DemosList, 0, 1, 3, 1); |
58 |
56 |
59 connect(BtnRenameRecord, SIGNAL(clicked()), this, SLOT(renameRecord())); |
57 connect(BtnRenameRecord, SIGNAL(clicked()), this, SLOT(renameRecord())); |
60 connect(BtnRemoveRecord, SIGNAL(clicked()), this, SLOT(removeRecord())); |
58 connect(BtnRemoveRecord, SIGNAL(clicked()), this, SLOT(removeRecord())); |
|
59 |
|
60 |
|
61 BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true); |
|
62 connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack())); |
61 } |
63 } |
62 |
64 |
63 void PagePlayDemo::FillFromDir(RecordType rectype) |
65 void PagePlayDemo::FillFromDir(RecordType rectype) |
64 { |
66 { |
65 QDir dir; |
67 QDir dir; |