BibleTime
|
#include "tool.h"
#include <QApplication>
#include <QChar>
#include <QFile>
#include <QFileDevice>
#include <QFontMetrics>
#include <QFrame>
#include <QIODevice>
#include <QLabel>
#include <QMessageBox>
#include <QObject>
#include <QTextStream>
#include <QWidget>
#include "../backend/drivers/cswordmoduleinfo.h"
#include "btassert.h"
#include "cresmgr.h"
Go to the source code of this file.
Namespaces | |
util | |
util::tool | |
Functions | |
QString | util::tool::fixSwordBcp47 (QString input) |
QIcon const & | util::tool::getIconForModule (const CSwordModuleInfo *const module) |
bool | util::tool::inHTMLTag (const int pos, const QString &text) |
void | util::tool::initExplanationLabel (QLabel *label, const QString &heading, const QString &text) |
Initializes a QLabel to explain difficult things of dialogs. More... | |
int | util::tool::mWidth (QWidget const &widget, int const mCount) |
Calculates a maximum rendered text width for a widget and a string with the a given length. More... | |
bool | util::tool::savePlainFile (const QString &filename, void(&writer)(QTextStream &, void *), void *userPtr) |
bool | util::tool::savePlainFile (QString const &filename, QString const &text) |