4 #ifndef pqServerConnectReaction_h 5 #define pqServerConnectReaction_h 32 static void connectToServerWithWarning();
33 static void connectToServerWithWarning(
35 static void connectToServer();
41 static bool connectToServerUsingConfigurationName(
42 const char* config_name,
bool showConnectionDialog =
true);
47 static bool connectToServerUsingConfiguration(
54 static bool connectToServer(
const pqServerResource& resource,
bool showConnectionDialog =
true);
74 static bool canProceedWithConnection();
Reaction for connecting to a server.
virtual void updateEnableState()
This is a superclass just to make it easier to collect all such reactions.
static void connectToServerWithWarning()
Creates a server connection using the server connection dialog.
pqServerConfiguration corresponds to a server connection configuration.
void onTriggered() override
Called when the action is triggered.
pqServerResource encapsulates a resource in ParaView.