Re: Finder like search query UI elements
Re: Finder like search query UI elements
- Subject: Re: Finder like search query UI elements
- From: "Carter R. Harrison" <email@hidden>
- Date: Sun, 12 Nov 2006 08:43:44 -0500
This might get you started out:
http://www.stepwise.com/Articles/Technical/2003-12-20.01.html
Basically it talks about how the rules editor works in Mail. It's
pretty much the same thing - an NSTableView with dynamically laid out
subviews/controls. Good luck.
Carter
On Nov 12, 2006, at 7:01 AM, Christian wrote:
Hi,
I develop an application that needs to add UI elements like buttons
and text fields dynamically at runtime.
Basically it should work and look exactly like the search
refinement UI elements in the Finder search or Smart Folder creation
(e.g. where you can specify the "Kind" or the "Last Opened"
attributes of the files you search for).
I have two questions:
1) Has anybody done this before (i.e. is there a library/code
example I can use)?
2) My first idea was to use a NSTableView as basis for adding and
removing rows with UI elements.
Can you customize a NSTableView in such a way that it would
resemble the look of the Finder search fields?
For example: All other window elements should move "down" when
new rows are added (like in the Finder). Thus I cannot use a
NSScrollview but have to resize the NSTableView and the rest of the
window myself somehow.
Thanks,
Christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden