Exemplo n.º 1
0
Arquivo: main.C Projeto: maluethi/LCS
int main( int argc, char **argv )
{
  // if(argc==1){
  //     printf("\nUSAGE: Put 1 if you want to clean SHM Memory and Buffer - Put 0 if not \n");
  //     exit(1);
  //   }
  //shm_del = atoi(argv[1]);
  //  QIcon::QIcon ( const QString & fileName )
  //const QIcon* UniBe = new QIcon("../LHEP_GUI-1.0/UniBe_logo.jpg");
  printf("bigi");
  QApplication a( argc, argv );
  
  MyWidget buttonsgroups;
  buttonsgroups.resize( 500, 250 );
  buttonsgroups.setWindowTitle("LHEP Argontube prototype DAQ - made by B. Rossi");
  //  buttonsgroups.setCaption( "LHEP Middle Argontube DAQ - made by B. Rossi" );
  //QIcon ico= QIcon("lhep_logo.jpg");
  buttonsgroups.setWindowIcon(QIcon("UniBe_logo.jpg"));
  //a.setWindowIcon("../LHEP_GUI-1.0/UniBe_logo.jpg");
  buttonsgroups.show();
  
  return  a.exec();
}