zz_setContentsDialog.h

Sat, 16 Mar 2013 13:08:24 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 16 Mar 2013 13:08:24 +0200
changeset 18
a6732098fed8
parent 15
a78ccb3976b6
child 19
6c5977e43e73
permissions
-rw-r--r--

Convert the static getCoordinateRep to a common ftoa, use this function to get proper coordinate representation when converting objects to LDraw code

#include <qdialog.h>
#include <qlineedit.h>
#include <qlabel.h>
#include <qdialogbuttonbox.h>
#include "ldtypes.h"

class Dialog_SetContents : public QDialog {
public:
	QLabel* qContentsLabel;
	QLineEdit* qContents;
	QDialogButtonBox* qOKCancel;
	
	LDObject* patient;
	
	Dialog_SetContents (LDObject* obj, QWidget* parent = nullptr);
	static void staticDialog (LDObject* obj, LDForgeWindow* parent);
	
private slots:
	void slot_handleButtons (QAbstractButton* qButton);
};

mercurial