leocad/qt/lc_qutils.h

19 lines
410 B
C
Raw Normal View History

#pragma once
2013-08-09 06:57:18 +02:00
#include <QObject>
QString lcFormatValue(float Value, int Precision);
QString lcFormatValueLocalized(float Value);
float lcParseValueLocalized(const QString& Value);
2013-08-09 06:57:18 +02:00
class lcQTreeWidgetColumnStretcher : public QObject
{
public:
lcQTreeWidgetColumnStretcher(QTreeWidget *treeWidget, int columnToStretch);
virtual bool eventFilter(QObject *obj, QEvent *ev);
const int m_columnToStretch;
};