cutter/src/helpers.h

27 lines
626 B
C
Raw Normal View History

#ifndef QHELPERS_H
#define QHELPERS_H
2017-04-13 15:04:30 +00:00
#include <QString>
class QPlainTextEdit;
class QTextEdit;
class QString;
2017-04-13 15:04:30 +00:00
class QTreeWidget;
namespace qhelpers
{
void normalizeFont(QPlainTextEdit *edit);
void normalizeEditFont(QTextEdit *edit);
QString uniqueProjectName(const QString &filename);
2017-04-13 15:04:30 +00:00
void adjustColumns(QTreeWidget *tw);
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