DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <ObjectCreator.hpp>
Signals | |
void | stateChanged () |
Public Member Functions | |
~ObjectCreator () | |
ObjectCreator (dunedaq::conffwk::class_t const &classinfo, QWidget *parent=0) | |
ObjectCreator (tref const &clonefrom, dunedaq::conffwk::relationship_t const &relation, QWidget *parent=0) | |
ObjectCreator (tref const &clonefrom, QWidget *parent=0) | |
bool | CanClose () |
Private Slots | |
void | AddInclude () |
void | UpdateActions () |
void | UpdateActions (QString) |
void | CreateObject (bool openEditor=false) |
void | CreateOpenObject () |
void | SetObjectChanged () |
void | ActiveFileChanged (QString const &) |
void | MustPressReturn (QString const &) |
void | SetUID () |
Private Member Functions | |
void | setup_editor () |
void | setup_copy_editor () |
void | SetComboClass () |
void | SetController () |
void | BuildFileModel () |
void | SetStatusBar () |
QString | GetMessage () |
bool | GetState (int Flags) |
void | BuildContextMenu () |
void | FillUidComboBox () |
void | closeEvent (QCloseEvent *event) |
Private Attributes | |
std::unique_ptr< dbe::Ui::ObjectCreator > | ui |
dunedaq::conffwk::class_t | this_object_class |
std::unique_ptr< tref > | this_src_object |
std::unique_ptr< tref > | this_target_object |
dunedaq::conffwk::relationship_t | this_relation |
QSortFilterProxyModel | this_sort |
FileModel * | this_files |
QStatusBar * | this_status_bar |
int | this_state |
bool | UidSet |
QString | this_newuid |
QString | this_file_for_new_object |
ObjectEditor * | this_associated_editor |
QMenu * | ContextMenu |
bool | this_is_temporary |
bool | this_object_changed |
bool | this_create_copy |
QUuid const | uuid |
Definition at line 24 of file ObjectCreator.hpp.
|
default |
dbe::ObjectCreator::ObjectCreator | ( | dunedaq::conffwk::class_t const & | classinfo, |
QWidget * | parent = 0 ) |
Create a new object of class
classinfo | describes the class for which an object is to be created |
parent | of this widget |
Definition at line 40 of file ObjectCreator.cpp.
dbe::ObjectCreator::ObjectCreator | ( | tref const & | clonefrom, |
dunedaq::conffwk::relationship_t const & | relation, | ||
QWidget * | parent = 0 ) |
Clone an object of a given relation type
anobject | is a reference to another object |
relation | is a relation to set |
parent | of this widget |
Definition at line 100 of file ObjectCreator.cpp.
dbe::ObjectCreator::ObjectCreator | ( | tref const & | clonefrom, |
QWidget * | parent = 0 ) |
Clone from a given object
copyfrom | is the object to copy from |
parent |
Setting the same file as the object being copied
Definition at line 114 of file ObjectCreator.cpp.
|
privateslot |
Definition at line 451 of file ObjectCreator.cpp.
|
privateslot |
Definition at line 371 of file ObjectCreator.cpp.
|
private |
Definition at line 364 of file ObjectCreator.cpp.
|
private |
Definition at line 230 of file ObjectCreator.cpp.
bool dbe::ObjectCreator::CanClose | ( | ) |
Definition at line 618 of file ObjectCreator.cpp.
|
private |
Definition at line 662 of file ObjectCreator.cpp.
|
privateslot |
Called from ui when the create button has been pressed
Definition at line 407 of file ObjectCreator.cpp.
|
privateslot |
Definition at line 403 of file ObjectCreator.cpp.
|
private |
Definition at line 374 of file ObjectCreator.cpp.
|
private |
Definition at line 332 of file ObjectCreator.cpp.
|
private |
Definition at line 359 of file ObjectCreator.cpp.
|
privateslot |
Definition at line 609 of file ObjectCreator.cpp.
|
private |
Definition at line 183 of file ObjectCreator.cpp.
|
private |
Definition at line 200 of file ObjectCreator.cpp.
|
privateslot |
Definition at line 446 of file ObjectCreator.cpp.
|
private |
Definition at line 248 of file ObjectCreator.cpp.
|
privateslot |
Definition at line 576 of file ObjectCreator.cpp.
|
private |
Definition at line 539 of file ObjectCreator.cpp.
|
private |
To anyone wondering this is a list of all the uids that cannot be used(at some point i thought this could be useful to show to the user) // – that was a very stupid idea!
Definition at line 473 of file ObjectCreator.cpp.
|
signal |
|
privateslot |
Definition at line 258 of file ObjectCreator.cpp.
|
privateslot |
Definition at line 326 of file ObjectCreator.cpp.
|
private |
Definition at line 110 of file ObjectCreator.hpp.
|
private |
Definition at line 109 of file ObjectCreator.hpp.
|
private |
Definition at line 114 of file ObjectCreator.hpp.
|
private |
Definition at line 108 of file ObjectCreator.hpp.
|
private |
Definition at line 100 of file ObjectCreator.hpp.
|
private |
Definition at line 112 of file ObjectCreator.hpp.
|
private |
Definition at line 107 of file ObjectCreator.hpp.
|
private |
Definition at line 113 of file ObjectCreator.hpp.
|
private |
Definition at line 93 of file ObjectCreator.hpp.
|
private |
Definition at line 97 of file ObjectCreator.hpp.
|
private |
Definition at line 99 of file ObjectCreator.hpp.
|
private |
Definition at line 95 of file ObjectCreator.hpp.
|
private |
Definition at line 104 of file ObjectCreator.hpp.
|
private |
Definition at line 102 of file ObjectCreator.hpp.
|
private |
Definition at line 96 of file ObjectCreator.hpp.
|
private |
Definition at line 91 of file ObjectCreator.hpp.
|
private |
Definition at line 106 of file ObjectCreator.hpp.
|
private |
Definition at line 116 of file ObjectCreator.hpp.