28 |
28 |
29 pageLayout->setColumnStretch(0, 1); |
29 pageLayout->setColumnStretch(0, 1); |
30 pageLayout->setColumnStretch(1, 1); |
30 pageLayout->setColumnStretch(1, 1); |
31 pageLayout->setColumnStretch(2, 1); |
31 pageLayout->setColumnStretch(2, 1); |
32 |
32 |
33 BtnSnapshots = addButton(":/res/Star.png", pageLayout, 1, 2, true); |
33 about = new About(); |
34 |
|
35 about = new About(this); |
|
36 pageLayout->addWidget(about, 0, 0, 1, 3); |
34 pageLayout->addWidget(about, 0, 0, 1, 3); |
37 |
35 |
38 return pageLayout; |
36 return pageLayout; |
39 } |
37 } |
40 |
38 |
41 QLayout * PageInfo::footerLayoutDefinition() |
39 QLayout * PageInfo::footerLayoutDefinition() |
42 { |
40 { |
43 return NULL; // TODO: move screenshot button here |
41 QGridLayout * bottomLayout = new QGridLayout(); |
|
42 BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 1, 1, true); |
|
43 bottomLayout->setAlignment(BtnSnapshots, Qt::AlignRight | Qt::AlignVCenter); |
|
44 return bottomLayout; |
44 } |
45 } |
45 |
46 |
46 void PageInfo::connectSignals() |
47 void PageInfo::connectSignals() |
47 { |
48 { |
48 //TODO |
49 //TODO |