File: multiSelect.pro

package info (click to toggle)
libqglviewer 2.8.0%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,092 kB
  • sloc: cpp: 25,884; makefile: 24; sh: 14
file content (25 lines) | stat: -rw-r--r-- 1,104 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Customized <code>select()</code> function that enables the selection of several objects.

# Object selection is preformed using the left mouse button. Press <b>Shift</b> to add objects to
# the selection, and <b>Alt</b> to remove objects from the selection.

# Individual objects (click on them) as well as rectangular regions (click and drag mouse) can be
# selected. To do this, the selection region size is modified and the <code>endSelection()</code>
# function has been overloaded so that <i>all</i> the objects of the region are taken into account
# (the default implementation only selects the closest object).

# The selected objects can then be manipulated by pressing the <b>Control</b> key. Other set
# operations (parameter edition, deletion...) can also easily be applied to the selected objects.

TEMPLATE = app
TARGET   = multiSelect

HEADERS  = multiSelect.h manipulatedFrameSetConstraint.h object.h
SOURCES  = multiSelect.cpp manipulatedFrameSetConstraint.cpp object.cpp main.cpp

# Since we use gluCylinder
!macx|darwin-g++ {
	QMAKE_LIBS_OPENGL *= -lGLU
}

include( ../examples.pri )