Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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_ */
static const int INF
#define BERRY_UI_QT