nqrduck.assets.icons#

Provides methods to load icons.

Classes

Icons()

This class provides various assets for the different modules.

Logos()

This class provides the logos for the different modules.

PulseParamters()

This class provides the pulse parameter assets for the different modules.

class nqrduck.assets.icons.Icons#

This class provides various assets for the different modules.

static load_icon(folder, name)#

Loads an icon and returns it as a QIcon.

Parameters:
  • folder (str) – The folder in which the image is located.

  • name (str) – The name of the image to load.

Returns:

The loaded image.

Return type:

QIcon

class nqrduck.assets.icons.Logos#

This class provides the logos for the different modules.

static ArrowLeft12x12()#

Returns the ArrowLeft_12x12 logo as a QIcon.

Returns:

The ArrowLeft_12x12 logo.

Return type:

QIcon

static ArrowRight12x12()#

Returns the ArrowRight_12x12 logo as a QIcon.

Returns:

The ArrowRight_12x12 logo.

Return type:

QIcon

static Attention_16x16()#

Returns the Attention_16x16 logo as a QIcon.

Returns:

The Attention_16x16 logo.

Return type:

QIcon

static Error_16x16()#

Returns the Error_16x16 logo as a QIcon.

Returns:

The Error_16x16 logo.

Return type:

QIcon

static Garbage12x12()#

Returns the Garbage_12x12 logo as a QIcon.

Returns:

The Garbage_12x12 logo.

Return type:

QIcon

static Info_16x16()#

Returns the Info_16x16 logo as a QIcon.

Returns:

The Info_16x16 logo.

Return type:

QIcon

static LabMallard_32x32()#

Returns the LabMallardnbg_32x32 logo as a QIcon.

Careful this is exported in 400% instead of 200% so it might look weird with other logos.

Returns:

The QuestionMark_16x16 logo.

Return type:

QIcon

static Load16x16()#

Returns the Load_16x16 logo as a QIcon.

Returns:

The Load_16x16 logo.

Return type:

QIcon

static Logo_64x32()#

Returns the Logo_64x32 logo as QIcon.

This is also exported in 400%

Returns: QIcon: The Logo_64x32

static Logo_full()#

Returns the Logo_fulllogo as QIcon.

This is also exported in 400%. Only use this for the splash screen and maybe about page. It has a weird size.

Returns: QIcon: The Logo_full

static New16x16()#

Returns the New_16x16 logo as a QIcon.

Returns:

The New_16x16 logo.

Return type:

QIcon

static Pen12x12()#

Returns the Pen_12x12 logo as a QIcon.

Returns:

The Pen_12x12 logo.

Return type:

QIcon

static Play_16x16()#

Returns the Play_16x16 logo as a QIcon.

Returns:

The Play_16x16 logo.

Return type:

QIcon

static QuestionMark_16x16()#

Returns the QuestionMark_16x16 logo as a QIcon.

Returns:

The QuestionMark_16x16 logo.

Return type:

QIcon

static Save16x16()#

Returns the Save_16x16 logo as a QIcon.

Returns:

The Save_16x16 logo.

Return type:

QIcon

static Settings_16x16()#

Returns the Settings_16x16 logo as a QIcon.

Returns:

The Settings_16x16 logo.

Return type:

QIcon

Returns a logo as a QIcon.

Parameters:

name (str) – The name of the logo to load.

Returns:

The loaded logo.

Return type:

QIcon

class nqrduck.assets.icons.PulseParamters#

This class provides the pulse parameter assets for the different modules.

static GateOff()#

Returns the GateOff logo as a QIcon.

Returns:

The GateOff logo.

Return type:

QIcon

static GateOn()#

Returns the GateOn logo as a QIcon.

Returns:

The GateOn logo.

Return type:

QIcon

static RXOff()#

Returns the RXOff logo as a QIcon.

Returns:

The RXOff logo.

Return type:

QIcon

static RXOn()#

Returns the RXOn logo as a QIcon.

Returns:

The RXOn logo.

Return type:

QIcon

static TXCustom()#

Returns the TXCustom logo as a QIcon.

Returns:

The TXCustom logo.

Return type:

QIcon

static TXGauss()#

Returns the TXGauss logo as a QIcon.

Returns:

The TXGauss logo.

Return type:

QIcon

static TXOff()#

Returns the TXOff logo as a QIcon.

Returns:

The TXOff logo.

Return type:

QIcon

static TXRect()#

Returns the TXRect logo as a QIcon.

Returns:

The TXRect logo.

Return type:

QIcon

static TXSinc()#

Returns the TXSinc logo as a QIcon.

Returns:

The TXSinc logo.

Return type:

QIcon

static get_pulseparameter(name)#

Returns a pulse parameter as a QIcon.

Parameters:

name (str) – The name of the pulse parameter to load.

Returns:

The loaded pulse parameter.

Return type:

QIcon