Comments for switch.
--HG-- branch : develop
This commit is contained in:
parent
ee9356207e
commit
9b88c774f0
|
@ -214,22 +214,22 @@ QString DialogTool::GetTypeLine(const QComboBox *box) const
|
||||||
{
|
{
|
||||||
switch(lineStyles.indexOf(box->currentText()))
|
switch(lineStyles.indexOf(box->currentText()))
|
||||||
{
|
{
|
||||||
case 0:
|
case 0: //No line
|
||||||
return VAbstractTool::TypeLineNone;
|
return VAbstractTool::TypeLineNone;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1: //Line
|
||||||
return VAbstractTool::TypeLineLine;
|
return VAbstractTool::TypeLineLine;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2: //Dash Line
|
||||||
return VAbstractTool::TypeLineDashLine;
|
return VAbstractTool::TypeLineDashLine;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3: //Dot Line
|
||||||
return VAbstractTool::TypeLineDotLine;
|
return VAbstractTool::TypeLineDotLine;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4: //Dash Dot Line
|
||||||
return VAbstractTool::TypeLineDashDotLine;
|
return VAbstractTool::TypeLineDashDotLine;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5: //Dash Dot Dot Line
|
||||||
return VAbstractTool::TypeLineDashDotDotLine;
|
return VAbstractTool::TypeLineDashDotDotLine;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user