Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryISizeProvider.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef BERRYISIZEPROVIDER_H_
15 #define BERRYISIZEPROVIDER_H_
16 
18 
19 namespace berry {
20 
29 
34  static const int INF;
35 
36  virtual ~ISizeProvider();
37 
75  virtual int GetSizeFlags(bool width) = 0;
76 
149  virtual int ComputePreferredSize(bool width, int availableParallel, int availablePerpendicular, int preferredResult) = 0;
150 };
151 
152 }
153 
154 #endif /* BERRYISIZEPROVIDER_H_ */
org_blueberry_ui_qt_Export.h
berry::ISizeProvider
Definition: berryISizeProvider.h:28
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry
Definition: QmitkPropertyItemModel.h:24
berry::ISizeProvider::INF
static const int INF
Definition: berryISizeProvider.h:34