6 #include <QApplication> 20 void commandLineOpen(
int argc,
char *argv[] );
23 void createConnections( );
24 void setupLogoview( );
25 QString getFileDialog( );
26 bool loadFile( QString filename );
27 bool loadFolder( QString dirname );
28 void createActions( );
30 bool loadDicomdir( QString dicomFName );
33 void updateProgress(
int p );
36 void on_actionRed_background_triggered( );
37 void on_actionGreen_background_triggered( );
38 void on_actionBlue_background_triggered( );
39 void on_actionBlack_background_triggered( );
40 void on_actionWhite_background_triggered( );
41 void on_actionOpen_image_triggered( );
42 void on_actionQuit_triggered( );
44 void currentImageChanged( );
46 void containerUpdated( );
48 void openRecentFile( );
49 void updateRecentFileActions( );
50 void on_actionAddLabel_triggered( );
51 void on_actionOpen_folder_triggered( );
52 void on_actionOpen_DicomDir_triggered( );
53 void on_actionAdd_image_triggered( );
54 void on_actionRemove_current_image_triggered( );
55 void on_actionSelect_default_folder_triggered( );
56 void on_actionRemove_current_label_triggered( );
58 void updateIntensity( QPointF scnPos, Qt::MouseButtons buttons,
size_t axis );
60 void on_actionAxial_triggered( );
61 void on_actionCoronal_triggered( );
62 void on_actionSagittal_triggered( );
63 void on_action3_Views_triggered( );
64 void on_action4_Views_triggered( );
65 void on_actionVertical_triggered( );
66 void on_actionHorizontal_triggered( );
67 void on_actionGrid_triggered( );
69 void on_actionWhitePen_triggered( );
70 void on_actionRedPen_triggered( );
71 void on_actionBluePen_triggered( );
72 void on_actionGreenPen_triggered( );
73 void on_actionBlackPen_triggered( );
75 void on_actionToggle_overlay_triggered( );
77 void on_actionDefaultTool_triggered( );
79 void on_actionSegmentationTool_triggered( );
81 void on_actionEnglish_triggered( );
83 void on_actionPortuguese_triggered( );
85 void on_actionFunctional_Tool_triggered( );
87 void on_actionChange_default_parameters_triggered( );
92 QString defaultFolder;
94 bool checkExtension(
const QString &
suffix );
96 QAction *actionDefaultTool;
97 QAction *actionSegmentationTool;
103 QApplication::setOverrideCursor( cursor );
106 QApplication::restoreOverrideCursor( );
CursorChanger(const QCursor &cursor)
The Controller class is one of the most important classes of the User Interface, and is responsible t...
unsigned char suffix[65536]