3#include "AdaptiveWebClient.h"
4#include <NDEVR/NDEVRFileServer.h>
5#include <NDEVR/NDEVRFileClient.h>
6#include <NDEVR/NDEVRCommunicationLogic.h>
7#include <NDEVR/ServerActions.h>
8#include <NDEVR/BinaryFile.h>
9#include <NDEVR/LogPtr.h>
114 bool m_allow_back_button =
true;
AdaptiveWebClient(QObject *parent=nullptr)
Constructs the WebSocket client.
A relatively lightweight Widget that can be used for an entire application that allows for easy downl...
A core class where all Design Objects including models, materials, and geometries are stored.
A light-weight wrapper that will be a no-op if there is not a valid log reference,...
virtual void onReceive(NDEVRConnectionData &data) override
Handles received data from the server connection.
WindowManager * windowManager() const
Returns the window manager.
void openDownloadedData()
Opens the most recently downloaded data in the application.
OWLFileManager * fileManager()
Returns the file manager dialog, creating it if needed.
void setAllowBackButton(bool allow)
Enables or disables the back button on dialogs.
OWLExportDialog * exportDialog()
Returns the export dialog, creating it if needed.
void showDuplicateUserWarning(PopupInfo info)
Shows a warning when a duplicate user is detected.
OWLClientInterface(DesignObjectLookup *lookup, WindowManager *window_manager)
Constructs the OWL client interface.
LogPtr & progress()
Returns the progress log for tracking operations.
void connectionChangedSignal(bool is_connected)
Emitted when the connection state changes.
virtual void onConnectionChanged(void *, bool is_connected) override
Called when the server connection state changes.
void finishedSignal(ServerRequestType)
Emitted when a server request has completed.
void requestShowCredentialsSignal()
Emitted when credentials need to be shown to the user.
void showNoUserWarning(PopupInfo info)
Shows a warning when no user account is found.
void showWarning(PopupInfo info, ServerRequestType request_type)
Shows a warning popup for a failed server request.
OWLCredentialsDialog * credentialsDialog()
Returns the credentials dialog, creating it if needed.
OwlServerSettingsDialog * serverManagerDialog()
Returns the server settings dialog, creating it if needed.
virtual ServerCommandReturn pushData() override
Pushes the current project data to the server.
Dialog for entering OWL server login credentials.
Dialog for exporting projects and files to an OWL server.
File management widget for browsing, opening, and managing files on an OWL server.
Dialog for managing OWL server connections.
Used with InfoPipe to signal that the system will be using progress.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Manages all windows and logic surrounding dialogs and views for displaying and managing any environme...
The primary namespace for the NDEVR SDK.
ServerRequestType
Enumerates the types of requests that can be sent between NDEVR file clients and servers.
Holds the state of a single NDEVR network connection, including transmit and receive packets.
Encapsulates a server command's return status, including a code and optional message.