add settings icon,
set ogl verison to 2.0 to make it compatible with more PCs
This commit is contained in:
parent
30d41f7d85
commit
308d238b2d
|
@ -26,5 +26,6 @@
|
|||
<file>X_disabled.png</file>
|
||||
<file>Y_disabled.png</file>
|
||||
<file>Z_disabled.png</file>
|
||||
<file>settings.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -71,6 +71,10 @@ QToolButton#light:checked {
|
|||
image: url(:/images/toolbar/light_on.png);
|
||||
}
|
||||
|
||||
QToolButton#settings {
|
||||
image: url(:/images/toolbar/settings.png);
|
||||
}
|
||||
|
||||
QToolButton#fileInfo {
|
||||
image: url(:/images/toolbar/info.png);
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
|
@ -29,6 +29,9 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
|
||||
QSurfaceFormat format;
|
||||
format.setDepthBufferSize(24);
|
||||
format.setMajorVersion(2);
|
||||
format.setMinorVersion(0);
|
||||
format.setProfile(QSurfaceFormat::NoProfile);
|
||||
QSurfaceFormat::setDefaultFormat(format);
|
||||
|
||||
setupWidgets();
|
||||
|
|
Loading…
Reference in New Issue