sr99622 / libonvif

Onvif library with GUI implementation and built in YOLOX
GNU Lesser General Public License v2.1
175 stars 45 forks source link

Is it possible to include .ui files? #62

Closed clcomputervision closed 1 year ago

clcomputervision commented 1 year ago

Hello,

This work is very interesting. I have been using it for my Onvif cameras. But is there anyway to include the UI files (.ui)? I took a look at the repo, there were only .py files. Since I need to make some changes in UI for testing, it will be helpful to have your .ui files included.

Thank you so much.

sr99622 commented 1 year ago

Thank you for your inquiry, your interest in the project is greatly appreciated.

The GUI for the project was developed without using .ui files. This is partly due to a development philosophy that there be a minimum of dependencies on external code or tools for the project. My own personal opinion is that these sorts of devices often result in unnecessary complexity when integrated into a larger context.

Having said that, one of the major goals of this project is that it be reasonably straight forward for third parties to develop applications using this project as a framework. However, I can appreciate that some developers prefer to use the .ui format for developing GUI as it can make design and layout less cumbersome. The result is a tradeoff between competing objectives, and in this case, .ui has been left out.

My hope is that the design patterns are clear enough that somebody could extend the code for customization without too much hair pulling. If there is something specific that you have in mind, please let me know, I am happy to assist in getting started.

Best Regards,

Stephen