<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Thanks Marco, that worked!<br>
    <br>
    I first create a symbol using<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; self.symbol = QgsLineSymbolV2()<br>
    And then I can edit it using<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; QgsSymbolV2PropertiesDialog(self.symbol,self.layer).exec_()<br>
    <br>
    There is only one concern, the rubber band does not accept a full
    symbol, only a width and a color. Is there a reason for that?<br>
    <br>
    BTW, I just applied to this list, and I don't really know how to
    answer emails as I checked the daily digest option. Does anyone has
    a tip?<br>
    <br>
    Thanks again,<br>
    Greetings,<br>
    Denis<br>
    <br>
    <blockquote>
      <pre wrap="">Hi Denis

You can use the class QgsSymbolV2PropertiesDialog and pass existing 
symbol and vector layer in constructor. Afaik the symbol will be changed 
directly, however it is possible to make a backup with clone().

Regards,
Marco

</pre>
    </blockquote>
    <br>
  </body>
</html>