Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::ShortcutProperties Struct Reference

The ShortcutProperties struct acts as a user-friendly container for holding IShellLink data, which are the varies properties of a Windows .lnk shortcut. More...

#include <qx/windows/qx-common-windows.h>

Collaboration diagram for Qx::ShortcutProperties:
[legend]

Public Types

enum  ShowMode {
  NORMAL ,
  MAXIMIZED ,
  MINIMIZED
}
 

Public Attributes

QString comment
 
QString iconFilePath
 
int iconIndex = 0
 
ShowMode showMode = NORMAL
 
QString startIn
 
QString target
 
QString targetArgs
 

Detailed Description

Member Enumeration Documentation

◆ ShowMode

This enum represents how the window of the target program is first shown when opened.

Enumerator
NORMAL 

Shows the program window in its original form.

MAXIMIZED 

Shows the program as a maximized window.

MINIMIZED 

Shows the program as a minimized window.

Member Data Documentation

◆ comment

QString Qx::ShortcutProperties::comment

A comment viewable within the shortcut properties.

◆ iconFilePath

QString Qx::ShortcutProperties::iconFilePath

A full path to the file that contains shortcut's icon.

◆ iconIndex

int Qx::ShortcutProperties::iconIndex = 0

The index of the icon within the shortcut's icon file.

This should be a zero or positive value for files that contain multiple icons (e.g. DLL, EXE, multi-image ICO, etc.), or simply zero if iconFilePath points to a single image.

◆ showMode

ShortcutProperties::ShowMode Qx::ShortcutProperties::showMode = NORMAL

The show mode to use for the target application.

◆ startIn

QString Qx::ShortcutProperties::startIn

The "Start in" directory from which to launch the target.

◆ target

QString Qx::ShortcutProperties::target

The shortcut's target.

◆ targetArgs

QString Qx::ShortcutProperties::targetArgs

The arguments to pass the shortcut's target.


The documentation for this struct was generated from the following files: