2008-05-16 10:28:39 -05:00
|
|
|
|
|
|
|
include ( ${QT_USE_FILE} )
|
|
|
|
|
2010-06-08 07:02:03 -05:00
|
|
|
include_directories ( ${HURRICANE_SOURCE_DIR}/src/hurricane
|
2010-07-06 05:10:50 -05:00
|
|
|
${HURRICANE_SOURCE_DIR}/src/isobar
|
2010-06-08 07:02:03 -05:00
|
|
|
${HURRICANE_SOURCE_DIR}/src/viewer
|
2010-06-18 09:01:08 -05:00
|
|
|
${CONFIGURATION_INCLUDE_DIR}
|
|
|
|
${Boost_INCLUDE_DIRS}
|
2010-07-06 05:10:50 -05:00
|
|
|
${PYTHON_INCLUDE_PATH}
|
2010-06-18 09:01:08 -05:00
|
|
|
)
|
2008-05-16 10:28:39 -05:00
|
|
|
|
2009-01-18 15:17:43 -06:00
|
|
|
set ( mocincludes hurricane/viewer/HApplication.h
|
|
|
|
hurricane/viewer/PaletteItem.h
|
2008-11-26 03:35:07 -06:00
|
|
|
hurricane/viewer/PaletteNamedItem.h
|
|
|
|
hurricane/viewer/PaletteLayerItem.h
|
2008-12-12 07:28:19 -06:00
|
|
|
hurricane/viewer/PaletteExtensionGoItem.h
|
2008-11-26 03:35:07 -06:00
|
|
|
hurricane/viewer/PaletteWidget.h
|
2008-11-26 04:13:31 -06:00
|
|
|
hurricane/viewer/GraphicsWidget.h
|
2009-01-18 15:17:43 -06:00
|
|
|
hurricane/viewer/ExceptionWidget.h
|
2009-01-09 09:18:26 -06:00
|
|
|
hurricane/viewer/BreakpointWidget.h
|
* ./hurricane:
- Bug: In PaletteWidget, do not derive from QScrollArea. Instead uses it
as a child widget. This solves the refreshing problem of the Palette.
As a rule now: never derives from anything other than QWidget.
- New: GotoWidget, not having this feature finally unverved me enough for
beeing implemented. You can specify an (x,y) on which the view will
be centered and an aperture which gives the size of the view smallest
side. It's a way of specifying the zoom level (as the zoom is not
meaningful for users). An aperture of "zero" disable that feature,
that is, zoom remains unchanged. The coordinates are integer which
are implicitly expressed in the current mode used by the viewer
(Symbolic, Grid, or Physical in micro-meters).
- Change: Big rewrite of how the Symbolic/Grid/Physical modes are sets
to/from the CellWidget. Impacted widgets are CellWidget &
DisplayFilterWidget.
Main changes are that there is no more "individual" setter/getter for
modes (setSymbolic(), setGrid(), setPhysical(DbU::UnitPower)) but one
with two arguments:
setDbuMode(int mode,DbU::UnitPower)
Signals & slots of the widgets also evolves into:
dbuModeChanged(int mode,DbU::UnitPower)
changeDbuMode (int mode,DbU::UnitPower)
2010-04-26 08:22:23 -05:00
|
|
|
hurricane/viewer/GotoWidget.h
|
2008-07-02 08:31:50 -05:00
|
|
|
hurricane/viewer/DynamicLabel.h
|
2008-11-26 04:13:31 -06:00
|
|
|
hurricane/viewer/MousePositionWidget.h
|
2008-09-01 09:47:50 -05:00
|
|
|
hurricane/viewer/SelectCommand.h
|
2008-05-21 17:45:47 -05:00
|
|
|
hurricane/viewer/CellWidget.h
|
|
|
|
hurricane/viewer/CellViewer.h
|
2012-11-16 06:48:38 -06:00
|
|
|
hurricane/viewer/CellPrinter.h
|
|
|
|
hurricane/viewer/CellImage.h
|
2008-06-18 10:51:45 -05:00
|
|
|
hurricane/viewer/RecordModel.h
|
2008-11-26 04:13:31 -06:00
|
|
|
hurricane/viewer/InspectorWidget.h
|
|
|
|
hurricane/viewer/SelectionPopupModel.h
|
|
|
|
hurricane/viewer/SelectionPopup.h
|
|
|
|
hurricane/viewer/SelectionModel.h
|
|
|
|
hurricane/viewer/SelectionWidget.h
|
|
|
|
hurricane/viewer/NetlistModel.h
|
|
|
|
hurricane/viewer/NetlistWidget.h
|
|
|
|
hurricane/viewer/DisplayFilterWidget.h
|
2008-11-26 03:35:07 -06:00
|
|
|
hurricane/viewer/ControllerWidget.h
|
2010-07-06 05:10:50 -05:00
|
|
|
hurricane/viewer/ScriptWidget.h
|
2010-08-26 17:01:12 -05:00
|
|
|
hurricane/viewer/StratusWidget.h
|
2008-05-16 10:28:39 -05:00
|
|
|
)
|
2010-07-14 14:39:36 -05:00
|
|
|
set ( includes hurricane/viewer/ScreenUtilities.h
|
2008-05-21 17:45:47 -05:00
|
|
|
hurricane/viewer/DisplayStyle.h
|
2008-10-21 08:49:48 -05:00
|
|
|
hurricane/viewer/ColorScale.h
|
2008-05-21 17:45:47 -05:00
|
|
|
hurricane/viewer/Graphics.h
|
2008-07-10 04:22:36 -05:00
|
|
|
hurricane/viewer/Selector.h
|
2010-07-14 14:39:36 -05:00
|
|
|
hurricane/viewer/Ruler.h
|
2008-09-01 09:47:50 -05:00
|
|
|
hurricane/viewer/Command.h
|
|
|
|
hurricane/viewer/AreaCommand.h
|
|
|
|
hurricane/viewer/MoveCommand.h
|
|
|
|
hurricane/viewer/ZoomCommand.h
|
2009-04-15 11:09:18 -05:00
|
|
|
hurricane/viewer/RulerCommand.h
|
2008-09-01 09:47:50 -05:00
|
|
|
hurricane/viewer/SelectCommand.h
|
2009-01-30 08:52:05 -06:00
|
|
|
hurricane/viewer/HierarchyCommand.h
|
2008-11-28 17:20:07 -06:00
|
|
|
hurricane/viewer/SelectorCriterion.h
|
2008-07-10 04:22:36 -05:00
|
|
|
hurricane/viewer/CellWidgets.h
|
2010-11-02 11:05:29 -05:00
|
|
|
hurricane/viewer/StratusScript.h
|
2010-07-14 14:39:36 -05:00
|
|
|
)
|
2012-11-16 06:48:38 -06:00
|
|
|
set ( pyincludes hurricane/viewer/PyHSVr.h
|
|
|
|
hurricane/viewer/PyDrawingStyle.h
|
|
|
|
hurricane/viewer/PyDrawingGroup.h
|
|
|
|
hurricane/viewer/PyDisplayStyle.h
|
|
|
|
hurricane/viewer/PyHApplication.h
|
|
|
|
hurricane/viewer/PyGraphics.h
|
|
|
|
hurricane/viewer/PyCellViewer.h
|
2008-05-16 10:28:39 -05:00
|
|
|
)
|
2009-01-18 15:17:43 -06:00
|
|
|
set ( cpps HApplication.cpp
|
|
|
|
ScreenUtilities.cpp
|
2008-05-16 10:28:39 -05:00
|
|
|
DisplayStyle.cpp
|
2008-10-21 08:49:48 -05:00
|
|
|
ColorScale.cpp
|
2008-05-16 10:28:39 -05:00
|
|
|
Graphics.cpp
|
2008-11-26 04:13:31 -06:00
|
|
|
GraphicsWidget.cpp
|
2009-01-18 15:17:43 -06:00
|
|
|
ExceptionWidget.cpp
|
2009-01-09 09:18:26 -06:00
|
|
|
BreakpointWidget.cpp
|
* ./hurricane:
- Bug: In PaletteWidget, do not derive from QScrollArea. Instead uses it
as a child widget. This solves the refreshing problem of the Palette.
As a rule now: never derives from anything other than QWidget.
- New: GotoWidget, not having this feature finally unverved me enough for
beeing implemented. You can specify an (x,y) on which the view will
be centered and an aperture which gives the size of the view smallest
side. It's a way of specifying the zoom level (as the zoom is not
meaningful for users). An aperture of "zero" disable that feature,
that is, zoom remains unchanged. The coordinates are integer which
are implicitly expressed in the current mode used by the viewer
(Symbolic, Grid, or Physical in micro-meters).
- Change: Big rewrite of how the Symbolic/Grid/Physical modes are sets
to/from the CellWidget. Impacted widgets are CellWidget &
DisplayFilterWidget.
Main changes are that there is no more "individual" setter/getter for
modes (setSymbolic(), setGrid(), setPhysical(DbU::UnitPower)) but one
with two arguments:
setDbuMode(int mode,DbU::UnitPower)
Signals & slots of the widgets also evolves into:
dbuModeChanged(int mode,DbU::UnitPower)
changeDbuMode (int mode,DbU::UnitPower)
2010-04-26 08:22:23 -05:00
|
|
|
GotoWidget.cpp
|
2008-11-26 03:35:07 -06:00
|
|
|
PaletteItem.cpp
|
|
|
|
PaletteNamedItem.cpp
|
|
|
|
PaletteLayerItem.cpp
|
2008-12-12 07:28:19 -06:00
|
|
|
PaletteExtensionGoItem.cpp
|
2008-11-26 03:35:07 -06:00
|
|
|
PaletteWidget.cpp
|
2008-07-02 08:31:50 -05:00
|
|
|
DynamicLabel.cpp
|
2008-11-26 04:13:31 -06:00
|
|
|
MousePositionWidget.cpp
|
2008-07-10 04:22:36 -05:00
|
|
|
Selector.cpp
|
2008-09-01 09:47:50 -05:00
|
|
|
Command.cpp
|
|
|
|
AreaCommand.cpp
|
|
|
|
MoveCommand.cpp
|
|
|
|
ZoomCommand.cpp
|
2009-04-15 11:09:18 -05:00
|
|
|
RulerCommand.cpp
|
2008-09-01 09:47:50 -05:00
|
|
|
SelectCommand.cpp
|
2009-01-30 08:52:05 -06:00
|
|
|
HierarchyCommand.cpp
|
2008-11-28 17:20:07 -06:00
|
|
|
SelectorCriterion.cpp
|
2008-05-16 10:28:39 -05:00
|
|
|
CellWidget.cpp
|
|
|
|
CellViewer.cpp
|
2012-11-16 06:48:38 -06:00
|
|
|
CellPrinter.cpp
|
|
|
|
CellImage.cpp
|
2008-06-18 10:51:45 -05:00
|
|
|
RecordModel.cpp
|
2008-11-26 04:13:31 -06:00
|
|
|
InspectorWidget.cpp
|
|
|
|
SelectionPopupModel.cpp
|
|
|
|
SelectionPopup.cpp
|
|
|
|
SelectionModel.cpp
|
|
|
|
SelectionWidget.cpp
|
2009-04-15 11:09:18 -05:00
|
|
|
Ruler.cpp
|
2008-07-10 04:22:36 -05:00
|
|
|
NetInformations.cpp
|
2008-11-26 04:13:31 -06:00
|
|
|
NetlistModel.cpp
|
|
|
|
NetlistWidget.cpp
|
|
|
|
DisplayFilterWidget.cpp
|
2008-11-26 03:35:07 -06:00
|
|
|
ControllerWidget.cpp
|
2010-07-06 05:10:50 -05:00
|
|
|
ScriptWidget.cpp
|
2010-11-02 11:05:29 -05:00
|
|
|
StratusScript.cpp
|
2010-08-26 17:01:12 -05:00
|
|
|
StratusWidget.cpp
|
2008-05-16 10:28:39 -05:00
|
|
|
)
|
2012-11-16 06:48:38 -06:00
|
|
|
set ( pycpps PyHSVr.cpp
|
|
|
|
PyDrawingStyle.cpp
|
|
|
|
PyDrawingGroup.cpp
|
|
|
|
PyDisplayStyle.cpp
|
|
|
|
PyHApplication.cpp
|
|
|
|
PyGraphics.cpp
|
|
|
|
PyViewer.cpp
|
2010-07-14 14:39:36 -05:00
|
|
|
PyCellViewer.cpp
|
|
|
|
)
|
2010-07-15 06:13:24 -05:00
|
|
|
# source2 & include2 for module that are *not* Python wrappers but true
|
|
|
|
# Hurricane modules.
|
|
|
|
set ( sources2 Script.cpp )
|
|
|
|
set ( includes2 hurricane/viewer/Script.h )
|
2008-05-16 10:28:39 -05:00
|
|
|
|
|
|
|
qt4_wrap_cpp ( MOC_SRCS ${mocincludes} )
|
|
|
|
qt4_add_resources ( RCC_SRCS CellViewer.qrc )
|
|
|
|
|
2010-07-15 06:13:24 -05:00
|
|
|
add_library ( viewer ${cpps} ${MOC_SRCS} ${RCC_SRCS} ${sources2} ${pycpps} )
|
2011-02-02 16:25:07 -06:00
|
|
|
set_target_properties ( viewer PROPERTIES VERSION 1.0 SOVERSION 1 )
|
2011-03-10 05:27:21 -06:00
|
|
|
target_link_libraries ( viewer hurricane isobar ${CONFIGURATION_LIBRARY} ${LIBXML2_LIBRARIES} ${Boost_LIBRARIES} ${QT_LIBRARIES} )
|
2010-07-15 06:13:24 -05:00
|
|
|
add_library ( pyViewer MODULE ${pycpps} )
|
|
|
|
target_link_libraries ( pyViewer viewer )
|
|
|
|
set_target_properties ( pyViewer PROPERTIES
|
2010-07-14 14:39:36 -05:00
|
|
|
COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
2010-07-15 06:13:24 -05:00
|
|
|
OUTPUT_NAME "Viewer"
|
2010-07-14 14:39:36 -05:00
|
|
|
PREFIX ""
|
|
|
|
)
|
|
|
|
|
2010-07-12 10:07:58 -05:00
|
|
|
|
2010-07-14 14:39:36 -05:00
|
|
|
install ( FILES ${includes}
|
2010-07-15 06:13:24 -05:00
|
|
|
${includes2}
|
2010-07-14 14:39:36 -05:00
|
|
|
${mocincludes}
|
|
|
|
${pyincludes} DESTINATION include/coriolis2/hurricane/viewer )
|
|
|
|
install ( TARGETS viewer DESTINATION lib${LIB_SUFFIX} )
|
2010-07-15 06:13:24 -05:00
|
|
|
install ( TARGETS pyViewer DESTINATION ${PYTHON_SITE_PACKAGES} )
|