#include <TGo4ParaEdit.h>
Public Types | |
enum | ParEditColumns { fiColName = 0, fiColType = 1, fiColValue = 2, fiColComment = 3 } |
Public Slots | |
virtual void | clearTextFields () |
virtual void | ChangedTable (int row, int col) |
virtual void | TableDoubleClick (int row, int col) |
virtual void | ContextMenu (const QPoint &) |
virtual void | ExpandShrinkArray () |
virtual void | IncArrayIndex () |
virtual void | DecArrayIndex () |
virtual void | EditFitter () |
virtual void | GetFitterFromEditor () |
virtual void | saveFile () |
virtual void | RefreshClicked () |
virtual void | ApplyClicked () |
Public Member Functions | |
TGo4ParaEdit (QWidget *parent=0, const char *name=0) | |
virtual | ~TGo4ParaEdit () |
virtual bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) |
virtual void | DropItem (const char *itemname, TClass *cl, int kind) |
virtual void | linkedObjectUpdated (const char *linkname, TObject *obj) |
virtual void | linkedObjectRemoved (const char *linkname) |
virtual void | WorkWithParameter (const char *itemname, bool isrefresh) |
virtual void | ResetWidget () |
virtual void | RefreshWidget (TGo4Parameter *par) |
virtual void | RefreshWidget (TGo4ParameterStatus *parstatus) |
virtual void | ShowVisibleItems () |
Protected Attributes | |
int | fiCurrentRow |
TObjArray * | fItems |
QString | fItemName |
bool | fFillingTable |
Definition at line 30 of file TGo4ParaEdit.h.
Definition at line 36 of file TGo4ParaEdit.h.
TGo4ParaEdit::TGo4ParaEdit | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 39 of file TGo4ParaEdit.cpp.
References fFillingTable, fItemName, and fItems.
TGo4ParaEdit::~TGo4ParaEdit | ( | ) | [virtual] |
Definition at line 57 of file TGo4ParaEdit.cpp.
References fItems.
void TGo4ParaEdit::ApplyClicked | ( | ) | [virtual, slot] |
Definition at line 491 of file TGo4ParaEdit.cpp.
References QGo4Widget::Browser(), QGo4Widget::BrowserItemRemote(), fItemName, fItems, TGo4BrowserProxy::ItemClassName(), TGo4Slot::ProduceFolderAndName(), RefreshClicked(), and QGo4Widget::UpdateItemInAnalysis().
void TGo4ParaEdit::ChangedTable | ( | int | row, | |
int | col | |||
) | [virtual, slot] |
Definition at line 297 of file TGo4ParaEdit.cpp.
References fFillingTable, fiColValue, fItems, and TGo4ParameterMember::SetStrValue().
void TGo4ParaEdit::clearTextFields | ( | ) | [virtual, slot] |
Definition at line 283 of file TGo4ParaEdit.cpp.
References fItems, TGo4ParameterMember::SetStrValue(), and ShowVisibleItems().
void TGo4ParaEdit::ContextMenu | ( | const QPoint & | pnt | ) | [virtual, slot] |
Definition at line 323 of file TGo4ParaEdit.cpp.
References DecArrayIndex(), EditFitter(), ExpandShrinkArray(), fiCurrentRow, fItems, GetFitterFromEditor(), TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::GetObject(), IncArrayIndex(), TGo4ParameterMember::IsArrayItem(), TGo4ParameterMember::IsFitterItem(), TGo4ParameterMember::IsVisible(), and QGo4Widget::ServiceCall().
void TGo4ParaEdit::DecArrayIndex | ( | ) | [virtual, slot] |
Definition at line 395 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::SetVisible(), and ShowVisibleItems().
Referenced by ContextMenu().
void TGo4ParaEdit::DropItem | ( | const char * | itemname, | |
TClass * | cl, | |||
int | kind | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 72 of file TGo4ParaEdit.cpp.
References TGo4Access::kndGo4Param, and WorkWithParameter().
void TGo4ParaEdit::EditFitter | ( | ) | [virtual, slot] |
Definition at line 407 of file TGo4ParaEdit.cpp.
References QGo4Widget::AddSlot(), TGo4Slot::AssignObject(), QGo4Widget::EditObjectInSlot(), fiCurrentRow, fItems, TGo4ParameterMember::GetObject(), and TGo4ParameterMember::SetObject().
Referenced by ContextMenu(), and TableDoubleClick().
void TGo4ParaEdit::ExpandShrinkArray | ( | ) | [virtual, slot] |
Definition at line 369 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::IsVisible(), TGo4ParameterMember::SetVisible(), and ShowVisibleItems().
Referenced by ContextMenu(), and TableDoubleClick().
void TGo4ParaEdit::GetFitterFromEditor | ( | ) | [virtual, slot] |
Definition at line 423 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::IsFitterItem(), QGo4Widget::ServiceCall(), and TGo4ParameterMember::SetObject().
Referenced by ContextMenu().
void TGo4ParaEdit::IncArrayIndex | ( | ) | [virtual, slot] |
Definition at line 383 of file TGo4ParaEdit.cpp.
References fiCurrentRow, fItems, TGo4ParameterMember::GetMemberId(), TGo4ParameterMember::SetVisible(), and ShowVisibleItems().
Referenced by ContextMenu().
bool TGo4ParaEdit::IsAcceptDrag | ( | const char * | itemname, | |
TClass * | cl, | |||
int | kind | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 65 of file TGo4ParaEdit.cpp.
References TGo4Access::kndGo4Param.
void TGo4ParaEdit::linkedObjectRemoved | ( | const char * | linkname | ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 92 of file TGo4ParaEdit.cpp.
References QGo4Widget::ShootCloseWidget().
void TGo4ParaEdit::linkedObjectUpdated | ( | const char * | linkname, | |
TObject * | obj | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 79 of file TGo4ParaEdit.cpp.
References RefreshWidget().
void TGo4ParaEdit::RefreshClicked | ( | ) | [virtual, slot] |
Definition at line 486 of file TGo4ParaEdit.cpp.
References WorkWithParameter().
Referenced by ApplyClicked().
void TGo4ParaEdit::RefreshWidget | ( | TGo4ParameterStatus * | parstatus | ) | [virtual] |
Definition at line 198 of file TGo4ParaEdit.cpp.
References fItems, TGo4ParameterStatus::GetMemberValues(), TGo4ObjectStatus::GetObjectClass(), and ShowVisibleItems().
void TGo4ParaEdit::RefreshWidget | ( | TGo4Parameter * | par | ) | [virtual] |
Definition at line 178 of file TGo4ParaEdit.cpp.
References fItems, TGo4Parameter::GetMemberValues(), and ShowVisibleItems().
Referenced by linkedObjectUpdated(), and WorkWithParameter().
void TGo4ParaEdit::ResetWidget | ( | ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 158 of file TGo4ParaEdit.cpp.
References fItemName, fItems, and ShowVisibleItems().
Referenced by WorkWithParameter().
void TGo4ParaEdit::saveFile | ( | ) | [virtual, slot] |
Definition at line 434 of file TGo4ParaEdit.cpp.
References QGo4Widget::Browser(), fItemName, fItems, QGo4Widget::GetLinked(), QGo4Widget::GetLinkedName(), TGo4BrowserProxy::ItemClassName(), TGo4Slot::ProduceFolderAndName(), QGo4Widget::SaveItemToFile(), and TGo4Parameter::SetMemberValues().
void TGo4ParaEdit::ShowVisibleItems | ( | ) | [virtual] |
Definition at line 224 of file TGo4ParaEdit.cpp.
References TGo4ParameterMember::CanStrEdit(), fFillingTable, fiColComment, fiColName, fiColType, fiColValue, fItems, TGo4ParameterMember::GetFullName(), TGo4ParameterMember::GetStrValue(), TGo4ParameterMember::GetTypeName(), and TGo4ParameterMember::IsVisible().
Referenced by clearTextFields(), DecArrayIndex(), ExpandShrinkArray(), IncArrayIndex(), RefreshWidget(), and ResetWidget().
void TGo4ParaEdit::TableDoubleClick | ( | int | row, | |
int | col | |||
) | [virtual, slot] |
Definition at line 307 of file TGo4ParaEdit.cpp.
References EditFitter(), ExpandShrinkArray(), fiColName, fiCurrentRow, fItems, TGo4ParameterMember::IsArrayItem(), and TGo4ParameterMember::IsFitterItem().
void TGo4ParaEdit::WorkWithParameter | ( | const char * | itemname, | |
bool | isrefresh | |||
) | [virtual] |
Definition at line 104 of file TGo4ParaEdit.cpp.
References QGo4Widget::AddLink(), QGo4Widget::AddSlot(), QGo4Widget::Browser(), QGo4Widget::BrowserItemRemote(), fItemName, QGo4Widget::GetLinked(), QGo4Widget::GetLinkedName(), RefreshWidget(), TGo4BrowserProxy::RequestObjectStatus(), and ResetWidget().
Referenced by DropItem(), RefreshClicked(), and TGo4MainWindow::StartParaEdit().
bool TGo4ParaEdit::fFillingTable [protected] |
Definition at line 71 of file TGo4ParaEdit.h.
Referenced by ChangedTable(), ShowVisibleItems(), and TGo4ParaEdit().
int TGo4ParaEdit::fiCurrentRow [protected] |
Definition at line 68 of file TGo4ParaEdit.h.
Referenced by ContextMenu(), DecArrayIndex(), EditFitter(), ExpandShrinkArray(), GetFitterFromEditor(), IncArrayIndex(), and TableDoubleClick().
QString TGo4ParaEdit::fItemName [protected] |
Definition at line 70 of file TGo4ParaEdit.h.
Referenced by ApplyClicked(), ResetWidget(), saveFile(), TGo4ParaEdit(), and WorkWithParameter().
TObjArray* TGo4ParaEdit::fItems [protected] |
Definition at line 69 of file TGo4ParaEdit.h.
Referenced by ApplyClicked(), ChangedTable(), clearTextFields(), ContextMenu(), DecArrayIndex(), EditFitter(), ExpandShrinkArray(), GetFitterFromEditor(), IncArrayIndex(), RefreshWidget(), ResetWidget(), saveFile(), ShowVisibleItems(), TableDoubleClick(), TGo4ParaEdit(), and ~TGo4ParaEdit().