示例#1
0
文件: entity.cpp 项目: madvil/Editor
Entity::Entity(QtAbstractPropertyBrowser *propertyBrowser) : Movable(propertyBrowser)
{
    setRootName(ENTITY_GROUP);
    setName(tr("Entity ") + QString::number(ENTITY_COUNTER++));
    init();
    drawRect = false;
    tex = 0;

    tX = addNewProperty("Texture X", PropertyManagers::getInstance()->getDoublePropertyManager());
    tY = addNewProperty("Texture Y", PropertyManagers::getInstance()->getDoublePropertyManager());

    PropertyManagers::getInstance()->getIntPropertyManager()->setRange(angle, 0, 360);
    PropertyManagers::getInstance()->getDoublePropertyManager()->setSingleStep(tX, 1.0);
    PropertyManagers::getInstance()->getDoublePropertyManager()->setSingleStep(tY, 1.0);

    setTexX(1.0);
    setTexY(1.0);
}
示例#2
0
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ExporterArclink::ExporterArclink() {
	setRootName("");
	setTypeMap(&__typeMap);
	_defaultNsMap["http://geofon.gfz-potsdam.de/ns/Inventory/1.0/"] = "ns0";
}
示例#3
0
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ImporterArclink::ImporterArclink() {
	setRootName("");
	setTypeMap(&__typeMap);
}
示例#4
0
UtilityInterface::UtilityInterface(char* rootName) {
	setRootName(rootName);
	loadConfigurationFile();
	findProteinSeqLength();

}
示例#5
0
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Exporter::Exporter() {
	setRootName("");
	setTypeMap(&myTypeMap);
	_defaultNsMap["http://www.fdsn.org/xml/station/1"] = "";
}
示例#6
0
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Importer::Importer() {
	setRootName("");
	setTypeMap(&myTypeMap);
}
BlastParser::BlastParser(string _rootName) {
	setRootName(_rootName);

}