qPCR4vir / nana-demo

demos and tests for Nana C++ GUI library
https://github.com/cnjinhao/nana
Boost Software License 1.0
68 stars 24 forks source link

two posibility for group implemetation #1

Closed qPCR4vir closed 8 years ago

qPCR4vir commented 9 years ago

Hi, @cnjinhao First I show what I mean: group nana-wf

I think people may expect a less invasive group. I have seen implementations which do nothing else but draw the border and the label, and anything else have to be done manually. This implementation manage all: creation, live (own) and layout. I think the best is something intermediary. The idea is you have some widgets (imput controls, label, etc.) which you want to manage normaly, but just visualy toghether because you have not decide to make a "class" or a formal union. Hier are my old examples (C++ with windows forms). Please see the new examples in: https://github.com/qPCR4vir/nana-demo/blob/master/Examples/a_group_impl.cpp

https://msdn.microsoft.com/de-de/library/system.windows.forms.groupbox%28v=vs.110%29.aspx Just Now

cnjinhao commented 9 years ago

Understood, I will start a new feature branch for the group.

qPCR4vir commented 9 years ago

Hi, @cnjinhao I see you are doing a lot with place, but for now I dont tested the thing. I improved the idea, and now it look very like I need: group The new code is in the same place: https://github.com/qPCR4vir/nana-demo/blob/master/Examples/a_group_impl.cpp

qPCR4vir commented 9 years ago

Oh! yes, and now there are 3 posibility, counting: https://sourceforge.net/p/bowsimulationtool/code/260/tree//trunk/source/GUI/GroupBox.h I think that taking the best from each it will be OK !

qPCR4vir commented 9 years ago

Hi, @cnjinhao Update with nested group: group-nested from https://github.com/qPCR4vir/nana-demo/blob/master/Examples/a_group_impl.cpp

cnjinhao commented 9 years ago

Great! I have created a new feature branch for group called feature-group, would you please leave your real name for author information?

qPCR4vir commented 9 years ago

OK. Like in the email: Ariel Vina-Rodriguez (well, actually Ariel Viña Rodríguez, but for an easier internacionalization...) By the way, your right name is Jin Hao? Jinhao? And cn is ?