Greetings all,<br><br>I have fixed all coding styles, indentations, text, comments and bools. <br><br>J-B actually I started with QGridLayout in the original protoype but was not comfortable with it and I was not able to code the UI like it now. I'll try to do it again this time using QGridLayout. All the labels are fixed. The About part is removed ;-)<br>
<br>>Do we really need CSS, when using SvG?<br>setStyle() etc. can be used, but I'll have to look for it. CSS can be removed, then I'll have to write a theme manager myself. Otherwise, the widget can't be made theme-able.<br>
<br>
>Along with it, presumably, a dependency on some SVG library or<br>
>other. That brings up the question whether the SVG adds substantial<br>
>functionality that cannot easily be had by, oh, converting the pictures<br>
>used to PNG or something. I'd like to hear a bit about the rationale.<br><br>That's a good question. The points I would like to address here is quality of image and memory usage. If we start using SVGs by replacing all the pixmaps from VLC, the quality of images will increase while size will decrease. <br>
<br>You tell me 100Kb PNG Vs 2 Kb SVG, while SVG has better quality, I really don't know if SVG will take more memory than PNG. Folks, comment.<br><br>If SVGs are not to be used, it might have saved me many hours of coding :-)<br>
<br>Qt, Java, W3C, WHATWG etc, everyone's promoting SVG. There has to be a reason why these people are doing that. <br>I think we need quality, we have all the memory and processing in the world. Just a thought.<br><br>
Though, if SVG is to be used only for this project, I will try to code the widget without using SVGs as adding a QtSvg dependency might not be liked by many devs. Comment soon.<br><br>Regarding volume related functions, I'll fix it: J-B's way or jpd's way or my way :-)<br>
<br>And, thanks <b>"jpd"</b> for suggesting using enums. I don't know if there are headers that have those enums, I'll find and it. I actually obtained those values by hacking VLC.<br><br>Can someone do a Memory and Processor use comparisions for VLC with the widget and without the widget. Thanks.<br>
<br>The default time to hide the widget is kept 5000ms. With Qt's Animation package, Qt-Kinetics coming soon, we can use a fade function may be. Or, leave it as it is. J-B suggested to use fading like FullScreenController. What to use? Comment. <br>
<br>Comment on UI. J-B proposed to use the widget in place of the taskbar icon's menu. Then, how and where to place a close(cross) button. I suggest to keep it locked when someone right-clicks the taskbar icon and people can click the lock to unlock and hide/close the widget.<br>
<br>I'll post a fixed patch asap, may be by tomorrow evening.<br><br>Regards,<br>Rohit Yadav<br><font color="#888888">"The geek says signing in and signing out!"<br>
<a href="http://rohityadav.wordpress.com/" target="_blank">http://rohityadav.wordpress.com</a></font><br>