-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello :) #5
Comments
Hi Pawel, I'm planning to complete new features for property delegates at weekends (we have three days off so I hope it's enough time). For now you could implement delegate for "Button" property in old style - just show button caption and show button as inplace editor on mouse click activation. Each property has two cells on property view:
How do you think "Button" property should be shown on property view? Also we should decide how to merge your modifications in main repository. Some code should go to main repository and some to AwesomeBump as customizations of QtnProperty for this particular project. Regards, |
Thanks - I think I will implement that way for now. In my opinion button should look like this - spanning across two columns. Regards On Fri, Jan 15, 2016 at 3:34 PM, Alex Zhondin notifications@github.com
More:
|
Hi Pawel, More I think about improved delegates - more it seems they are very similar to View/Controller classes from my another project qt-items. There are a lot of different kinds of Views, including buttons, links, texts, progress bars etc. And it's easily customizable. A brief description of this project you can see in the article. It's auto-translation from russian to english. The only problem is a lot of short source files, so build time is not perfect. Do you know if it's possible to have unity build for Qt projects? I expect some problems with MOC compiler, but may be i'm wrong. Also it would be useful for QtnProperty project itself. So now I'm considering three possible ways to improve delegates (to make them interactive like little embedded widgets):
What do you think? Regards, |
Hello - yes, I know that project qt-items - it is quite impressive. I am I am using that unbuild concept quite frequently - seems to be fine for qt Regards On Sat, Jan 16, 2016 at 10:18 AM, Alex Zhondin notifications@github.com
More:
|
I've merged your modifications. There is only missing PropertyQAction.cpp and PropertyDelegateQAction.cpp files, so I commented out these includes in unity files. Did you tried to make unity files for generated moc_XXX.cpp files? Is it possible? Also I tried to build AwesomeBump on windows (now I don't have any linux pc). |
Hi @ppiecuch and @kmkolasinski I've made some changes in QtnPrroperty project to support general customizations. This is code for new features:
@ppiecuch it seems we are doing the same job. I think we should rethink the way we interact. @ppiecuch and @kmkolasinski let's create separate issues for every little independent task for QtnProperties. Thus we would not mix different requests in one thread - otherwise it's hard to track all requests. When particular request will be complete we just close the issue and continue to discuss and keep tracking the others. Now I'm opening new issues, so let's go there and continue our collaboration. Regards, |
Hi, nice job! I have a question: How can I access the clickHandler from other class? |
In C++ code you have two options:
and pass function there
See PropertyButton.h |
Great! I didn't know that there is a click signal, thanks. |
No problem - I will merge your changes. One think - would it be possible to Regards On Tue, Jan 19, 2016 at 9:54 AM, Alex Zhondin notifications@github.com
More:
|
Sure. Will do it. You are welcome, it's quite late now. |
As has been told on AwesomeBump github, would be good to have a "Button" property - action you could start from QtnProperty (for example "Recalculate " - as it might be some time consuming operations, should not executed immediately after parameters have been changed). I would like to implement such think - could you give recommendations how could I start with that?
Regards
Pawel
The text was updated successfully, but these errors were encountered: