<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<div><br></div><div>I have a project with qgis 2.10 and Spatialite. I want to create a "button" through python, wich conects with DB, creates a SQL queries and incorporate it to the project. I want create a pop-up to choosen a date to extract only those records.</div><div>How could I do it?</div><div><br></div><div>Thanks in advance.</div><div>Regards.</div><div><br></div>                                          </div></body>
</html>