1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/EarlDoss-spreadsheet

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
mainwindow.h 1.4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
EarlDoss Отправлено 19.10.2017 11:59 5df5370
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
class QLabel;
class Spreadsheet;
class FindDialog;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void about();
void open();
bool save();
bool saveAs();
void openRecentFile();
void newFile();
void gotoCell();
void updateStatusBar();
void spreadsheetModified();
void find();
void sort();
protected:
void closeEvent(QCloseEvent *event);
private:
void connectActions();
void createStatusBar();
bool okToContinue();
bool loadFile(const QString &fileName);
bool saveFile(const QString &fileName);
void setCurrentFile(const QString &fullFileName);
QString strippedName(const QString &fullFileName);
void readSettings();
void writeSettings();
void createRecentFileActions();
void createRecentFileMenus();
void updateRecentFileActions();
void createContextMenu();
private:
Ui::MainWindow *ui;
QLabel * locationLabel;
QLabel * formulaLabel;
Spreadsheet *spreadsheet;
FindDialog *findDialog;
QString curFile;
enum{MaxRecentFiles=5};
QAction* recentFileActions[MaxRecentFiles];
QAction* separatorAction;
QStringList recentFiles;
};
#endif // MAINWINDOW_H

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/EarlDoss-spreadsheet.git
git@api.gitlife.ru:oschina-mirror/EarlDoss-spreadsheet.git
oschina-mirror
EarlDoss-spreadsheet
EarlDoss-spreadsheet
master