Mercurial > hg > orthanc-stone
annotate Applications/Samples/Deprecated/SimpleViewer/Qt/mainQt.cpp @ 1350:c53a4667f895 broker
Sample paths have been adapted
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 14 Apr 2020 14:57:06 +0200 |
parents | bfd77672d825 |
children |
rev | line source |
---|---|
319
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
1 #include "Applications/Qt/QtStoneApplicationRunner.h" |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
2 |
1350
c53a4667f895
Sample paths have been adapted
Benjamin Golinvaux <bgo@osimis.io>
parents:
1347
diff
changeset
|
3 #include "../../SimpleViewerApplication.h" |
319
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
4 #include "Framework/Messages/MessageBroker.h" |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
5 |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
6 |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
7 int main(int argc, char* argv[]) |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
8 { |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
9 OrthancStone::MessageBroker broker; |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
10 SimpleViewer::SimpleViewerApplication stoneApplication(broker); |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
11 |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
12 OrthancStone::QtStoneApplicationRunner qtAppRunner(broker, stoneApplication); |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
13 return qtAppRunner.Execute(argc, argv); |
daa04d15192c
new SimpleViewer sample that has been split in multiple files to be able to scale it
am@osimis.io
parents:
diff
changeset
|
14 } |