Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryISizeProvider.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef BERRYISIZEPROVIDER_H_
19 #define BERRYISIZEPROVIDER_H_
20 
22 
23 namespace berry {
24 
33 
38  static const int INF;
39 
40  virtual ~ISizeProvider();
41 
79  virtual int GetSizeFlags(bool width) = 0;
80 
153  virtual int ComputePreferredSize(bool width, int availableParallel, int availablePerpendicular, int preferredResult) = 0;
154 };
155 
156 }
157 
158 #endif /* BERRYISIZEPROVIDER_H_ */
static const int INF
#define BERRY_UI_QT