1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
4 ** If you wish to add, delete or rename slots use Qt Designer which will
5 ** update this file, preserving your code. Create an init() slot in place of
6 ** a constructor, and a destroy() slot in place of a destructor.
7 *****************************************************************************/
11 void ResourceView::setLines( QString type, float i )
13 if (type == tr("metal"))
14 MetalEdit->setText(QString("%1").arg(i));
15 else if (type == tr("crystal"))
16 CrystalEdit->setText(QString("%1").arg(i));
17 else if (type == tr("eonium"))
18 EoniumEdit->setText(QString("%1").arg(i));
19 else if (type == tr("uninit"))
20 UninitEdit->setText(QString("%1").arg(i));
21 else if (type == tr("score"))
22 ScoreEdit->setText(QString("%1").arg(i));
23 else if (type == tr("lost"))
24 ScoreLostEdit->setText(QString("%1").arg(i));
25 else if (type == tr("cost"))
26 CostEdit->setText(QString("%1").arg(i));