mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
got rid of the weird ui look, which was due to windows style from afs
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@131 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
parent
6560a325ce
commit
74654b1ebc
@ -23,6 +23,7 @@
|
||||
// Qt Include Headers
|
||||
#include <QSizePolicy>
|
||||
#include <QFileDialog>
|
||||
#include <QPlastiqueStyle>
|
||||
// C++ Include Headers
|
||||
#include<iostream>
|
||||
#include <string>
|
||||
@ -35,6 +36,7 @@ using namespace std;
|
||||
int main (int argc, char **argv) {
|
||||
|
||||
QApplication *theApp = new QApplication(argc, argv);
|
||||
theApp->setStyle(new QPlastiqueStyle);
|
||||
theApp->setWindowIcon(QIcon( ":/icons/images/mountain.png" ));
|
||||
qDetectorMain *det=new qDetectorMain(argc, argv, theApp,0);
|
||||
det->show();
|
||||
|
Loading…
x
Reference in New Issue
Block a user