mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-09 11:30:43 +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
|
// Qt Include Headers
|
||||||
#include <QSizePolicy>
|
#include <QSizePolicy>
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
|
#include <QPlastiqueStyle>
|
||||||
// C++ Include Headers
|
// C++ Include Headers
|
||||||
#include<iostream>
|
#include<iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -35,6 +36,7 @@ using namespace std;
|
|||||||
int main (int argc, char **argv) {
|
int main (int argc, char **argv) {
|
||||||
|
|
||||||
QApplication *theApp = new QApplication(argc, argv);
|
QApplication *theApp = new QApplication(argc, argv);
|
||||||
|
theApp->setStyle(new QPlastiqueStyle);
|
||||||
theApp->setWindowIcon(QIcon( ":/icons/images/mountain.png" ));
|
theApp->setWindowIcon(QIcon( ":/icons/images/mountain.png" ));
|
||||||
qDetectorMain *det=new qDetectorMain(argc, argv, theApp,0);
|
qDetectorMain *det=new qDetectorMain(argc, argv, theApp,0);
|
||||||
det->show();
|
det->show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user