vrplayer: some minor fixes
This commit is contained in:
parent
79eb2f3d14
commit
5402cd1273
@ -23,7 +23,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>VRPlayer v1.3</string>
|
<string>VRPlayer v1.4</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QPushButton" name="okButton">
|
<widget class="QPushButton" name="okButton">
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
QApplication::setGraphicsSystem(QLatin1String("native"));
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
return a.exec();
|
return a.exec();
|
||||||
}
|
}
|
||||||
|
@ -153,8 +153,8 @@ void MainWindow::setupUI()
|
|||||||
lblVideo->setMinimumWidth(320);
|
lblVideo->setMinimumWidth(320);
|
||||||
lblVideo->setMinimumHeight(200);
|
lblVideo->setMinimumHeight(200);
|
||||||
QPalette palette = lblVideo->palette();
|
QPalette palette = lblVideo->palette();
|
||||||
palette.setColor(lblVideo->backgroundRole(), Qt::black);
|
palette.setColor(lblVideo->backgroundRole(), QColor(0x00, 0x00, 0x01, 0xff));
|
||||||
palette.setColor(lblVideo->foregroundRole(), Qt::black);
|
palette.setColor(lblVideo->foregroundRole(), QColor(0x00, 0x00, 0x01, 0xff));
|
||||||
lblVideo->setAutoFillBackground(true);
|
lblVideo->setAutoFillBackground(true);
|
||||||
lblVideo->setPalette(palette);
|
lblVideo->setPalette(palette);
|
||||||
hboxLayoutTop = new QHBoxLayout;
|
hboxLayoutTop = new QHBoxLayout;
|
||||||
|
Loading…
Reference in New Issue
Block a user