src/mainwindow.h

changeset 1157
1d6d244bdabd
parent 1156
c20ee66b6705
child 1159
6ad8cdcd88d9
equal deleted inserted replaced
1156:c20ee66b6705 1157:1d6d244bdabd
113 void updateGridToolBar(); 113 void updateGridToolBar();
114 void updateRecentFilesMenu(); 114 void updateRecentFilesMenu();
115 void updateSelection(); 115 void updateSelection();
116 void updateTitle(); 116 void updateTitle();
117 117
118 static QPixmap getIcon(QString iconName);
119 static class QSettings* makeSettings(QObject* parent = nullptr);
120
118 signals: 121 signals:
119 void gridChanged(); 122 void gridChanged();
120 123
121 public slots: 124 public slots:
122 void actionTriggered(); 125 void actionTriggered();
167 }; 170 };
168 171
169 // Pointer to the instance of MainWindow. 172 // Pointer to the instance of MainWindow.
170 // TODO: it's going out, slowly but surely. 173 // TODO: it's going out, slowly but surely.
171 extern MainWindow* g_win; 174 extern MainWindow* g_win;
172
173 // Get an icon by name from the resources directory.
174 QPixmap GetIcon (QString iconName);
175 class QSettings* makeSettings(QObject* parent = nullptr);

mercurial