Include file:
#include "mcrl2/gui/utilities.h"
hasLightBackground
(QWidget *widget)¶hasLightBackground Checks whether a widget has a light background
Parameters:
Returns: Whether a widget has a light background
mcrl2::gui::qt::
makeQList
(Iterator begin, Iterator end)¶Implements QList<T>(begin, end) for Qt versions before 5.14.
setTextEditTextColor
(QTextEdit *textEdit, QColor light, QColor dark)¶setTextEditTextColor Sets the text colour of a QTextEdit depending on whether the QTextEdit has a light background
Parameters:
mcrl2::gui::qt::
swapItemsAt
(QList<T> &input, std::size_t from, std::size_t to)¶Implements QList<T>.swapItemsAt(from, to) for Qt versions before 5.13.