How to change the size of small wizard image and have custom fields in inno setup - installation

I want all my inno set up pages to look like below :

The small wizard image is accessible using WizardForm.WizardSmallBitmapImage which is of type TBitmapImage.
You can change the size and position of this control to suit your design (within the top panel). You can also hide/reposition the labels (WizardForm.PageNameLabel and WizardForm.PageDescriptiontLabel) in the same way.
As for the extra fields, see this question.

Related

Is there a way to conditionally hide visualisations in Quicksight dependent on base size?

I would like to set up a conditional rule that hides a visualisation if the base size is less than 10.
Any help is much appreciated.
Under the format visual options there is a tab called Rules, although I cannot work out how I would use this to this ends.

How can we add a paper size to printer programmatically

In windows, how can a program add a custom paper size to a specific printer?
To be more specific, we want this change to be permanently visible outside that program, so that other programs can print to that paper size.
We have been able to do that by importing registry values from a file, but that requires admin access, which makes it troublesome in the company.
A solution in any language/stack will be appreciated.
With Set-PrintConfiguration only can set predefine paper, cannot add custom paper size

how to display two different bitmap images in canoe?

I would like to display two different images in the panel based on event, example, for light on display one bit map image, And for light off display another bitmap image.
I already tried to browse the options in properties box there is not much information available regarding this, did anybody have solution for this issue?
Usually you would use a Switch/Indicator control and use a bitmap that includes all states in one image. See chapter "Assigning and Creating Bitmaps" in the manual.

Skin vs theme, what is the difference?

What is the difference between skin and theme?
I have looked at this articles:
https://en.wikipedia.org/wiki/Skin_%28computing%29
https://en.wikipedia.org/wiki/Theme_%28computer%29
and there is only one difference: theme is less "complicated" then skin. Like different set of icons and colors in theme, but skin can change UI control appearance (checkbox vs switch for ON/OFF control) in programmatic way which can be done by styling/CSS.
That difference in answer if it applied to WEB-app vs desktop application?
UPDATE. I have added the ability to change the look of the program via configuration file (icons, colors, element position). Is that skin or theme?
I would say the difference is minor. My gut feeling says that I would call something which alters the appearance and feel of an interface a skin while I would call something which only alters the appearance a theme. A skin could add an extra button to allow for easier access to some of the underlying program's functionality, for example.
I have added the ability to change the look of the program via configuration file (icons, colors, element position). Is that skin or theme?
That would be a theme (by my logic). In reality, though, most people will use the two terms interchangeably.
A Theme is a combination of multiple features that not only defines the layout of the website but also add additional features to your site. So a theme may consist of combination of skins and modules.
Whereas Skin is something that is purely related to your website appearance like it's color, block placement and other factors related to its layout.
UPDATE. I have added the ability to change the look of the program via
configuration file (icons, colors, element position). Is that skin or
theme?
I would agree with #timgeb that you are actually configuring skin of your theme.

Qt - using Widgets and QLabel to display multiple images

So currently I am able to display images via URL's using QLabel, QNetworkManager and QPixmap. And then to display the image I use something like label->show(). Essentially I follow the same steps as in the pseudocode in this link:
http://developer.qt.nokia.com/forums/viewthread/7010
Now I am still somewhat new to Qt and am having difficulty extending this. What I want to do is be able to display multiple images from different URL's into essentially the same container. So basically I want to see two images in the same container/window. These images are specified by their width, height, x position and y position in the main window/container. I know that I should use widgets but I am not sure what exactly should I use? QFrame? QHBLayout? QScrollArea? etc. Any help would be appreciated.
You can use many QLabels inside a Layout to get the effect you want. The way you want to lay it out is up to you, and there's more than one layout manager. There's things like the grid layout, the box layout, etc. Have a look here for layouts. You can look at it in this simplified way:
One window has a layout and a layout has many items in it.
http://doc.qt.nokia.com/latest/layout.html
In reality widgets can contain many other widgets. To position them properly, you use the layout.

Resources