9 #include "uiMedDataQt/config.hpp" 11 #include <fwCom/Signal.hpp> 12 #include <fwCom/Signals.hpp> 13 #include <fwCom/Slot.hpp> 14 #include <fwCom/Slots.hpp> 16 #include <fwData/Reconstruction.hpp> 18 #include <fwGui/editor/IEditor.hpp> 20 #include <fwTools/Failed.hpp> 24 #include <QPushButton> 28 class QListWidgetItem;
29 class QTreeWidgetItem;
105 virtual
void starting() override;
108 virtual
void stopping() override;
110 virtual
void updating() override;
112 virtual
void swapping() override;
115 virtual
void configuring() override;
129 void updateReconstructions();
133 static const ::
fwCom::Signals::SignalKeyType s_RECONSTRUCTION_SELECTED_SIG;
135 static const ::
fwCom::Signals::SignalKeyType s_EMPTIED_SELECTION_SIG;
137 static const ::
fwCom::Slots::SlotKeyType s_SHOW_RECONSTRUCTIONS_SLOT;
143 void onCurrentItemChanged ( QTreeWidgetItem* current, QTreeWidgetItem* previous );
145 void onCurrentItemChanged ( QTreeWidgetItem* current,
int column );
147 void onShowReconstructions(
int state);
149 void onOrganChoiceVisibility(QTreeWidgetItem* item,
int column);
151 void onCheckAllCheckBox();
152 void onUnCheckAllCheckBox();
157 void showReconstructions(
bool show);
159 void refreshVisibility();
161 void onCheckAllBoxes(
bool visible);
163 QPointer<QPushButton> m_checkAllButton;
164 QPointer<QPushButton> m_unCheckAllButton;
166 QPointer< QCheckBox > m_showCheckBox;
167 QPointer< QTreeWidget > m_tree;
168 DisplayedInformation m_displayedInfo;
170 bool m_enableHideAll;
173 ReconstructionSelectedSignalType::sptr m_sigReconstructionSelected;
176 EmptiedSelectionSignalType::sptr m_sigEmptiedSelection;
179 ShowReconstructionsSlotType::sptr m_slotShowReconstuctions;
The namespace uiMedDataQt contains editors for medical data.
This class is a helper to define the connections of a service and its data.
Namespace containing fw4spl communication tools.
Defines the service interface managing the editor service for object.
::fwCom::helper::SigSlotConnection::KeyConnectionsType KeyConnectionsType
Returns proposals to connect service slots to associated object signals, this method is used for obj/...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.
Editor displaying the list of the organs in a ModelSeries.