Skip to main content

redRQT widget API standardization

Recently we undertook to standardize the redRCore Qt widget API. This is the API that is in the base package.

No elements of the API were removed, standard elements were pushed to be handled by the core widgetState container, which is the universal container for all redR core metawidgets.

All widgets accept the following as key word arguments;

widget - parent widget into which the widget controlArea will be placed.
label - most widgets accept and will display a label, possibly required, and possibly controlled using displayLabel
includeInReports - Indicates if the report generator should include this widget, this is no longer overridden and is exposed to all widgets, though reasonable defaults are set.
toolTip - toolTip is delegated to the widgetState and is available to all widgets.
sizePolicy - all widgets have their control area set to a reasonable sizePolicy, generally this is set to QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred).
whatsThis - all widgets can accept a whatsThis argument used to give additional information for the widget.
styleSheet - sets the style sheet for the widget eg. "QLineEdit {border: 2px solid grey; border-radius: 10px; padding: 0 8px;margin-right:60px; selection-background-color: darkgray;}"
disabled - is the widget disabled (1) or not (0)

By adopting a universal API for widgets and the ability to access and set the widget components should make development and understanding of the core API better. Where possible we shall push API members to the core handler instead of setting them in each widget.

We also implemented several new features that were on the issue list for 1.90. In 1.90 users will be able to set custom variable names for RVariables generated by the widgets. For example, instead of forcing a name_id_timestamp structure, users can rename this to something more understandable to a human reader, for example, myData.

Re:

Some good facts you defined in this stuff that are very easy to understand for the readers.
Admission essay help | buy essay

Re:

In my opinion, this post has some great piece of information.
thesis writing | book report writing | Dissertation Writing

When considering a machine

When considering a machine purchase or equipment upgrade, IVD manufacturers should perform a self-
analysis. A clear and concise customer requirement specifications (CRS) document is often the first step in determining the validity of the purchase of a new machine.
Childrens wholesale clothes

The self-analysis that

The self-analysis that includes, but is not limited to, forecasts for production and sales volumes, time to market, internal staff resources, and overall equipment effectiveness of current equipment contributes to defining an IVD company’s required financial payback and specific customer requirements document.
clothing wholesalers

Oh yeah, I have done my

Oh yeah, I have done my graduation and right now I am doing a career oriented job well all of my friends got reputable status jobs and business. Its the era of IT and I think it better to have business and IT education for a flourishing career and for a successful dreamed business.
ladies wholesale clothing

Your site is good Actually, i

Your site is good Actually, i have seen your post and That was very informative and very helpfull for me. Thanks for posting Really Such Things. I should recommend your site to my friends.
clothes wholesalers