LibreOffice Module vcl (master) 1
Classes | Namespaces | Functions
dialog.cxx File Reference
#include <config_feature_desktop.h>
#include <com/sun/star/frame/theGlobalEventBroadcaster.hpp>
#include <comphelper/lok.hxx>
#include <comphelper/scopeguard.hxx>
#include <comphelper/processfactory.hxx>
#include <officecfg/Office/Common.hxx>
#include <osl/diagnose.h>
#include <svdata.hxx>
#include <window.h>
#include <accel.hxx>
#include <brdwin.hxx>
#include <salinst.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/strbuf.hxx>
#include <sal/log.hxx>
#include <vcl/abstdlg.hxx>
#include <vcl/builder.hxx>
#include <vcl/toolkit/floatwin.hxx>
#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
#include <vcl/event.hxx>
#include <vcl/locktoplevels.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/toolkit/button.hxx>
#include <vcl/mnemonic.hxx>
#include <vcl/toolkit/dialog.hxx>
#include <vcl/dialoghelper.hxx>
#include <vcl/settings.hxx>
#include <vcl/virdev.hxx>
#include <vcl/weld.hxx>
#include <vcl/uitest/uiobject.hxx>
#include <vcl/uitest/logger.hxx>
#include <vcl/IDialogRenderable.hxx>
#include <messagedialog.hxx>
#include <salframe.hxx>
#include <tools/json_writer.hxx>
#include <iostream>
#include <stack>
#include <utility>
#include <vector>
Include dependency graph for dialog.cxx:

Go to the source code of this file.

Classes

struct  DialogImpl
 
struct  TopLevelWindowLockerImpl
 

Namespaces

namespace  vcl
 

Functions

static OString ImplGetDialogText (Dialog *pDialog)
 
static bool ImplIsMnemonicCtrl (vcl::Window *pWindow)
 
void ImplHideSplash ()
 
vcl::WindownextLogicalChildOfParent (const vcl::Window *pTopLevel, const vcl::Window *pChild)
 
vcl::WindowprevLogicalChildOfParent (const vcl::Window *pTopLevel, const vcl::Window *pChild)
 
vcl::WindowfirstLogicalChildOfParent (const vcl::Window *pTopLevel)
 
vcl::WindowlastLogicalChildOfParent (const vcl::Window *pTopLevel)
 
void GenerateAutoMnemonicsOnHierarchy (const vcl::Window *pWindow)
 
static VclButtonBoxgetActionArea (Dialog const *pDialog)
 
static vcl::WindowgetActionAreaButtonList (Dialog const *pDialog)
 
static PushButtonImplGetDefaultButton (Dialog const *pDialog)
 
static PushButtonImplGetOKButton (Dialog const *pDialog)
 
static PushButtonImplGetCancelButton (Dialog const *pDialog)
 
static void ImplMouseAutoPos (Dialog *pDialog)
 
 IMPL_LINK_NOARG (Dialog, ImplAsyncCloseHdl, void *, void)
 
Size bestmaxFrameSizeForScreenSize (const Size &rScreenSize)
 
void vcl::EndAllDialogs (vcl::Window const *pParent)
 
void vcl::EnableDialogInput (vcl::Window *pWindow)
 
void vcl::CloseTopLevel (vcl::Window *pWindow)
 
 IMPL_LINK (Dialog, ResponseHdl, Button *, pButton, void)
 

Function Documentation

◆ bestmaxFrameSizeForScreenSize()

Size bestmaxFrameSizeForScreenSize ( const Size rScreenSize)

Definition at line 706 of file dialog.cxx.

References h, Size::Height(), n, size, w, and Size::Width().

Referenced by DockingWindow::setOptimalLayoutSize(), and SystemWindow::setOptimalLayoutSize().

◆ firstLogicalChildOfParent()

vcl::Window * firstLogicalChildOfParent ( const vcl::Window pTopLevel)

◆ GenerateAutoMnemonicsOnHierarchy()

void GenerateAutoMnemonicsOnHierarchy ( const vcl::Window pWindow)

◆ getActionArea()

static VclButtonBox * getActionArea ( Dialog const *  pDialog)
static

◆ getActionAreaButtonList()

static vcl::Window * getActionAreaButtonList ( Dialog const *  pDialog)
static

◆ IMPL_LINK()

IMPL_LINK ( Dialog  ,
ResponseHdl  ,
Button ,
pButton  ,
void   
)

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( Dialog  ,
ImplAsyncCloseHdl  ,
void *  ,
void   
)

Definition at line 651 of file dialog.cxx.

References jsdialog::Close.

◆ ImplGetCancelButton()

static PushButton * ImplGetCancelButton ( Dialog const *  pDialog)
static

◆ ImplGetDefaultButton()

static PushButton * ImplGetDefaultButton ( Dialog const *  pDialog)
static

◆ ImplGetDialogText()

static OString ImplGetDialogText ( Dialog pDialog)
static

Definition at line 72 of file dialog.cxx.

References SystemWindow::GetText(), OUStringToOString(), and sMessage.

Referenced by Dialog::ImplStartExecute().

◆ ImplGetOKButton()

static PushButton * ImplGetOKButton ( Dialog const *  pDialog)
static

◆ ImplHideSplash()

void ImplHideSplash ( )

Definition at line 126 of file dialog.cxx.

References vcl::Window::Hide(), ImplGetSVData(), and ImplSVData::mpIntroWindow.

◆ ImplIsMnemonicCtrl()

static bool ImplIsMnemonicCtrl ( vcl::Window pWindow)
static

◆ ImplMouseAutoPos()

static void ImplMouseAutoPos ( Dialog pDialog)
static

◆ lastLogicalChildOfParent()

vcl::Window * lastLogicalChildOfParent ( const vcl::Window pTopLevel)

◆ nextLogicalChildOfParent()

vcl::Window * nextLogicalChildOfParent ( const vcl::Window pTopLevel,
const vcl::Window pChild 
)

◆ prevLogicalChildOfParent()

vcl::Window * prevLogicalChildOfParent ( const vcl::Window pTopLevel,
const vcl::Window pChild 
)