self.label.setText(_translate("ChooseDownloadDirectory","<html><head/><body><p>Please choose a directory for your sample files. The location can be read-only and will be shared by all sessions. </p><p>At the moment you have to manually download the files and move them to this directory. An integrated downloader will be added to this program after its beta-phase. </p><p>Changing the directory requires a program restart. The sample libraries will only be scanned on program start as well.</p><p>The download URL is:</p><p align=\"center\"><a href=\"https://www.laborejo.org/tembro/instruments\"><span style=\" text-decoration: underline; color:#55ffff;\">https://www.laborejo.org/tembro/instruments</span></a></p></body></html>"))
self.label.setText(_translate("ChooseDownloadDirectory","<html><head/><body><p>Please choose a directory for your sample files. The location can be read-only and will be shared by all sessions. </p><p>At the moment you have to manually download the files and move them to this directory. An integrated downloader will be added to this program after its beta-phase. </p><p>Changing the directory requires a program restart. The sample libraries will only be scanned on program start as well.</p><p>The download URL is:</p><p align=\"center\"><a href=\"https://laborejo.org/downloads/tembro-instruments/\"><span style=\" text-decoration: underline; color:#00ffff;\">https://laborejo.org/downloads/tembro-instruments/</span></a></p></body></html>"))
<string><html><head/><body><p>Please choose a directory for your sample files. The location can be read-only and will be shared by all sessions. </p><p>At the moment you have to manually download the files and move them to this directory. An integrated downloader will be added to this program after its beta-phase. </p><p>Changing the directory requires a program restart. The sample libraries will only be scanned on program start as well.</p><p>The download URL is:</p><p align="center"><a href="https://www.laborejo.org/tembro/instruments"><span style=" text-decoration: underline; color:#55ffff;">https://www.laborejo.org/tembro/instruments</span></a></p></body></html></string>
<string><html><head/><body><p>Please choose a directory for your sample files. The location can be read-only and will be shared by all sessions. </p><p>At the moment you have to manually download the files and move them to this directory. An integrated downloader will be added to this program after its beta-phase. </p><p>Changing the directory requires a program restart. The sample libraries will only be scanned on program start as well.</p><p>The download URL is:</p><p align="center"><a href="https://laborejo.org/downloads/tembro-instruments/"><span style=" text-decoration: underline; color:#00ffff;">https://laborejo.org/downloads/tembro-instruments/</span></a></p></body></html></string>
self.setData(index,0,float(libId+"."+instIdZFilled))#0 is the data role, just stnadard display text. We combine both IDs to a float number for sorting. If used with setData instead of setText Qt will know how to sort 11 before 1000
self.setData(index,0,float(str(libId)+"."+instIdZFilled))#0 is the data role, just standard display text. We combine both IDs to a float number for sorting. If used with setData instead of setText Qt will know how to sort 11 before 1000