Mercurial > hg > orthanc-stone
view Applications/Samples/Qt/SampleMainWindow.ui @ 508:7105a0bad250 bgo-commands-codegen
- Added HandleSerializedMessage to IStoneApplication (empty impl)
- Split UpdateWebApplication with "WithString" and "WithSerializedMessage" variants
- Due to the modules in TS, globals are now unallowed and the callbacks from C++ to JS are stored in the "window" instance
- Split UpdateStoneApplicationStatusFromCpp with "WithString" and "WithSerializedMessage" variants
- Split NotifyStatusUpdateFromCppToWeb with "WithString" and "WithSerializedMessage" variants
- SendMessageToStoneApplication (C++ global) has been split into SendSerializedMessageToStoneApplication and SendCommandToStoneApplication
- In WasmPlatformApplicationAdapter: HandleMessageFromWeb becomes HandleCommandFromWeb
- In WasmPlatformApplicationAdapter: added HandleSerializedMessageFromWeb
- stonegentool now handles the "json" primitive type (used, a.o., in the VSOL "EditInstance" message)
- Fixed indentation and added json serialization overloads in the stonegentool templates
- Added test of the json primitive type to testWasmIntegrated (in Resources/CodeGeneration)
- Adapted testWasmIntegrated (in Resources/CodeGeneration) to the changes above
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 06 Mar 2019 10:14:59 +0100 |
parents | 612238b3f3e8 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>SampleMainWindow</class> <widget class="QMainWindow" name="SampleMainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>903</width> <height>634</height> </rect> </property> <property name="minimumSize"> <size> <width>500</width> <height>300</height> </size> </property> <property name="baseSize"> <size> <width>500</width> <height>300</height> </size> </property> <property name="windowTitle"> <string>Stone of Orthanc</string> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> </property> <widget class="QWidget" name="centralwidget"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0"> <property name="sizeConstraint"> <enum>QLayout::SetDefaultConstraint</enum> </property> <item> <widget class="QCairoWidget" name="cairoCentralWidget"> <property name="minimumSize"> <size> <width>0</width> <height>500</height> </size> </property> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>903</width> <height>22</height> </rect> </property> <widget class="QMenu" name="menuTest"> <property name="title"> <string>Test</string> </property> </widget> <addaction name="menuTest"/> </widget> <widget class="QStatusBar" name="statusbar"/> </widget> <customwidgets> <customwidget> <class>QCairoWidget</class> <extends>QGraphicsView</extends> <header location="global">QCairoWidget.h</header> </customwidget> </customwidgets> <resources/> <connections/> </ui>