Hi, Damien! 2012/5/9 Damien Moore <[email protected]>: > 1. What is the easiest way to create a new plugin? I just copied another > plugin, stripped out the stuff I didn't need and renamed variables > appropriately. It would be nice if there was a small script to do all of the > laborious bits: collect basic info about the plugin (author, title, whether > it has config etc), create basic source stubs, edit relevant build files. I > actually spent a lot of time just trying to get the plugin to build.
Yes, you can just copied other plugin (or just write new code). On our wiki have article about creating new plugins. We only have a few plugins and we have not thought about creating a designer for them before. > 2. Why does the StelDialog class require so much user code? I may have > misunderstood how to use it, but it seems much more complicated to use than > a QDialog. To get it to work, I had to add title bar with title and close > button, set styles, and set translations. Why isn't this functionality > provided by default in the base StelDialog class? What am I missing? This is many - http://stellarium.org/doc/head/classStelDialog.html ? > 3. Is there a unique and persistent identifier for objects (stars, planets > etc)? I was using the name, but sometimes this isn't a unique value (some > objects don't have names). Unique and persistent identifier for any objects are designation (name), but some stars stored without names. Names for stars limited by Hipparcos catalog. -- With best regards, Alexander ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
