mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 19:30:04 +00:00 
			
		
		
		
	Initial setup wizard contents
This commit is contained in:
		
							parent
							
								
									388abb05bf
								
							
						
					
					
						commit
						411d2a3832
					
				
					 8 changed files with 102 additions and 0 deletions
				
			
		|  | @ -1,5 +1,8 @@ | |||
| #include <scwx/qt/ui/setup/finish_page.hpp> | ||||
| 
 | ||||
| #include <QLabel> | ||||
| #include <QVBoxLayout> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace qt | ||||
|  | @ -14,11 +17,27 @@ class FinishPage::Impl | |||
| public: | ||||
|    explicit Impl() = default; | ||||
|    ~Impl()         = default; | ||||
| 
 | ||||
|    QVBoxLayout* layout_ {nullptr}; | ||||
|    QLabel*      finishLabel_ {nullptr}; | ||||
| }; | ||||
| 
 | ||||
| FinishPage::FinishPage(QWidget* parent) : | ||||
|     QWizardPage(parent), p {std::make_shared<Impl>()} | ||||
| { | ||||
|    setTitle(tr("Setup Complete")); | ||||
|    setSubTitle(tr("Supercell Wx setup is complete!")); | ||||
| 
 | ||||
|    p->finishLabel_ = | ||||
|       new QLabel(tr("Supercell Wx setup is now complete and ready for use. " | ||||
|                     "Additional settings may be configured after startup. For " | ||||
|                     "further information, please see the User Manual from the " | ||||
|                     "Help menu, or join the Discord server for help.")); | ||||
|    p->finishLabel_->setWordWrap(true); | ||||
| 
 | ||||
|    p->layout_ = new QVBoxLayout(this); | ||||
|    p->layout_->addWidget(p->finishLabel_); | ||||
|    setLayout(p->layout_); | ||||
| } | ||||
| 
 | ||||
| FinishPage::~FinishPage() = default; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat