leocad/qt/lc_qutils.h
2016-12-20 14:11:19 -08:00

20 lines
450 B
C++

#ifndef _LC_QUTILS_H_
#define _LC_QUTILS_H_
#include <QObject>
QString lcFormatValue(float Value);
QString lcFormatValueLocalized(float Value);
float lcParseValueLocalized(const QString& Value);
class lcQTreeWidgetColumnStretcher : public QObject
{
public:
lcQTreeWidgetColumnStretcher(QTreeWidget *treeWidget, int columnToStretch);
virtual bool eventFilter(QObject *obj, QEvent *ev);
const int m_columnToStretch;
};
#endif // _LC_QUTILS_H_