ProgressBarEditor Example
#ifndef WINDOW_H
#define WINDOW_H
#include <QTimer>
#include <DevMachines/QtitanGrid>
#include "DemoMainWindow.h"
class Window : public DemoMainWindow
{
Q_OBJECT
public:
Window();
QWidget* createSettingsWidget();
private Q_SLOTS:
void autoWidthStateChanged(int state);
void fastScrollChanged(int state);
void dottedLineChanged(int state);
void selectGridLineStyles(int index);
void zoomEnabledChanged(int state);
void zoomIndicatorChanged(int state);
void cellButtonAutoRaiseEnabled(int state);
void frozenRowsEnabled(int state);
void transparentBackgroundEnabled(int state);
void rowSizingEnabled(int);
void contextMenu(ContextMenuEventArgs* args);
void cellButtonClicked(CellButtonClickEventArgs* args);
void printPreview();
void editorModifying(GridEditor* editor);
void editorValidating(EditorValidationEventArgs* args);
void zoomValueChanged(int value);
void updateGridData();
void setShadeColor(const QColor& color) override;
private:
Qtitan::Grid* m_grid;
QTimer* m_timer;
};
#endif