mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
Mod doc set style de same
This commit is contained in:
@@ -36,9 +36,9 @@ NameListWidget::~NameListWidget()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NameListWidget::addLine
|
||||
* Add a new line to the name list widget
|
||||
*/
|
||||
@brief NameListWidget::addLine
|
||||
Add a new line to the name list widget
|
||||
*/
|
||||
void NameListWidget::addLine()
|
||||
{
|
||||
clean();
|
||||
@@ -53,10 +53,10 @@ void NameListWidget::addLine()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NameListWidget::setNames
|
||||
* Set the current names of this dialog from @name_list
|
||||
* @param name_list
|
||||
*/
|
||||
@brief NameListWidget::setNames
|
||||
Set the current names of this dialog from @name_list
|
||||
@param name_list
|
||||
*/
|
||||
void NameListWidget::setNames(const NamesList &name_list)
|
||||
{
|
||||
for (QString lang : name_list.langs())
|
||||
@@ -74,9 +74,9 @@ void NameListWidget::setNames(const NamesList &name_list)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NameListWidget::names
|
||||
* @return the current name list edited by this dialog
|
||||
*/
|
||||
@brief NameListWidget::names
|
||||
@return the current name list edited by this dialog
|
||||
*/
|
||||
NamesList NameListWidget::names() const
|
||||
{
|
||||
NamesList nl_;
|
||||
@@ -95,10 +95,10 @@ NamesList NameListWidget::names() const
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NameListWidget::setReadOnly
|
||||
* Set this dialog to read only or not.
|
||||
* @param ro
|
||||
*/
|
||||
@brief NameListWidget::setReadOnly
|
||||
Set this dialog to read only or not.
|
||||
@param ro
|
||||
*/
|
||||
void NameListWidget::setReadOnly(bool ro)
|
||||
{
|
||||
m_read_only = ro;
|
||||
@@ -116,10 +116,10 @@ void NameListWidget::setReadOnly(bool ro)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NameListWidget::isEmpty
|
||||
* @return true if empty.
|
||||
* An empty dialog, is a dialog without any edited lang.
|
||||
*/
|
||||
@brief NameListWidget::isEmpty
|
||||
@return true if empty.
|
||||
An empty dialog, is a dialog without any edited lang.
|
||||
*/
|
||||
bool NameListWidget::isEmpty() const {
|
||||
return names().isEmpty();
|
||||
}
|
||||
@@ -142,9 +142,9 @@ void NameListWidget::setClipboardValue(QHash<QString, QString> value)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NameListWidget::clean
|
||||
* Clean the lists of names by removing the emtpy lines
|
||||
*/
|
||||
@brief NameListWidget::clean
|
||||
Clean the lists of names by removing the emtpy lines
|
||||
*/
|
||||
void NameListWidget::clean()
|
||||
{
|
||||
int names_count = ui->m_tree->topLevelItemCount() - 1;
|
||||
|
||||
Reference in New Issue
Block a user