Mapper  0.9.0
API documentation
Namespaces | Functions
util_gui.cpp File Reference

(6d55940 on 26 Oct 2019)

#include "util_gui.h"
#include <cmath>
#include <Qt>
#include <QtGlobal>
#include <QApplication>
#include <QByteArray>
#include <QCheckBox>
#include <QCoreApplication>
#include <QDir>
#include <QDoubleSpinBox>
#include <QFileInfo>
#include <QGuiApplication>
#include <QLatin1Char>
#include <QLatin1String>
#include <QLabel>
#include <QLocale>
#include <QMessageBox>
#include <QPainter>
#include <QPen>
#include <QPointF>
#include <QProcess>
#include <QProcessEnvironment>
#include <QSpacerItem>
#include <QSpinBox>
#include <QStandardPaths>
#include <QStringList>
#include <QStyle>
#include <QTextDocument>
#include <QVariant>
#include <QWidget>
#include "mapper_config.h"
#include "settings.h"
#include "gui/text_browser_dialog.h"
Include dependency graph for util_gui.cpp:

Namespaces

 OpenOrienteering
 
 OpenOrienteering::Util
 A collection of GUI utility functions.
 
 OpenOrienteering::Util::Marker
 
 OpenOrienteering::Util::SpinBox
 
 OpenOrienteering::Util::TristateCheckbox
 

Functions

void OpenOrienteering::Util::showHelp (QWidget *dialog_parent, const char *filename_latin1, const char *anchor_latin1)
 Show the manual in Qt assistant. More...
 
void OpenOrienteering::Util::showHelp (QWidget *dialog_parent, const char *file_and_anchor_latin1="index.html")
 Show the manual in Qt assistant. More...
 
void OpenOrienteering::Util::showHelp (QWidget *dialog_parent, const QString &file_and_anchor)
 Show the manual in Qt assistant. More...
 
QString OpenOrienteering::Util::makeWhatThis (const char *reference_latin1)
 Creates a What's-this text "See more" linking to the given page and fragment in the manual. More...
 
void OpenOrienteering::Util::Marker::drawCenterMarker (QPainter *painter, const QPointF &center)
 Center marker sign for rotate and scale tools. More...
 
QSpinBoxOpenOrienteering::Util::SpinBox::create (int min, int max, const QString &unit={}, int step=0)
 Creates and initializes a QSpinBox. More...
 
QDoubleSpinBoxOpenOrienteering::Util::SpinBox::create (int decimals, double min, double max, const QString &unit={}, double step=0.0)
 Creates and initializes a QDoubleSpinBox. More...
 
void OpenOrienteering::Util::TristateCheckbox::setDisabledAndChecked (QCheckBox *checkbox, bool checked)
 
void OpenOrienteering::Util::TristateCheckbox::setEnabledAndChecked (QCheckBox *checkbox, bool checked)
 
QString OpenOrienteering::Util::plainText (QString maybe_markup)
 Remove any HTML markup from the input text. More...