mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Mod doc set style de same
This commit is contained in:
@@ -55,10 +55,10 @@ NewElementWizard::~NewElementWizard() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::preselectedLocation
|
||||
* Select item in the tree view represented by location,
|
||||
* @param location
|
||||
*/
|
||||
@brief NewElementWizard::preselectedLocation
|
||||
Select item in the tree view represented by location,
|
||||
@param location
|
||||
*/
|
||||
void NewElementWizard::preselectedLocation(const ElementsLocation &location)
|
||||
{
|
||||
QModelIndex index = m_model->indexFromLocation(location);
|
||||
@@ -69,9 +69,9 @@ void NewElementWizard::preselectedLocation(const ElementsLocation &location)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::buildStep1
|
||||
* @return
|
||||
*/
|
||||
@brief NewElementWizard::buildStep1
|
||||
@return
|
||||
*/
|
||||
QWizardPage *NewElementWizard::buildStep1()
|
||||
{
|
||||
QWizardPage *page = new QWizardPage();
|
||||
@@ -96,9 +96,9 @@ QWizardPage *NewElementWizard::buildStep1()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::buildStep2
|
||||
* @return
|
||||
*/
|
||||
@brief NewElementWizard::buildStep2
|
||||
@return
|
||||
*/
|
||||
QWizardPage *NewElementWizard::buildStep2() {
|
||||
QWizardPage *page = new QWizardPage();
|
||||
page -> setProperty("WizardState", Filename);
|
||||
@@ -120,9 +120,9 @@ QWizardPage *NewElementWizard::buildStep2() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::buildStep3
|
||||
* @return
|
||||
*/
|
||||
@brief NewElementWizard::buildStep3
|
||||
@return
|
||||
*/
|
||||
QWizardPage *NewElementWizard::buildStep3() {
|
||||
QWizardPage *page = new QWizardPage();
|
||||
page -> setProperty("WizardState", Names);
|
||||
@@ -141,9 +141,9 @@ QWizardPage *NewElementWizard::buildStep3() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::validateCurrentPage
|
||||
* @return true if the current step is valid
|
||||
*/
|
||||
@brief NewElementWizard::validateCurrentPage
|
||||
@return true if the current step is valid
|
||||
*/
|
||||
bool NewElementWizard::validateCurrentPage()
|
||||
{
|
||||
WizardState wizard_state = static_cast<WizardState>(currentPage() -> property("WizardState").toInt());
|
||||
@@ -166,10 +166,10 @@ bool NewElementWizard::validateCurrentPage()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::validStep1
|
||||
* Valid the setp 1
|
||||
* @return trie if the step is valid.
|
||||
*/
|
||||
@brief NewElementWizard::validStep1
|
||||
Valid the setp 1
|
||||
@return trie if the step is valid.
|
||||
*/
|
||||
bool NewElementWizard::validStep1()
|
||||
{
|
||||
//They must be one directory selected
|
||||
@@ -198,10 +198,10 @@ bool NewElementWizard::validStep1()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::validStep2
|
||||
* Valid the step 2
|
||||
* @return true if step is valid
|
||||
*/
|
||||
@brief NewElementWizard::validStep2
|
||||
Valid the step 2
|
||||
@return true if step is valid
|
||||
*/
|
||||
bool NewElementWizard::validStep2() {
|
||||
QString file_name = m_qle_filename -> text();
|
||||
|
||||
@@ -230,9 +230,9 @@ bool NewElementWizard::validStep2() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief NewElementWizard::createNewElement
|
||||
* Lauch an element editor for create the new element
|
||||
*/
|
||||
@brief NewElementWizard::createNewElement
|
||||
Lauch an element editor for create the new element
|
||||
*/
|
||||
void NewElementWizard::createNewElement() {
|
||||
QETElementEditor *edit_new_element = new QETElementEditor(parentWidget());
|
||||
edit_new_element -> setNames(m_names_list -> names());
|
||||
|
||||
Reference in New Issue
Block a user