Answer the question
In order to leave comments, you need to log in
Why error "WinCioClass": not a member of "Ui"?
Now I'm dragging a project from one machine to another and an error occurred:
#pragma once
#include <QtWidgets/QMainWindow>
#include <QSettings>
#include <QFileDialog>
#include "ui_WinCio.h"
#include "RecentElem.h"
#include "WindowFile.h"
#include <QDebug>
class WinCio : public QMainWindow
{
Q_OBJECT
public:
WinCio(QWidget* parent = Q_NULLPTR);
protected:
void closeEvent(QCloseEvent*);
private slots:
void slotOpenFile();
void slotDeleteRecentElem(RecentElem* elem);
void slotDeleteAllRecentElems();
private:
Ui::WinCioClass ui;
QString m_selectedFile;
QVector<RecentElem*> m_recentFiles;
/* ----- Function -----*/
void addRecentFile(QString path = Q_NULLPTR, bool addNewElem = true);
void updateListRecentFiles(RecentElem* currentElem);
void updateSettingsConf();
bool confirmDeleteLinkFile(QString path);
};
Answer the question
In order to leave comments, you need to log in
Apparently, it should be like this
Ui::WinCio ui
. But, in general, look at what you have in the ui_WinCio.h file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question