13 #ifndef BERRYWINDOW_H_ 14 #define BERRYWINDOW_H_ 21 #include "internal/berryWindowManager.h" 126 virtual void HandleException(
const std::exception& t) = 0;
133 WindowShellListener(
Window* wnd);
141 QScopedPointer<IShellListener> windowShellListener;
153 void HandleException(
const std::exception& t)
override;
190 friend struct DefaultModalParent;
211 WindowManager* windowManager;
271 const QList<Shell::Pointer>& toSearch);
321 QRect GetConstrainedShellBounds(
const QRect& preferredSize);
339 virtual bool CanHandleShellCloseEvent();
406 virtual QWidget* GetContents();
420 virtual QPoint GetInitialLocation(
const QPoint& initialSize);
429 virtual QPoint GetInitialSize();
475 virtual void HandleShellCloseEvent();
489 virtual void InitializeBounds();
512 void SetReturnCode(
int code);
525 void SetShellStyle(
int newShellStyle);
568 virtual bool Close();
579 virtual void Create();
589 static QIcon GetDefaultImage();
602 static QList<QIcon> GetDefaultImages();
626 WindowManager* GetWindowManager();
663 void SetBlockOnOpen(
bool shouldBlock);
673 static void SetDefaultImage(
const QIcon&
image);
686 static void SetDefaultImages(
const QList<QIcon>&
images);
698 void SetWindowManager(WindowManager* manager);
710 static void SetExceptionHandler(IExceptionHandler::Pointer
handler);
static MsgHandler handler
Light weight base class for most BlueBerry classes.
berry::SmartPointer< Self > Pointer
#define berryObjectMacro(...)
mitk::Image::Pointer image
static QList< QIcon > defaultImages