mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 23:10:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
	
		
			636 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
	
		
			636 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <QMainWindow>
 | |
| 
 | |
| QT_BEGIN_NAMESPACE
 | |
| namespace Ui
 | |
| {
 | |
| class MainWindow;
 | |
| }
 | |
| QT_END_NAMESPACE
 | |
| 
 | |
| namespace scwx
 | |
| {
 | |
| namespace qt
 | |
| {
 | |
| namespace main
 | |
| {
 | |
| 
 | |
| class MainWindow : public QMainWindow
 | |
| {
 | |
|    Q_OBJECT
 | |
| 
 | |
|    friend class MainWindowImpl;
 | |
| 
 | |
| public:
 | |
|    MainWindow(QWidget* parent = nullptr);
 | |
|    ~MainWindow();
 | |
| 
 | |
|    bool event(QEvent* event) override;
 | |
|    void showEvent(QShowEvent* event) override;
 | |
| 
 | |
| private slots:
 | |
|    void on_actionOpen_triggered();
 | |
|    void on_actionExit_triggered();
 | |
| 
 | |
| private:
 | |
|    std::unique_ptr<MainWindowImpl> p;
 | |
|    Ui::MainWindow*                 ui;
 | |
| };
 | |
| 
 | |
| } // namespace main
 | |
| } // namespace qt
 | |
| } // namespace scwx
 | 
