CFx SDK Documentation  2023 SP0
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
CFxDialog Class Reference

#include <FxDialog.h>

Inheritance diagram for CFxDialog:

Public Slots

virtual void Help ()
 

Public Member Functions

 CFxDialog (QWidget *parent=0, bool bFixed=true, Qt::WindowFlags f=Qt::WindowTitleHint|Qt::WindowSystemMenuHint|Qt::WindowCloseButtonHint)
 
virtual ~CFxDialog ()
 
void show ()
 
void setCurrentSizeToMinMax ()
 
virtual int exec ()
 
virtual unsigned int GetHelpId () const
 
void OpenHelp ()
 
virtual void accept ()
 
virtual void reject ()
 
virtual void done (int r)
 
virtual void BeginEditorCommand ()
 
virtual void CancelEditorCommand ()
 
virtual void CompleteEditorCommand ()
 
void adjustSize ()
 

Static Public Member Functions

static void applySubtitleWidgetStyle (QWidget *dialog,...)
 
static bool IsDialogRunning ()
 

Protected Member Functions

CFxString GetGroupName ()
 
void showEvent (QShowEvent *) override
 
void hideEvent (QHideEvent *) override
 
bool event (QEvent *ev) override
 
bool nativeEvent (const QByteArray &eventType, void *msg, long *result) override
 

Detailed Description

Description: Represents a CFx type Dialog. Library: DDKERNEL

Definition at line 33 of file FxDialog.h.

Constructor & Destructor Documentation

◆ CFxDialog()

CFxDialog::CFxDialog ( QWidget *  parent = 0,
bool  bFixed = true,
Qt::WindowFlags  f = Qt::WindowTitleHint|Qt::WindowSystemMenuHint|Qt::WindowCloseButtonHint 
)

◆ ~CFxDialog()

virtual CFxDialog::~CFxDialog ( )
virtual

Member Function Documentation

◆ accept()

virtual void CFxDialog::accept ( )
virtual

Description: Hides the modal dialog and sets the result code to Accepted.

◆ adjustSize()

void CFxDialog::adjustSize ( )

Description: Adjusts dialog size based on the current content.

◆ applySubtitleWidgetStyle()

static void CFxDialog::applySubtitleWidgetStyle ( QWidget *  dialog,
  ... 
)
static

Description: Applies dialog subtitle style to a widget.

◆ BeginEditorCommand()

virtual void CFxDialog::BeginEditorCommand ( )
virtual

Description: Hides the dialog.

◆ CancelEditorCommand()

virtual void CFxDialog::CancelEditorCommand ( )
virtual

Description: Shows the dialog.

◆ CompleteEditorCommand()

virtual void CFxDialog::CompleteEditorCommand ( )
virtual

Description: Shows the dialog.

◆ done()

virtual void CFxDialog::done ( int  r)
virtual

Description: Closes the dialog and sets its result code to r

◆ event()

bool CFxDialog::event ( QEvent *  ev)
overrideprotected

Description: Events.

Parameters
[in,out]evIf non-null, the ev.

Return Value: true if it succeeds, false if it fails.

◆ exec()

virtual int CFxDialog::exec ( )
virtual

Description: Shows the dialog as a modal dialog.

◆ GetGroupName()

CFxString CFxDialog::GetGroupName ( )
protected

Description: Returns group name.

◆ GetHelpId()

virtual unsigned int CFxDialog::GetHelpId ( ) const
virtual

Description: Sets HelpID to zero.

◆ Help

virtual void CFxDialog::Help ( )
virtualslot

◆ hideEvent()

void CFxDialog::hideEvent ( QHideEvent *  )
overrideprotected

Description: Hides the event.

Parameters
[in,out]Ifnon-null, the.

◆ IsDialogRunning()

static bool CFxDialog::IsDialogRunning ( )
static

Description: Returns 'true' if any of CFxDialog is executing it's modal loop.

◆ nativeEvent()

bool CFxDialog::nativeEvent ( const QByteArray &  eventType,
void msg,
long *  result 
)
overrideprotected

◆ OpenHelp()

void CFxDialog::OpenHelp ( )

Description: Displays Help initial page.

◆ reject()

virtual void CFxDialog::reject ( )
virtual

Description: Hides the modal dialog and sets the result code to Rejected.

◆ setCurrentSizeToMinMax()

void CFxDialog::setCurrentSizeToMinMax ( )

Description: Set the minimum and maximum window size by the value of the current size.

◆ show()

void CFxDialog::show ( )

Description: Shows the dialog.

◆ showEvent()

void CFxDialog::showEvent ( QShowEvent *  )
overrideprotected

Description: Returns key pressed event. Description: Shows the event.

Parameters
[in,out]Ifnon-null, the.

The documentation for this class was generated from the following file: