mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-31 16:39:59 +01:00
Mod doc set style de same
This commit is contained in:
@@ -44,10 +44,10 @@ void NameListDialog::setInformationText(const QString &text) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NameListDialog::namelistWidget
|
||||
* @return the name list widget used by this dialog.
|
||||
* The ownership of the namelistwidget stay to this dialog
|
||||
*/
|
||||
@brief NameListDialog::namelistWidget
|
||||
@return the name list widget used by this dialog.
|
||||
The ownership of the namelistwidget stay to this dialog
|
||||
*/
|
||||
NameListWidget *NameListDialog::namelistWidget() const {
|
||||
return m_namelist_widget;
|
||||
}
|
||||
|
||||
@@ -27,9 +27,9 @@ namespace Ui {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief The NameListDialog class
|
||||
* Provide a dialog for let user define localized string;
|
||||
*/
|
||||
@brief The NameListDialog class
|
||||
Provide a dialog for let user define localized string;
|
||||
*/
|
||||
class NameListDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -26,9 +26,9 @@ namespace Ui {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief The NameListWidget class
|
||||
* Provide a widget for let user define localized string;
|
||||
*/
|
||||
@brief The NameListWidget class
|
||||
Provide a widget for let user define localized string;
|
||||
*/
|
||||
class NameListWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user