|
| Selection (QObject *parent) |
| Create an empty selection that is not a GUI selection. More...
|
|
| Selection (QObject *parent, bool guiSelection) |
| Create an empty selection that may be a GUI selection. More...
|
|
| Selection (const Selection &other) |
| Copy a selection. More...
|
|
Selection & | operator= (const Selection &) |
|
void | copy (Selection &other, bool emptyOther) |
| Copy the selection of items from one selection to another.
|
|
bool | connectItemToGUI () |
|
bool | disconnectAllItemsFromGUI () |
| Disconnect all items from the GUI slots. This should not really be necessary if all things are going ok except for within the clearAll function. More...
|
|
bool | addItem (PageItem *item, bool ignoreGUI=false) |
| Add an item to the selection. If its added to a GUI selection selection and its item 0, its connected to the GUI too. More...
|
|
bool | prependItem (PageItem *item, bool doEmit=true) |
| Prepend an item to the selection. If its added to a GUI selection selection and its item 0, its connected to the GUI too. More...
|
|
bool | containsItem (PageItem *item) const |
|
bool | addGroup () |
| Unused.
|
|
bool | removeItem (PageItem *item) |
| Remove an item from list. More...
|
|
bool | removeFirst () |
| Remove the first item from the list. More...
|
|
bool | removeGroup () |
| Unused.
|
|
PageItem * | takeItem (int itemIndex) |
| Remove an item from list listNumber and return a pointer to it. More...
|
|
int | findItem (PageItem *item) const |
| Find an item from the selection and return an index to it. More...
|
|
int | count () const |
| Return the count of the selection.
|
|
bool | isEmpty () const |
| Check if the selection is empty.
|
|
bool | clear () |
| Clear a list.
|
|
bool | primarySelectionIs (const PageItem *item) const |
| See if the first selected item is "me", usually called from an item object with "this". More...
|
|
const SelectionList & | selectionList () const |
|
PageItem * | itemAt (int index=0) |
|
const PageItem * | itemAt (int index=0) const |
|
QList< PageItem * > | items () const |
|
QStringList | getSelectedItemsByName () const |
|
bool | isMultipleSelection () const |
|
bool | isGUISelection () const |
|
double | width () const |
|
double | height () const |
|
void | setGroupRect () |
|
void | getGroupRect (double *x, double *y, double *w, double *h) |
|
QRectF | getGroupRect () |
|
void | getVisualGroupRect (double *x, double *y, double *w, double *h) |
|
QRectF | getVisualGroupRect () |
|
bool | itemsAreSameType () const |
| Test to see if all items in the selection are the same typedef.
|
|
int | objectsLayer (void) const |
| get the layer ID of items in the selection More...
|
|
bool | objectsHaveSameParent (void) const |
| detect if selected object have all same parent (doc or group) More...
|
|
bool | signalsDelayed (void) |
|
void | delaySignalsOn (void) |
|
void | delaySignalsOff (void) |
|