pqWidgetUtilities.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 
5 #ifndef pqWidgetUtilities_h
6 #define pqWidgetUtilities_h
7 
8 #include "pqWidgetsModule.h"
9 
10 #include <QString>
11 #include <QWidget>
12 
13 class PQWIDGETS_EXPORT pqWidgetUtilities
14 {
15 public:
19  static QString formatTooltip(const QString& rawText);
20 
22 
25  static std::string rstToHtml(const char* rstStr);
26  static QString rstToHtml(const QString& rstStr);
28 
29  static void formatChildTooltips(QWidget* parentObject);
30 };
31 
32 #endif // pqWidgetUtilities_h