Commit 9306b5e9 authored by Olivier Lagrasse's avatar Olivier Lagrasse
Browse files

Interface - connection des menus - ajout fenetre flottante au premier plan

parent 2d1c507a
......@@ -55,5 +55,5 @@ clean:
wash:
cd ./src && rm *~ *.o *pro Makefile
cd ./tests && rm *~ *.o *pro Makefile
cd ./bin && rm *
# cd ./bin && rm *
cd ./debug && rm *
<ui version="4.0" >
<class>info_window_2</class>
<widget class="QMainWindow" name="info_window_2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>607</width>
<height>187</height>
</rect>
</property>
<property name="windowTitle" >
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget" >
<layout class="QHBoxLayout" name="horizontalLayout_2" >
<item>
<layout class="QHBoxLayout" name="horizontalLayout" >
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="maximumSize" >
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="focusPolicy" >
<enum>Qt::StrongFocus</enum>
</property>
<property name="title" >
<string>Trace Resume</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="info_window" >
<property name="title" >
<string>Selection Informations</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>607</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar" />
</widget>
<resources/>
<connections/>
</ui>
<ui version="4.0" >
<class>main_window</class>
<widget class="QMainWindow" name="main_window" >
<property name="windowModality" >
<enum>Qt::NonModal</enum>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>812</width>
<height>600</height>
<width>1018</width>
<height>581</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle" >
<string>ViTE</string>
</property>
<widget class="QWidget" name="centralwidget" >
<widget class="QWidget" name="horizontalLayoutWidget" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>801</width>
<height>41</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetNoConstraint</enum>
</property>
<item>
<widget class="QToolButton" name="toolButton_2" >
<property name="text" >
<string>Open...</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_2" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox" />
</item>
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Zoom</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_2" />
</item>
<item>
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Scale</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_3" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="toolButton_6" >
<property name="text" >
<string>Temporal Selection</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_5" >
<property name="text" >
<string>Filters...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_3" >
<property name="text" >
<string>Colors...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton" >
<property name="text" >
<string>...</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QScrollArea" name="scrollArea" >
<property name="geometry" >
<rect>
<x>0</x>
<y>50</y>
<width>801</width>
<height>371</height>
</rect>
</property>
<property name="horizontalScrollBarPolicy" >
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="widgetResizable" >
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>797</width>
<height>367</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2" >
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<layout class="QHBoxLayout" name="horizontalLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetNoConstraint</enum>
</property>
<item>
<widget class="QToolButton" name="toolButton_2" >
<property name="text" >
<string>Open...</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Zoom</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox" >
<property name="enabled" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Scale</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_2" >
<property name="enabled" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3" >
<property name="sizeConstraint" >
<enum>QLayout::SetFixedSize</enum>
<spacer name="horizontalSpacer" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="margin" >
<number>5</number>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
<item>
<widget class="QWidget" native="1" name="render_area" />
</item>
<item>
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
</layout>
</spacer>
</item>
<item>
<widget class="Line" name="line_3" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_6" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Temporal Selection</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_5" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Filters...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton_3" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Colors...</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>...</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox" >
<property name="geometry" >
<rect>
<x>0</x>
<y>430</y>
<width>171</width>
<height>121</height>
</rect>
</property>
<property name="title" >
<string>Trace Resume</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_2" >
<property name="geometry" >
<rect>
<x>180</x>
<y>430</y>
<width>621</width>
<height>121</height>
</rect>
</property>
<property name="title" >
<string>Selection Informations</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout" >
<item>
<widget class="QWidget" native="1" name="render_area" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="mouseTracking" >
<bool>false</bool>
</property>
<property name="styleSheet" >
<string notr="true" >background-color: qlineargradient(spread:pad, x1:0.453, y1:0.0799545, x2:0.466667, y2:0.932, stop:0 rgba(250, 250, 250, 125), stop:1 rgba(250, 250, 250, 0));</string>
</property>
<zorder>horizontalLayoutWidget_2</zorder>
<zorder>widget</zorder>
<zorder>dock</zorder>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>812</width>
<width>1018</width>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menuFile" >
<property name="title" >
<string>File</string>
<string>&amp;File</string>
</property>
<widget class="QMenu" name="menuRecent_files" >
<property name="title" >
<string>Recent Files</string>
</property>
<addaction name="actionClear_Menu" />
</widget>
<addaction name="actionLoad" />
<addaction name="menuRecent_files" />
<addaction name="separator" />
<addaction name="actionSave_As_Template" />
<addaction name="actionLoad_Template" />
<addaction name="separator" />
<addaction name="actionPrint" />
<addaction name="actionSave_Image" />
<addaction name="open" />
<addaction name="separator" />
<addaction name="actionClose_2" />
<addaction name="close" />
<addaction name="separator" />
<addaction name="actionQuit" />
<addaction name="quit" />
</widget>
<widget class="QMenu" name="menuTrace" >
<widget class="QMenu" name="menuHelp" >
<property name="title" >
<string>Trace</string>
<string>&amp;Help</string>
</property>
<addaction name="actionEdit_Template" />
<addaction name="actionEdit_Conteners" />
<addaction name="separator" />
<addaction name="actionView_Filters" />
<addaction name="help" />
<addaction name="separator" />
<addaction name="actionTrace_Statistics" />
<addaction name="about" />
</widget>
<widget class="QMenu" name="menuView" >
<property name="title" >
<string>View</string>
</property>
<addaction name="actionZoom" />
<addaction name="separator" />
<addaction name="actionTemporal_Zoom_In" />
<addaction name="actionTemporal_Zoom_Out" />
<addaction name="separator" />
<addaction name="actionVertical_Zoom_In" />
<addaction name="actionVertical_Zoom_Out" />
<addaction name="separator" />
<addaction name="actionPreferences" />
</widget>
<widget class="QMenu" name="menuHelp" >
<property name="title" >
<string>Help</string>
<string>&amp;View</string>
</property>
<addaction name="actionHelp" />
<addaction name="actionAbout_ViTE" />
<addaction name="fullscreen" />
</widget>
<addaction name="menuFile" />
<addaction name="menuTrace" />
<addaction name="menuView" />
<addaction name="menuHelp" />
</widget>
<widget class="QStatusBar" name="statusbar" />
<action name="actionLoad" >
<property name="text" >
<string>Open...</string>
</property>
</action>
<action name="actionClose" >
<property name="text" >
<string>Close trace</string>
</property>
</action>
<action name="actionExport" >
<property name="text" >
<string>Save configuration...</string>
</property>
</action>
<action name="actionExport_view" >
<property name="text" >
<string>Export view...</string>
<action name="open" >
<property name="icon" >
<iconset resource="vite.qrc" >
<normaloff>:/icon_menu/folder_yellow_open.png</normaloff>:/icon_menu/folder_yellow_open.png</iconset>
</property>
</action>
<action name="actionCopy" >
<property name="text" >
<string>Cut</string>
</property>
</action>
<action name="actionPaste" >
<property name="text" >
<string>Copy</string>
<string>&amp;Open</string>
</property>
</action>
<action name="actionPaste_2" >
<action name="close" >
<property name="text" >
<string>Paste</string>
<string>&amp;Close</string>
</property>
</action>
<action name="actionClear_Menu" >
<property name="text" >
<string>Clear Menu</string>
</property>
</action>
<action name="actionSave_As_Template" >
<property name="text" >
<string>Save Template...</string>
<action name="quit" >
<property name="icon" >
<iconset resource="vite.qrc" >
<normaloff>:/icon_menu/no.png</normaloff>:/icon_menu/no.png</iconset>
</property>
</action>
<action name="actionPrint" >
<property name="text" >
<string>Print...</string>
<string>&amp;Quit</string>
</property>
</action>
<action name="actionSave_Image" >
<property name="text" >
<string>Export Image...</string>
<action name="help" >
<property name="checkable" >
<bool>false</bool>
</property>
</action>
<action name="actionClose_2" >
<property name="text" >
<string>Close</string>
<property name="icon" >
<iconset resource="vite.qrc" >
<normaloff>:/icon_menu/help_index.png</normaloff>:/icon_menu/help_index.png</iconset>
</property>
</action>
<action name="actionQuit" >
<property name="text" >
<string>Quit</string>
<string>&amp;Help</string>
</property>
</action>
<action name="actionPreferencies" >
<property name="text" >
<string>Preferences...</string>
<action name="about" >
<property name="checkable" >
<bool>false</bool>
</property>
</action>
<action name="actionEdit_Template" >
<property name="text" >
<string>Edit Colors...</string>
<string>&amp;About ViTE</string>
</property>
</action>
<action name="actionEdit_Conteners" >
<property name="text" >
<string>Edit Conteners...</string>
<action name="fullscreen" >
<property name="checkable" >
<bool>true</bool>
</property>
</action>
<action name="actionView_Filters" >
<property name="text" >
<string>Set Filters...</string>
</property>
</action>
<action name="actionTrace_Statistics" >
<property name="text" >
<string>Trace Statistics...</string>
</property>
</action>
<action name="actionZoom" >
<property name="text" >
<string>Zoom...</string>
</property>
</action>
<action name="actionTemporal_Zoom_In" >
<property name="text" >
<string>Temporal Zoom In</string>
</property>
</action>
<action name="actionTemporal_Zoom_Out" >
<property name="text" >
<string>Temporal Zoom Out</string>
</property>
</action>
<action name="actionVertical_Zoom_In" >
<property name="text" >
<string>Vertical Zoom In</string>
</property>
</action>
<action name="actionVertical_Zoom_Out" >
<property name="text" >
<string>Vertical Zoom Out</string>
</property>
</action>
<action name="actionPreferences" >
<property name="text" >
<string>Preferences...</string>
</property>
</action>
<action name="actionHelp" >
<property name="text" >
<string>Help</string>
</property>
</action>
<action name="actionAbout_ViTE" >
<property name="text" >
<string>About ViTE</string>
</property>
</action>
<action name="actionLoad_Template" >
<property name="text" >
<string>Load Template...</string>
<string>&amp;Fullscreen</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>QGLWidget</class>