mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-21 12:39:59 +01:00
Mod doc set style de same
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
#include <QFontDialog>
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::GraphicsTablePropertiesEditor
|
||||
* @param table
|
||||
* @param parent
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::GraphicsTablePropertiesEditor
|
||||
@param table
|
||||
@param parent
|
||||
*/
|
||||
GraphicsTablePropertiesEditor::GraphicsTablePropertiesEditor(QetGraphicsTableItem *table, QWidget *parent) :
|
||||
PropertiesEditorWidget(parent),
|
||||
ui(new Ui::GraphicsTablePropertiesEditor)
|
||||
@@ -57,17 +57,17 @@ GraphicsTablePropertiesEditor::GraphicsTablePropertiesEditor(QetGraphicsTableIte
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::~GraphicsTablePropertiesEditor
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::~GraphicsTablePropertiesEditor
|
||||
*/
|
||||
GraphicsTablePropertiesEditor::~GraphicsTablePropertiesEditor() {
|
||||
delete ui;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::setTable
|
||||
* Set the table to be edited
|
||||
* @param table
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::setTable
|
||||
Set the table to be edited
|
||||
@param table
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::setTable(QetGraphicsTableItem *table)
|
||||
{
|
||||
if (m_table_item) {
|
||||
@@ -97,9 +97,9 @@ void GraphicsTablePropertiesEditor::setTable(QetGraphicsTableItem *table)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::apply
|
||||
* Apply the current edition
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::apply
|
||||
Apply the current edition
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::apply()
|
||||
{
|
||||
if(!m_table_item && m_table_item->diagram()) {
|
||||
@@ -113,9 +113,9 @@ void GraphicsTablePropertiesEditor::apply()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::associatedUndo
|
||||
* @return the undo command associated to the edition
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::associatedUndo
|
||||
@return the undo command associated to the edition
|
||||
*/
|
||||
QUndoCommand *GraphicsTablePropertiesEditor::associatedUndo() const
|
||||
{
|
||||
if (m_live_edit)
|
||||
@@ -198,8 +198,8 @@ bool GraphicsTablePropertiesEditor::setLiveEdit(bool live_edit)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::on_m_header_font_pb_clicked
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::on_m_header_font_pb_clicked
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::on_m_header_font_pb_clicked()
|
||||
{
|
||||
if (m_table_item && m_table_item->model())
|
||||
@@ -219,8 +219,8 @@ void GraphicsTablePropertiesEditor::on_m_header_font_pb_clicked()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::on_m_table_font_pb_clicked
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::on_m_table_font_pb_clicked
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::on_m_table_font_pb_clicked()
|
||||
{
|
||||
if (m_table_item && m_table_item->model())
|
||||
@@ -241,8 +241,8 @@ void GraphicsTablePropertiesEditor::on_m_table_font_pb_clicked()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::updateUi
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::updateUi
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::updateUi()
|
||||
{
|
||||
//Disconnect every connections of editor widgets
|
||||
@@ -343,8 +343,8 @@ void GraphicsTablePropertiesEditor::updateInfoLabel()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::setUpEditConnection
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::setUpEditConnection
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::setUpEditConnection()
|
||||
{
|
||||
for (QMetaObject::Connection c : m_edit_connection) {
|
||||
@@ -410,8 +410,8 @@ void GraphicsTablePropertiesEditor::on_m_next_pb_clicked()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::on_m_auto_geometry_pb_clicked
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::on_m_auto_geometry_pb_clicked
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::on_m_auto_geometry_pb_clicked()
|
||||
{
|
||||
if (m_table_item) {
|
||||
@@ -420,8 +420,8 @@ void GraphicsTablePropertiesEditor::on_m_auto_geometry_pb_clicked()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GraphicsTablePropertiesEditor::on_m_apply_geometry_to_linked_table_pb_clicked
|
||||
*/
|
||||
@brief GraphicsTablePropertiesEditor::on_m_apply_geometry_to_linked_table_pb_clicked
|
||||
*/
|
||||
void GraphicsTablePropertiesEditor::on_m_apply_geometry_to_linked_table_pb_clicked()
|
||||
{
|
||||
if (m_table_item.isNull() || !m_table_item->diagram() || (!m_table_item->nextTable() && !m_table_item->previousTable())) {
|
||||
|
||||
@@ -32,9 +32,9 @@ class QUndoStack;
|
||||
class QButtonGroup;
|
||||
|
||||
/**
|
||||
* @brief The GraphicsTablePropertiesEditor class
|
||||
* This widget is used to edit the property of both QetGraphicsTableItem and QetGraphicsHeaderItem
|
||||
*/
|
||||
@brief The GraphicsTablePropertiesEditor class
|
||||
This widget is used to edit the property of both QetGraphicsTableItem and QetGraphicsHeaderItem
|
||||
*/
|
||||
class GraphicsTablePropertiesEditor : public PropertiesEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
#include <QDialogButtonBox>
|
||||
|
||||
/**
|
||||
* @brief projectDBModelPropertiesWidget::projectDBModelPropertiesWidget
|
||||
* @param model
|
||||
* @param parent
|
||||
*/
|
||||
@brief projectDBModelPropertiesWidget::projectDBModelPropertiesWidget
|
||||
@param model
|
||||
@param parent
|
||||
*/
|
||||
ProjectDBModelPropertiesWidget::ProjectDBModelPropertiesWidget(ProjectDBModel *model, QWidget *parent) :
|
||||
PropertiesEditorWidget(parent),
|
||||
ui(new Ui::ProjectDBModelPropertiesWidget)
|
||||
@@ -38,16 +38,16 @@ ProjectDBModelPropertiesWidget::ProjectDBModelPropertiesWidget(ProjectDBModel *m
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief projectDBModelPropertiesWidget::~projectDBModelPropertiesWidget
|
||||
*/
|
||||
@brief projectDBModelPropertiesWidget::~projectDBModelPropertiesWidget
|
||||
*/
|
||||
ProjectDBModelPropertiesWidget::~ProjectDBModelPropertiesWidget() {
|
||||
delete ui;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief projectDBModelPropertiesWidget::setModel
|
||||
* @param model
|
||||
*/
|
||||
@brief projectDBModelPropertiesWidget::setModel
|
||||
@param model
|
||||
*/
|
||||
void ProjectDBModelPropertiesWidget::setModel(ProjectDBModel *model) {
|
||||
m_model = model;
|
||||
ui->m_edit_query_pb->setEnabled(m_model);
|
||||
@@ -55,8 +55,8 @@ void ProjectDBModelPropertiesWidget::setModel(ProjectDBModel *model) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief projectDBModelPropertiesWidget::on_m_edit_query_pb_clicked
|
||||
*/
|
||||
@brief projectDBModelPropertiesWidget::on_m_edit_query_pb_clicked
|
||||
*/
|
||||
void ProjectDBModelPropertiesWidget::on_m_edit_query_pb_clicked()
|
||||
{
|
||||
QDialog d(this);
|
||||
|
||||
@@ -27,9 +27,9 @@ class ProjectDBModelPropertiesWidget;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief The projectDBModelPropertiesWidget class
|
||||
* This class is an editor for a NomenclatureModel
|
||||
*/
|
||||
@brief The projectDBModelPropertiesWidget class
|
||||
This class is an editor for a NomenclatureModel
|
||||
*/
|
||||
class ProjectDBModelPropertiesWidget : public PropertiesEditorWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user