17 #ifndef BERRYWINDOW_H_
18 #define BERRYWINDOW_H_
25 #include "internal/berryWindowManager.h"
130 virtual void HandleException(
const std::exception& t) = 0;
137 WindowShellListener(
Window* wnd);
145 QScopedPointer<IShellListener> windowShellListener;
150 struct DefaultExceptionHandler:
public IExceptionHandler
157 void HandleException(
const std::exception& t)
override;
165 SmartPointer<MenuManager> menuBarManager;
189 struct DefaultModalParent:
public IShellProvider
194 friend struct DefaultModalParent;
215 WindowManager* windowManager;
275 const QList<Shell::Pointer>& toSearch);
325 QRect GetConstrainedShellBounds(
const QRect& preferredSize);
343 virtual bool CanHandleShellCloseEvent();
410 virtual QWidget* GetContents();
424 virtual QPoint GetInitialLocation(
const QPoint& initialSize);
433 virtual QPoint GetInitialSize();
479 virtual void HandleShellCloseEvent();
493 virtual void InitializeBounds();
516 void SetReturnCode(
int code);
529 void SetShellStyle(
int newShellStyle);
572 virtual bool Close();
583 virtual void Create();
593 static QIcon GetDefaultImage();
606 static QList<QIcon> GetDefaultImages();
630 WindowManager* GetWindowManager();
667 void SetBlockOnOpen(
bool shouldBlock);
677 static void SetDefaultImage(
const QIcon& image);
690 static void SetDefaultImages(
const QList<QIcon>&
images);
702 void SetWindowManager(WindowManager* manager);
static MsgHandler handler
itk::SmartPointer< Self > Pointer
Light weight base class for most BlueBerry classes.
berry::SmartPointer< Self > Pointer
#define berryObjectMacro(...)
static QList< QIcon > defaultImages
section MAP_FRAME_Mapper_Settings Mapper settings For the mapping of corrected images