# Sample: drawlines

This sample shows how to draw and remove marker lines on the score for delimiting a selected portion of the score.


## Building for Qt

```bash
cd <projects>/lomse/examples/samples/drawlines
qmake drawlines.pro
make
```

After running `make`, you will find a executable file, named drawlines, in current directory. For executing it just do:
```bash
./drawlines
```

When you click on "menu > Lines > Add lines" you should see something as:

![Output when adding lines](../../samples/drawlines/drawlines.png)


