Qt
ApplicationComponents
pqSetMainWindowTitleReaction.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
#ifndef pqSetMainWindowTitleReaction_h
5
#define pqSetMainWindowTitleReaction_h
6
7
#include "
pqReaction.h
"
8
14
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqSetMainWindowTitleReaction
:
public
pqReaction
15
{
16
Q_OBJECT
17
typedef
pqReaction
Superclass;
18
19
public
:
23
pqSetMainWindowTitleReaction
(QAction* parent);
24
~
pqSetMainWindowTitleReaction
()
override
;
25
29
void
showSetMainWindowTitleDialog();
30
31
protected
:
35
void
onTriggered
()
override
{
pqSetMainWindowTitleReaction::showSetMainWindowTitleDialog
(); }
36
37
private
:
38
Q_DISABLE_COPY(
pqSetMainWindowTitleReaction
)
39
};
40
41
#endif
pqSetMainWindowTitleReaction::showSetMainWindowTitleDialog
void showSetMainWindowTitleDialog()
Show the main window title editor dialog.
pqReaction.h
PQAPPLICATIONCOMPONENTS_EXPORT
#define PQAPPLICATIONCOMPONENTS_EXPORT
Definition:
pqApplicationComponentsModule.h:15
pqReaction
This is a superclass just to make it easier to collect all such reactions.
Definition:
pqReaction.h:25
pqSetMainWindowTitleReaction
pqSetMainWindowTitleReaction is the reaction that popups the Set Window Title Dialog allowing the use...
Definition:
pqSetMainWindowTitleReaction.h:14
pqSetMainWindowTitleReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqSetMainWindowTitleReaction.h:35
Generated by
1.8.13 on Tue Oct 1 2024