major api and quality of life changes
This commit is contained in:
parent
4148d42bfb
commit
67e63561c4
7 changed files with 113 additions and 24 deletions
|
|
@ -14,6 +14,8 @@ class MainWindow : public QMainWindow
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
QMap<QString, QColor> colorMap;
|
||||
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
|
|
@ -22,10 +24,15 @@ public slots:
|
|||
|
||||
private slots:
|
||||
void on_spinGridWidth_valueChanged(int arg1);
|
||||
|
||||
void on_spinGridHeight_valueChanged(int arg1);
|
||||
|
||||
void on_comboLineColor_currentTextChanged(const QString &arg1);
|
||||
void on_listLines_currentRowChanged(int currentRow);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
int lastEditedLine = -1;
|
||||
|
||||
bool isSelectedLineCorrect(int line);
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue