anatomist  5.1.2
3D neuroimaging data viewer
wPreferences.h
Go to the documentation of this file.
1 /* This software and supporting documentation are distributed by
2  * Institut Federatif de Recherche 49
3  * CEA/NeuroSpin, Batiment 145,
4  * 91191 Gif-sur-Yvette cedex
5  * France
6  *
7  * This software is governed by the CeCILL-B license under
8  * French law and abiding by the rules of distribution of free software.
9  * You can use, modify and/or redistribute the software under the
10  * terms of the CeCILL-B license as circulated by CEA, CNRS
11  * and INRIA at the following URL "http://www.cecill.info".
12  *
13  * As a counterpart to the access to the source code and rights to copy,
14  * modify and redistribute granted by the license, users are provided only
15  * with a limited warranty and the software's author, the holder of the
16  * economic rights, and the successive licensors have only limited
17  * liability.
18  *
19  * In this respect, the user's attention is drawn to the risks associated
20  * with loading, using, modifying and/or developing or reproducing the
21  * software by the user in light of its specific status of free software,
22  * that may mean that it is complicated to manipulate, and that also
23  * therefore means that it is reserved for developers and experienced
24  * professionals having in-depth computer knowledge. Users are therefore
25  * encouraged to load and test the software's suitability as regards their
26  * requirements in conditions enabling the security of their systems and/or
27  * data to be ensured and, more generally, to use and operate it in the
28  * same conditions as regards security.
29  *
30  * The fact that you are presently reading this means that you have had
31  * knowledge of the CeCILL-B license and that you accept its terms.
32  */
33 
34 
35 #ifndef ANATOMIST_CONTROL_WPREFERENCES_H
36 #define ANATOMIST_CONTROL_WPREFERENCES_H
37 
38 
39 #include <qwidget.h>
40 
41 
44 class PreferencesWindow : public QWidget
45 {
46  Q_OBJECT
47 
48 public:
50  virtual ~PreferencesWindow();
52 
53 public slots:
54  void enableTab( int );
55  void enableCursor( bool );
56  void setCursorShape( const QString & );
57  void setCursorColorMode( int );
58  void cursorSliderChanged( int );
61  void enableLRDisplay( bool );
64  void enableGraphicsView( bool );
65  void setAxialConvention( int );
66  void enableVolInterpolation( bool );
69  void languageChanged( const QString & );
70  void htmlBrowserChanged( const QString & );
71  void setUserLevel( const QString & );
72  void loadCursor();
79  void setMaxTextures( const QString & );
80  void enableOpenGLSelection( bool x );
81  void enableOpenGLShader( bool x );
82  void shadersByDefault( bool x );
83  void confirmBeforeQuitChanged( int x );
85 
86 protected:
87  void updateWindows();
88 
89 private:
90  struct Private;
91  Private *_pdat;
92 };
93 
94 
95 #endif
#define slots
Global preferences settings window.
Definition: wPreferences.h:45
void enableVolInterpolation(bool)
void shadersByDefault(bool x)
void enableAutomaticReferential(bool)
void cursorSliderChanged(int)
void maxPolygonsPerObjectChanged()
void languageChanged(const QString &)
void enableCursor(bool)
void setCursorColorMode(int)
void changeDefWindowsRef()
void leftRightDisplaySizeChanged(int)
void enableDisplayCursorPosition(bool x)
void cursorEditChanged()
void enableOpenGLShader(bool x)
void setUserLevel(const QString &)
void changeWindowBackground()
void browserAttributeLenChanged()
void setAxialConvention(int)
void displayedAnnotationChanged(int)
virtual ~PreferencesWindow()
void setMaxTextures(const QString &)
void enableTab(int)
void changeDefObjectsRef()
void defaultWinSizeChanged()
void enableLRDisplay(bool)
void enableOpenGLSelection(bool x)
void confirmBeforeQuitChanged(int x)
void enableGraphicsView(bool)
void setCursorShape(const QString &)
void commonScannerBasedReferential(bool)
void htmlBrowserChanged(const QString &)