Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gui: Rename 'Output window' to 'Report view' #7739

Merged
merged 1 commit into from Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Gui/DlgReportView.ui
Expand Up @@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Output window</string>
<string>Report view</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/DlgReportViewImp.h
Expand Up @@ -32,7 +32,7 @@ namespace Dialog {
class Ui_DlgReportView;

/** The DlgReportViewImp class implements the available settings for the
* report output window to change.
* Report View to change.
* \author Werner Mayer
*/
class DlgReportViewImp : public PreferencePage
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/PythonConsolePy.cpp
Expand Up @@ -163,7 +163,7 @@ Py::Object PythonStderr::isatty()
void OutputStdout::init_type()
{
behaviors().name("OutputStdout");
behaviors().doc("Redirection of stdout to FreeCAD's output window");
behaviors().doc("Redirection of stdout to FreeCAD's report view");
// you must have overwritten the virtual functions
behaviors().supportRepr();
add_varargs_method("write",&OutputStdout::write,"write()");
Expand Down Expand Up @@ -228,7 +228,7 @@ Py::Object OutputStdout::isatty()
void OutputStderr::init_type()
{
behaviors().name("OutputStderr");
behaviors().doc("Redirection of stdout to FreeCAD's output window");
behaviors().doc("Redirection of stdout to FreeCAD's report view");
// you must have overwritten the virtual functions
behaviors().supportRepr();
add_varargs_method("write",&OutputStderr::write,"write()");
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/PythonConsolePy.h
Expand Up @@ -86,7 +86,7 @@ class PythonStderr : public Py::PythonExtension<PythonStderr>
/**
* Python class for redirection of stdout to FreeCAD's output
* console window. This allows to report all Python output to
* the output window which simplifies debugging scripts.
* the report view which simplifies debugging scripts.
* @see PythonStdout
* @see PythonStderr
* @author Werner Mayer
Expand All @@ -109,7 +109,7 @@ class OutputStdout : public Py::PythonExtension<OutputStdout>
/**
* Python class for redirection of stderr to FreeCAD's output
* console window. This allows to report all Python errors to
* the output window which simplifies error tracking.
* the report view which simplifies error tracking.
* @see PythonStdout
* @see PythonStderr
* @author Werner Mayer
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/ReportView.cpp
Expand Up @@ -69,7 +69,7 @@ ReportView::ReportView( QWidget* parent )
tabLayout->addWidget( tabWidget, 0, 0 );


// create the output window
// create the output window for 'Report view'
tabOutput = new ReportOutput();
tabOutput->setWindowTitle(tr("Output"));
tabOutput->setWindowIcon(BitmapFactory().pixmap("MacroEditor"));
Expand Down Expand Up @@ -571,7 +571,7 @@ void ReportOutput::contextMenuEvent ( QContextMenuEvent * e )
errAct->setChecked(bErr);

auto showOnMenu = new QMenu (optionMenu);
showOnMenu->setTitle(tr("Show output window on"));
showOnMenu->setTitle(tr("Show Report view on"));
optionMenu->addMenu(showOnMenu);

QAction* showNormAct = showOnMenu->addAction(tr("Normal messages"), this, SLOT(onToggleShowReportViewOnNormalMessage()));
Expand Down
4 changes: 2 additions & 2 deletions src/Gui/ReportView.h
Expand Up @@ -59,7 +59,7 @@ class ReportView : public QWidget

private:
QTabWidget* tabWidget;
ReportOutput* tabOutput; /**< Output window */
ReportOutput* tabOutput; /**< Output 'Report view' window */
PythonConsole* tabPython; /**< Python console */
};

Expand Down Expand Up @@ -118,7 +118,7 @@ class GuiExport ReportHighlighter : public QSyntaxHighlighter
//@}
};

/** Output window to show messages.
/** Output window 'Report view' to show messages.
* @see Base::ILogger
* @see QTextEdit
* \author Werner Mayer
Expand Down