mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
27 lines
664 B
C++
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
|