Logo Search packages:      
Sourcecode: icemc version File versions  Download package

IceMain.cpp

/**
 * IceMC - a menu editor for IceWM
 * Copyright (c) 2000 Georg Mittendorfer
 */

// main

#include <qfont.h>

#include "IceMC.h"
#include "IceMainWindow.h"

int main(int argc, char **argv)
{
  QApplication a(argc, argv);
  QFont defaultFont = a.font();
  //defaultFont.setPointSize(11);
  //defaultFont.setStyleHint(QFont::SansSerif);
  //a.setFont(defaultFont, true);
  a.setFont(QFont::QFont("Helvetica",11,QFont::Normal),true);

  IceMainWindow w;
  a.setMainWidget(&w);

  w.show();
  a.exec();

  return 0;
}

Generated by  Doxygen 1.6.0   Back to index