view Applications/Samples/SimpleViewer/Qt/mainQt.cpp @ 861:f0bf971a1e31

Keyboard event routing (handling done in app)
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 24 Jun 2019 14:57:55 +0200
parents daa04d15192c
children
line wrap: on
line source

#include "Applications/Qt/QtStoneApplicationRunner.h"

#include "../SimpleViewerApplication.h"
#include "Framework/Messages/MessageBroker.h"


int main(int argc, char* argv[]) 
{
  OrthancStone::MessageBroker broker;
  SimpleViewer::SimpleViewerApplication stoneApplication(broker);

  OrthancStone::QtStoneApplicationRunner qtAppRunner(broker, stoneApplication);
  return qtAppRunner.Execute(argc, argv);
}