Widget to create actions. More...
#include <ViewersCreationWidget.h>
Public Slots | |
virtual void | cancelButtonClicked () |
virtual void | nextButtonClicked () |
virtual void | previousButtonClicked () |
virtual void | registerDefaultViewerClicked () |
virtual void | registerNewViewerClicked () |
Signals | |
void | cancel () |
void | newDefaultViewer () |
void | next () |
void | previous () |
Public Member Functions | |
void | addViewerName (QString viewerName) |
void | emptyExistingViewers () |
bool | isViewerRegistered (QString viewerName) |
void | resetDomViewerExtension (cepcoreschema::ViewerExtension *domViewerExtension) |
void | setGroupBoxTitle (QString text) |
void | setToDefault () |
ViewersCreationWidget (QWidget *parent) | |
Constructor. More... | |
~ViewersCreationWidget () override=default | |
Destructor. More... | |
Private Attributes | |
QStringList | createdViewers |
QString | createdViewersString |
cepcoreschema::ViewerExtension * | domViewerExtension |
Ui::ViewersCreationWidget | ui |
Widget to create actions.
ViewersCreationWidget::ViewersCreationWidget | ( | QWidget * | parent | ) |
Constructor.
References ui.
|
overridedefault |
Destructor.
void ViewersCreationWidget::addViewerName | ( | QString | viewerName | ) |
References createdViewers, createdViewersString, and ui.
Referenced by registerDefaultViewerClicked(), and registerNewViewerClicked().
|
signal |
|
virtualslot |
References cancel().
void ViewersCreationWidget::emptyExistingViewers | ( | ) |
References createdViewers, createdViewersString, defaultCreatedViewersString, and ui.
Referenced by setToDefault().
bool ViewersCreationWidget::isViewerRegistered | ( | QString | viewerName | ) |
References domViewerExtension, and registerNewViewer.
Referenced by registerNewViewerClicked().
|
signal |
|
signal |
|
virtualslot |
References createdViewers, enhancedStyle, next(), normalStyle, and ui.
|
signal |
|
virtualslot |
References previous().
|
virtualslot |
References addViewerName(), domViewerExtension, and registerDefaultViewer.
|
virtualslot |
References addViewerName(), domViewerExtension, and isViewerRegistered().
void ViewersCreationWidget::resetDomViewerExtension | ( | cepcoreschema::ViewerExtension * | domViewerExtension | ) |
References domViewerExtension.
void ViewersCreationWidget::setGroupBoxTitle | ( | QString | text | ) |
References ui.
void ViewersCreationWidget::setToDefault | ( | ) |
|
private |
Referenced by addViewerName(), emptyExistingViewers(), and nextButtonClicked().
|
private |
Referenced by addViewerName(), and emptyExistingViewers().
|
private |
|
private |
Referenced by addViewerName(), emptyExistingViewers(), nextButtonClicked(), setGroupBoxTitle(), setToDefault(), and ViewersCreationWidget().