mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Mod doc set style de same
This commit is contained in:
@@ -28,12 +28,12 @@
|
||||
#include <QHBoxLayout>
|
||||
|
||||
/**
|
||||
* @brief ElementsCategoryEditor::ElementsCategoryEditor
|
||||
* Constructor
|
||||
* @param location : location of the category to edit, or parent directory/category for the creation of a new category
|
||||
* @param edit : true = edit mode, false = creation mode
|
||||
* @param parent : parent widget
|
||||
*/
|
||||
@brief ElementsCategoryEditor::ElementsCategoryEditor
|
||||
Constructor
|
||||
@param location : location of the category to edit, or parent directory/category for the creation of a new category
|
||||
@param edit : true = edit mode, false = creation mode
|
||||
@param parent : parent widget
|
||||
*/
|
||||
ElementsCategoryEditor::ElementsCategoryEditor(const ElementsLocation &location, bool edit, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
m_edit_mode(edit),
|
||||
@@ -84,24 +84,24 @@ ElementsCategoryEditor::ElementsCategoryEditor(const ElementsLocation &location,
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementsCategoryEditor::~ElementsCategoryEditor
|
||||
* Destructor
|
||||
*/
|
||||
@brief ElementsCategoryEditor::~ElementsCategoryEditor
|
||||
Destructor
|
||||
*/
|
||||
ElementsCategoryEditor::~ElementsCategoryEditor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementsCategoryEditor::createdLocation
|
||||
* @return the location of the created directory
|
||||
*/
|
||||
@brief ElementsCategoryEditor::createdLocation
|
||||
@return the location of the created directory
|
||||
*/
|
||||
ElementsLocation ElementsCategoryEditor::createdLocation() const
|
||||
{
|
||||
return m_created_location;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementsCategoryEditor::setUpWidget
|
||||
*/
|
||||
@brief ElementsCategoryEditor::setUpWidget
|
||||
*/
|
||||
void ElementsCategoryEditor::setUpWidget()
|
||||
{
|
||||
QVBoxLayout *editor_layout = new QVBoxLayout();
|
||||
@@ -125,9 +125,9 @@ void ElementsCategoryEditor::setUpWidget()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementsCategoryEditor::acceptCreation
|
||||
* Valid the creation of the category
|
||||
*/
|
||||
@brief ElementsCategoryEditor::acceptCreation
|
||||
Valid the creation of the category
|
||||
*/
|
||||
void ElementsCategoryEditor::acceptCreation()
|
||||
{
|
||||
if (!m_location.isWritable()) {
|
||||
@@ -176,9 +176,9 @@ void ElementsCategoryEditor::acceptCreation()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementsCategoryEditor::acceptUpdate
|
||||
* Valid the update of the category
|
||||
*/
|
||||
@brief ElementsCategoryEditor::acceptUpdate
|
||||
Valid the update of the category
|
||||
*/
|
||||
void ElementsCategoryEditor::acceptUpdate()
|
||||
{
|
||||
if (!m_location.isWritable()) {
|
||||
|
||||
Reference in New Issue
Block a user