Another technique worth noting is the borrowing of fully styled widgets from other applications and templates. Consider the case of a search editor. While we could create our own, we may have noticed that Fancy Template from the Templates menu contains a search editor that would fit our needs just fine. Here's a way to extract that editor from the template:
panel15to include the magnifying glass image
FancyTemplatewidget from the Model tree
varTemplateUsernamecomponents can be deleted ...