mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 00:35:05 +00:00
f586ab2d4e
- Fix compiler and cppcheck warning - format with astyle
29 lines
742 B
C++
29 lines
742 B
C++
#ifndef QHELPERS_H
|
|
#define QHELPERS_H
|
|
|
|
#include <QString>
|
|
|
|
class QPlainTextEdit;
|
|
class QTextEdit;
|
|
class QString;
|
|
class QTreeWidget;
|
|
class QTreeWidgetItem;
|
|
class QAbstractItemView;
|
|
|
|
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);
|
|
|
|
QTreeWidgetItem *appendRow(QTreeWidget *tw, const QString &str, const QString &str2 = QString(),
|
|
const QString &str3 = QString(), const QString &str4 = QString(), const QString &str5 = QString());
|
|
|
|
void setVerticalScrollMode(QAbstractItemView *tw);
|
|
}
|
|
|
|
#endif // HELPERS_H
|