24 #ifndef OBJECTINSPECTOR_H_
25 #define OBJECTINSPECTOR_H_
60 bool hideTools =
false);
87 virtual void openFile(QString fName = QString());
void _storeViewSettings() const
save settings like column widths
virtual void openMetaData(QString fName=QString())
Open file containing metadata.
void on_ActivateAllButton_clicked()
Reactivate all consecutive plugins.
Ui::ObjectInspector * _ui
designer gui
QAction * _hidePrio
hide priority column
void handle_model_useMetaInfoChanged(bool state)
update useMetadata checkbox state
void on_setPriorityButton_clicked()
set priority
ParameterFileModel * _model
Used model to display.
void statusMessage(const QString &msg, int timeout=3000)
Send status message.
void on_clearButton_clicked()
Clear model.
virtual void saveFileAs() const
Show SaveAs-Dialog and save File to the selected location.
void on_comment_textChanged()
handle comment changes
void on_onlyParams_toggled(bool state)
handle onlyParams checkbox changes
void modelChanged(ParameterFileModel *model)
Inform about changed model.
void handle_model_prefixChanged(const QString &text)
update prefix & comment text
void delParam()
delete parameter
void on_filterBox_activated(int index)
filter by priority
This model serves to provide a model frontend to access a ParameterFile instance. ...
ParameterFileModel * model() const
Get value of property _model.
void on_useMetadata_toggled(bool state)
handle useMetadata checkbox changes
virtual ~ObjectInspector()
default destructor
void on_resetParamButton_clicked()
reset parameter
void on_deleteButton_clicked()
Delete selected parameter.
virtual void saveFile() const
Save File to it's old location.
virtual void setEdit(bool on)
Enable/Disable structural editing.
virtual void openFile(QString fName=QString())
Open given file.
Validator for prefix edit widgets.
ObjectInspector(QWidget *parent=0, ParameterFileModel *model=0, bool hideTools=false)
Default constructor, setting parent widget.
QWidget * getViewer()
get inspector viewer widget
void _loadViewSettings()
restore settings like column widths
QMutex * _commentFieldMutex
lock for changes of comments
void setPrioColumnHidden(bool hide)
handle context menu of horizontal header
void on_prefix_textChanged(QString text)
handle prefix text field changes
void handle_model_onlyParamsChanged(bool state)
update onlyParams checkbox state
virtual void setModel(ParameterFileModel *model)
Change used model.
void on_resetFilterButton_clicked()
reset filter
void on_addButton_clicked()
Add new Parameter.
void handle_model_metaInfoChanged(bool state)
enable/disable useMetadata checkbox