La base de liens Vibes-stq
Specification base from Team Sigwal for tool Vibes [vbs]
2 types of specification:
2 types of specification:
- BS=need
- RS=realisation
Started (x1)
Verified (x1)
Référence
Dernière date
Nom
Description
État
Référence
Dernière date
08/05/2025
Nom
VibesDefaults::toPredefinedColorName()
Description
Hexadecimal and Short color name conversion to Qt Predefined color name
Svg color names are given as an information.
Svg color names are given as an information.
Hexadecimal Name | Short Name | Predefined Name | Svg Name |
none | transparent | ||
#0000FF | b | blue | blue |
#00FFFF | c | cyan | cyan |
#00FF00 | g | green | lime |
#FFFF00 | y | yellow | yellow |
#FF0000 | r | red | red |
#FF00FF | m | magenta | magenta |
#FFFFFF | w | white | white |
#000000 | k | black | black |
#C0C0C0 | lightGray | silver | |
#A0A0A4 | gray | rgb(160, 160, 164) | |
#808080 | darkGray | gray | |
#000080 | darkBlue | navy | |
#008080 | darkCyan | teal | |
#008000 | darkGreen | green | |
#808000 | darkYellow | olive | |
#800000 | darkRed | darkred | |
#800080 | darkMagenta | darkmagenta |
État
🟢Started
Référence
Dernière date
08/05/2025
Nom
Uninitialized group parameter use-case [godardma]
Description
Use-case from godardma in Comment [Github.com]
In this example the group "Group of boxes" has no style. The example displays something like :

Now if for example I use the editor to change the Face Color to blue, all the other properties are also forced on the objects, we then get :

While with the old implementation the properties of the group were uninitialized to say that they are item specific. Modifying only the Face Color then gave :

#include "vibes.h"
int main()
{
vibes::newFigure("Group figure");
vibes::setFigureProperties(vibesParams("x",300,"y",40,"width",150,"height",150));
vibes::newGroup("Group of boxes");
vibes::drawBox(0,1,1,2,vibesParams("group","Group of boxes"));
vibes::drawBox(1,2,1,2,vibesParams("group","Group of boxes","EdgeColor","green","FaceColor","yellow","LineStyle","-..","LineWidth","0.1"));
return 0;
}
int main()
{
vibes::newFigure("Group figure");
vibes::setFigureProperties(vibesParams("x",300,"y",40,"width",150,"height",150));
vibes::newGroup("Group of boxes");
vibes::drawBox(0,1,1,2,vibesParams("group","Group of boxes"));
vibes::drawBox(1,2,1,2,vibesParams("group","Group of boxes","EdgeColor","green","FaceColor","yellow","LineStyle","-..","LineWidth","0.1"));
return 0;
}
In this example the group "Group of boxes" has no style. The example displays something like :

Now if for example I use the editor to change the Face Color to blue, all the other properties are also forced on the objects, we then get :

While with the old implementation the properties of the group were uninitialized to say that they are item specific. Modifying only the Face Color then gave :

État
🟣Verified