cutter/src/helpers.h
2017-04-26 22:59:03 +02:00

27 lines
664 B
C++

#ifndef QHELPERS_H
#define QHELPERS_H
#include <QString>
class QPlainTextEdit;
class QTextEdit;
class QString;
class QTreeWidget;
namespace qhelpers
{
void normalizeFont(QPlainTextEdit *edit);
void normalizeEditFont(QTextEdit *edit);
QString uniqueProjectName(const QString &filename);
void adjustColumns(QTreeWidget *tw, int columnCount = 0, int padding = 0);
void appendRow(QTreeWidget *tw, const QString &str, const QString &str2 = QString(),
const QString &str3 = QString(), const QString &str4 = QString(), const QString &str5 = QString());
void setVerticalScrollMode(QTreeWidget *tw);
}
#endif // HELPERS_H