equal
deleted
inserted
replaced
108 QLayout * PageVideos::bodyLayoutDefinition() |
108 QLayout * PageVideos::bodyLayoutDefinition() |
109 { |
109 { |
110 QGridLayout * pPageLayout = new QGridLayout(); |
110 QGridLayout * pPageLayout = new QGridLayout(); |
111 pPageLayout->setColumnStretch(0, 1); |
111 pPageLayout->setColumnStretch(0, 1); |
112 pPageLayout->setColumnStretch(1, 2); |
112 pPageLayout->setColumnStretch(1, 2); |
|
113 QString pathIcon = ":/res/graphicsicon.png"; |
113 |
114 |
114 // list of videos |
115 // list of videos |
115 { |
116 { |
116 IconedGroupBox* pTableGroup = new IconedGroupBox(this); |
117 IconedGroupBox* pTableGroup = new IconedGroupBox(this); |
117 pTableGroup->setIcon(QIcon(":/res/graphicsicon.png")); // FIXME |
118 pTableGroup->setIcon(QIcon(pathIcon)); |
118 pTableGroup->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
119 pTableGroup->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
119 pTableGroup->setTitle(QGroupBox::tr("Videos")); |
120 pTableGroup->setTitle(QGroupBox::tr("Videos")); |
120 |
121 |
121 QStringList columns; |
122 QStringList columns; |
122 columns << tr("Name"); |
123 columns << tr("Name"); |
149 } |
150 } |
150 |
151 |
151 // description |
152 // description |
152 { |
153 { |
153 IconedGroupBox* pDescGroup = new IconedGroupBox(this); |
154 IconedGroupBox* pDescGroup = new IconedGroupBox(this); |
154 pDescGroup->setIcon(QIcon(":/res/graphicsicon.png")); // FIXME |
155 pDescGroup->setIcon(QIcon(pathIcon)); |
155 pDescGroup->setTitle(QGroupBox::tr("Description")); |
156 pDescGroup->setTitle(QGroupBox::tr("Description")); |
156 |
157 |
157 QVBoxLayout* pDescLayout = new QVBoxLayout(pDescGroup); |
158 QVBoxLayout* pDescLayout = new QVBoxLayout(pDescGroup); |
158 QHBoxLayout* pBottomDescLayout = new QHBoxLayout(0); // buttons |
159 QHBoxLayout* pBottomDescLayout = new QHBoxLayout(0); // buttons |
159 |
160 |