X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Fui%2Fresourceview.ui.h;h=a1938719e269c6786e2596cf7a1e0720fa1547a1;hp=485c4e59866db7a75ca779650ddabf2657578441;hb=6ab17155b82923f4263f1c536133e657970239a4;hpb=7311d423f454c500dbc60dd822007da3981b0d56 diff --git a/bs/ui/resourceview.ui.h b/bs/ui/resourceview.ui.h index 485c4e5..a193871 100644 --- a/bs/ui/resourceview.ui.h +++ b/bs/ui/resourceview.ui.h @@ -1,27 +1,27 @@ /**************************************************************************** -** ui.h extension file, included from the uic-generated form implementation. -** -** If you wish to add, delete or rename slots use Qt Designer which will -** update this file, preserving your code. Create an init() slot in place of -** a constructor, and a destroy() slot in place of a destructor. -*****************************************************************************/ + ** ui.h extension file, included from the uic-generated form implementation. + ** + ** If you wish to add, delete or rename slots use Qt Designer which will + ** update this file, preserving your code. Create an init() slot in place of + ** a constructor, and a destroy() slot in place of a destructor. + *****************************************************************************/ //test void ResourceView::setLines( QString type, float i ) { - if (type == tr("metal")) - MetalEdit->setText(QString("%1").arg(i)); - else if (type == tr("crystal")) - CrystalEdit->setText(QString("%1").arg(i)); - else if (type == tr("eonium")) - EoniumEdit->setText(QString("%1").arg(i)); - else if (type == tr("uninit")) - UninitEdit->setText(QString("%1").arg(i)); - else if (type == tr("score")) - ScoreEdit->setText(QString("%1").arg(i)); - else if (type == tr("lost")) - ScoreLostEdit->setText(QString("%1").arg(i)); - else if (type == tr("cost")) - CostEdit->setText(QString("%1").arg(i)); -} \ No newline at end of file + if (type == tr("metal")) + MetalEdit->setText(QString("%1").arg(i)); + else if (type == tr("crystal")) + CrystalEdit->setText(QString("%1").arg(i)); + else if (type == tr("eonium")) + EoniumEdit->setText(QString("%1").arg(i)); + else if (type == tr("uninit")) + UninitEdit->setText(QString("%1").arg(i)); + else if (type == tr("score")) + ScoreEdit->setText(QString("%1").arg(i)); + else if (type == tr("lost")) + ScoreLostEdit->setText(QString("%1").arg(i)); + else if (type == tr("cost")) + CostEdit->setText(QString("%1").arg(i)); +}