• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

rocs/VisualEditor

Public Types | Public Slots | Public Member Functions | List of all members
AssignValueAction Class Reference

#include <AssignValueAction.h>

Inheritance diagram for AssignValueAction:
Inheritance graph
[legend]

Public Types

enum  AssignMethod { Enumerate, RandomInteger, RandomReal }
 

Public Slots

void assignRandomIntegersDataStructure ()
 
void assignRandomIntegersSelected ()
 
void assignRandomRealsDataStructure ()
 
void assignRandomRealsSelected ()
 
void enumerateDataStructure ()
 
void enumerateSelected ()
 

Public Member Functions

 AssignValueAction (const QString &name, GraphScene *scene, AssignMethod method, QWidget *parent)
 
 AssignValueAction (const QString &name, GraphScene *scene, AssignMethod method, DataStructurePtr ds, QWidget *parent)
 

Detailed Description

Definition at line 29 of file AssignValueAction.h.

Member Enumeration Documentation

enum AssignValueAction::AssignMethod
Enumerator
Enumerate 
RandomInteger 
RandomReal 

Definition at line 34 of file AssignValueAction.h.

Constructor & Destructor Documentation

AssignValueAction::AssignValueAction ( const QString &  name,
GraphScene *  scene,
AssignMethod  method,
QWidget *  parent 
)

Creates a new assign value action that assigns values to selected data items.

Parameters
nameof the action
graphscenethat contains the data items for the context menu
methodhow values shall be assigned
parentthe parent widget

Definition at line 32 of file AssignValueAction.cpp.

AssignValueAction::AssignValueAction ( const QString &  name,
GraphScene *  scene,
AssignMethod  method,
DataStructurePtr  ds,
QWidget *  parent 
)

Creates a new assign value action.

If a DataStructure is set all data values of this DataStructure are updated according to the specified. Else the currently selected set of nodes is aligned.

Parameters
nameof the action
graphscenethat contains the data items for the context menu
methodhow values shall be assigned
dsdata structure from which all data values shall be overwritten
parentthe parent widget

Definition at line 52 of file AssignValueAction.cpp.

Member Function Documentation

void AssignValueAction::assignRandomIntegersDataStructure ( )
slot

Definition at line 96 of file AssignValueAction.cpp.

void AssignValueAction::assignRandomIntegersSelected ( )
slot

Definition at line 107 of file AssignValueAction.cpp.

void AssignValueAction::assignRandomRealsDataStructure ( )
slot

Definition at line 121 of file AssignValueAction.cpp.

void AssignValueAction::assignRandomRealsSelected ( )
slot

Definition at line 132 of file AssignValueAction.cpp.

void AssignValueAction::enumerateDataStructure ( )
slot

Definition at line 73 of file AssignValueAction.cpp.

void AssignValueAction::enumerateSelected ( )
slot

Definition at line 83 of file AssignValueAction.cpp.


The documentation for this class was generated from the following files:
  • AssignValueAction.h
  • AssignValueAction.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/VisualEditor

Skip menu "rocs/VisualEditor"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal