Added labels to the upload window
This commit is contained in:
+14
-3
@@ -32,10 +32,21 @@ namespace UI
|
|||||||
urlQt = unique_ptr<QTextEdit>{new QTextEdit()};
|
urlQt = unique_ptr<QTextEdit>{new QTextEdit()};
|
||||||
sourceFilePathQt = unique_ptr<QTextEdit>{new QTextEdit()};
|
sourceFilePathQt = unique_ptr<QTextEdit>{new QTextEdit()};
|
||||||
|
|
||||||
|
urlLabel = unique_ptr<QLabel>{new QLabel(tr("URL"))};
|
||||||
|
songPath = unique_ptr<QLabel>{new QLabel(tr("Song Path"))};
|
||||||
|
|
||||||
|
urlPortion = unique_ptr<QHBoxLayout>{new QHBoxLayout};
|
||||||
|
songPathPortion = unique_ptr<QHBoxLayout>{new QHBoxLayout};
|
||||||
|
|
||||||
|
urlPortion.get()->addWidget(urlLabel.get());
|
||||||
|
urlPortion.get()->addWidget(urlQt.get());
|
||||||
|
|
||||||
|
songPathPortion->addWidget(songPath.get());
|
||||||
|
songPathPortion->addWidget(sourceFilePathQt.get());
|
||||||
|
|
||||||
subLayoutOneQt = unique_ptr<QVBoxLayout>{new QVBoxLayout};
|
subLayoutOneQt = unique_ptr<QVBoxLayout>{new QVBoxLayout};
|
||||||
subLayoutOneQt.get()->addWidget(urlQt.get());
|
subLayoutOneQt.get()->addLayout(urlPortion.get());
|
||||||
subLayoutOneQt.get()->addWidget(sourceFilePathQt.get());
|
subLayoutOneQt->addLayout(songPathPortion.get());
|
||||||
subLayoutOneQt.get()->addWidget(uploadSongQt.get());
|
|
||||||
mainLayoutQt.get()->addLayout(subLayoutOneQt.get());
|
mainLayoutQt.get()->addLayout(subLayoutOneQt.get());
|
||||||
}
|
}
|
||||||
void MainWindow::configureWindowDimensions()
|
void MainWindow::configureWindowDimensions()
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ namespace UI
|
|||||||
void setupMainWindow();
|
void setupMainWindow();
|
||||||
|
|
||||||
|
|
||||||
|
std::unique_ptr<QHBoxLayout> urlPortion;
|
||||||
|
std::unique_ptr<QHBoxLayout> songPathPortion;
|
||||||
|
|
||||||
std::unique_ptr<QWidget> mainWidgetQt;
|
std::unique_ptr<QWidget> mainWidgetQt;
|
||||||
|
|
||||||
std::unique_ptr<QDockWidget> MainDockWidgetQt;
|
std::unique_ptr<QDockWidget> MainDockWidgetQt;
|
||||||
@@ -44,6 +47,9 @@ namespace UI
|
|||||||
std::unique_ptr<QTextEdit> urlQt;
|
std::unique_ptr<QTextEdit> urlQt;
|
||||||
std::unique_ptr<QTextEdit> sourceFilePathQt;
|
std::unique_ptr<QTextEdit> sourceFilePathQt;
|
||||||
|
|
||||||
|
std::unique_ptr<QLabel> urlLabel;
|
||||||
|
std::unique_ptr<QLabel> songPath;
|
||||||
|
|
||||||
std::unique_ptr<QMenu> fileMenuQt;
|
std::unique_ptr<QMenu> fileMenuQt;
|
||||||
std::unique_ptr<QMenu> editMenuQt;
|
std::unique_ptr<QMenu> editMenuQt;
|
||||||
std::unique_ptr<QAction> closeApplicationQt;
|
std::unique_ptr<QAction> closeApplicationQt;
|
||||||
|
|||||||
Reference in New Issue
Block a user