#include <titleblockpropertieswidget.h>
Inherits QWidget.
|
| TitleBlockPropertiesWidget (const TitleBlockProperties &titleblock=TitleBlockProperties(), bool current_date=false, QETProject *project=nullptr, QWidget *parent=nullptr) |
| TitleBlockPropertiesWidget::TitleBlockPropertiesWidget default constructor.
|
|
| TitleBlockPropertiesWidget (TitleBlockTemplatesCollection *tbt_collection, const TitleBlockProperties &titleblock=TitleBlockProperties(), bool current_date=false, QETProject *project=nullptr, QWidget *parent=nullptr) |
| TitleBlockPropertiesWidget::TitleBlockPropertiesWidget default constructor with tempalte list.
|
|
| TitleBlockPropertiesWidget (QList< TitleBlockTemplatesCollection * > tbt_collection, const TitleBlockProperties &titleblock=TitleBlockProperties(), bool current_date=false, QETProject *project=nullptr, QWidget *parent=nullptr) |
| TitleBlockPropertiesWidget::TitleBlockPropertiesWidget Default constructor with several template collection.
|
|
| ~TitleBlockPropertiesWidget () override |
| TitleBlockPropertiesWidget::~TitleBlockPropertiesWidget destructor.
|
|
void | setProperties (const TitleBlockProperties &properties) |
| TitleBlockPropertiesWidget::setProperties.
|
|
TitleBlockProperties | properties () const |
| TitleBlockPropertiesWidget::properties.
|
|
TitleBlockProperties | propertiesAutoNum (QString autoNum) const |
| TitleBlockPropertiesWidget::properties.
|
|
TitleBlockTemplateLocation | currentTitleBlockLocation () const |
|
void | setPropertiesWithAutoNum (const TitleBlockProperties &properties, QString autoNum) |
|
void | setTitleBlockTemplatesVisible (const bool &visible) |
| TitleBlockPropertiesWidget::setTitleBlockTemplatesVisible if true, title block template combo box and menu button is visible.
|
|
void | setReadOnly (const bool &ro) |
| TitleBlockPropertiesWidget::setReadOnly if true, this widget is disable.
|
|
◆ TitleBlockPropertiesWidget() [1/3]
◆ TitleBlockPropertiesWidget() [2/3]
◆ TitleBlockPropertiesWidget() [3/3]
◆ ~TitleBlockPropertiesWidget()
TitleBlockPropertiesWidget::~TitleBlockPropertiesWidget |
( |
| ) |
|
|
override |
◆ addCollection()
◆ changeCurrentTitleBlockTemplate
void TitleBlockPropertiesWidget::changeCurrentTitleBlockTemplate |
( |
int |
index | ) |
|
|
privateslot |
◆ currentTitleBlockLocation()
◆ currentTitleBlockTemplateName()
QString TitleBlockPropertiesWidget::currentTitleBlockTemplateName |
( |
| ) |
const |
|
private |
◆ duplicateCurrentTitleBlockTemplate
void TitleBlockPropertiesWidget::duplicateCurrentTitleBlockTemplate |
( |
| ) |
|
|
privateslot |
◆ editCurrentTitleBlockTemplate
void TitleBlockPropertiesWidget::editCurrentTitleBlockTemplate |
( |
| ) |
|
|
privateslot |
◆ getIndexFor()
int TitleBlockPropertiesWidget::getIndexFor |
( |
const QString & |
tbt_name, |
|
|
const QET::QetCollection |
collection |
|
) |
| const |
|
private |
TitleBlockPropertiesWidget::getIndexFor Find the index of the combo box for the title block tbt_name available on the collection collection.
- Parameters
-
tbt_name | : title block name |
collection | : title block collection |
- Returns
- the index of the title block or -1 if no match
◆ initDialog()
void TitleBlockPropertiesWidget::initDialog |
( |
const bool & |
current_date, |
|
|
QETProject * |
project |
|
) |
| |
|
private |
◆ on_m_date_now_pb_clicked
void TitleBlockPropertiesWidget::on_m_date_now_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ on_m_edit_autofolionum_pb_clicked
void TitleBlockPropertiesWidget::on_m_edit_autofolionum_pb_clicked |
( |
| ) |
|
|
privateslot |
◆ openAutoNumFolioEditor
void TitleBlockPropertiesWidget::openAutoNumFolioEditor |
( |
QString |
| ) |
|
|
signal |
◆ properties()
◆ propertiesAutoNum()
◆ set_auto_page_num
void TitleBlockPropertiesWidget::set_auto_page_num |
( |
| ) |
const |
|
signal |
◆ setProperties()
◆ setPropertiesWithAutoNum()
void TitleBlockPropertiesWidget::setPropertiesWithAutoNum |
( |
const TitleBlockProperties & |
properties, |
|
|
QString |
autoNum |
|
) |
| |
◆ setReadOnly()
void TitleBlockPropertiesWidget::setReadOnly |
( |
const bool & |
ro | ) |
|
◆ setTitleBlockTemplatesVisible()
void TitleBlockPropertiesWidget::setTitleBlockTemplatesVisible |
( |
const bool & |
visible | ) |
|
◆ updateTemplateList
void TitleBlockPropertiesWidget::updateTemplateList |
( |
| ) |
|
|
privateslot |
◆ keys_2
QList<QString> TitleBlockPropertiesWidget::keys_2 |
|
private |
◆ m_dcw
◆ m_map_index_to_collection_type
◆ m_tbt_collection_list
◆ m_tbt_duplicate
QAction * TitleBlockPropertiesWidget::m_tbt_duplicate |
|
private |
◆ m_tbt_edit
QAction* TitleBlockPropertiesWidget::m_tbt_edit |
|
private |
◆ m_tbt_menu
QMenu* TitleBlockPropertiesWidget::m_tbt_menu |
|
private |
◆ ui
Ui::TitleBlockPropertiesWidget* TitleBlockPropertiesWidget::ui |
|
private |
The documentation for this class was generated from the following files: