Line 94... |
Line 94... |
94 |
MainWindow();
|
94 |
MainWindow();
|
95 |
~MainWindow();
|
95 |
~MainWindow();
|
96 |
void setConfigFile(const std::string& file) { mFileConfig = file; }
|
96 |
void setConfigFile(const std::string& file) { mFileConfig = file; }
|
97 |
void setSetChange(bool state) { settingsChanged = state; }
|
97 |
void setSetChange(bool state) { settingsChanged = state; }
|
98 |
void setScaleFactor(double scale) { mScaleFactor = scale; }
|
98 |
void setScaleFactor(double scale) { mScaleFactor = scale; }
|
99 |
void setSetupScaleFactor(double scale) { mSetupScaleFactor = scale; }
|
- |
|
100 |
double getScaleFactor() { return mScaleFactor; }
|
99 |
double getScaleFactor() { return mScaleFactor; }
|
101 |
void setOrientation(Qt::ScreenOrientation ori) { mOrientation = ori; }
|
100 |
void setOrientation(Qt::ScreenOrientation ori) { mOrientation = ori; }
|
102 |
void disconnectArea(TQScrollArea *area);
|
101 |
void disconnectArea(TQScrollArea *area);
|
103 |
void disconnectList(QListWidget *list);
|
102 |
void disconnectList(QListWidget *list);
|
104 |
void reconnectArea(TQScrollArea *area);
|
103 |
void reconnectArea(TQScrollArea *area);
|
Line 260... |
Line 259... |
260 |
bool gestureEvent(QGestureEvent *event);
|
259 |
bool gestureEvent(QGestureEvent *event);
|
261 |
void createActions();
|
260 |
void createActions();
|
262 |
void writeSettings();
|
261 |
void writeSettings();
|
263 |
// void playShowList();
|
262 |
// void playShowList();
|
264 |
int scale(int value);
|
263 |
int scale(int value);
|
265 |
int scaleSetup(int value);
|
- |
|
266 |
bool isScaled();
|
264 |
bool isScaled();
|
267 |
bool isSetupScaled();
|
- |
|
268 |
bool startAnimation(TObject::OBJECT_t *obj, ANIMATION_t& ani, bool in = true);
|
265 |
bool startAnimation(TObject::OBJECT_t *obj, ANIMATION_t& ani, bool in = true);
|
269 |
void downloadBar(const std::string& msg, QWidget *parent);
|
266 |
void downloadBar(const std::string& msg, QWidget *parent);
|
270 |
void runEvents();
|
267 |
void runEvents();
|
271 |
void onSubViewItemClicked(ulong handle, bool pressed);
|
268 |
void onSubViewItemClicked(ulong handle, bool pressed);
|
272 |
void onInputChanged(ulong handle, std::string& text);
|
269 |
void onInputChanged(ulong handle, std::string& text);
|
Line 371... |
Line 368... |
371 |
bool mCentralInitialized{false}; // True = The central widget and all dependencies are initialized
|
368 |
bool mCentralInitialized{false}; // True = The central widget and all dependencies are initialized
|
372 |
std::string mVideoURL; // If the button is a video, this is the URL where it plays from.
|
369 |
std::string mVideoURL; // If the button is a video, this is the URL where it plays from.
|
373 |
std::string mFileConfig; // Path and file name of the config file
|
370 |
std::string mFileConfig; // Path and file name of the config file
|
374 |
bool mHasFocus{true}; // If this is FALSE, no output to sceen is allowed.
|
371 |
bool mHasFocus{true}; // If this is FALSE, no output to sceen is allowed.
|
375 |
std::atomic<double> mScaleFactor{1.0}; // The actual scale factor
|
372 |
std::atomic<double> mScaleFactor{1.0}; // The actual scale factor
|
376 |
std::atomic<double> mSetupScaleFactor{1.0}; // The scale factor for the setup pages
|
- |
|
377 |
OBJECT_t *mLastObject{nullptr}; // This is for the hide effect of widgets.
|
373 |
OBJECT_t *mLastObject{nullptr}; // This is for the hide effect of widgets.
|
378 |
std::map<ulong, OBJECT_t *> mAnimObjects; // List of started animations
|
374 |
std::map<ulong, OBJECT_t *> mAnimObjects; // List of started animations
|
379 |
ulong mActualPageHandle{0}; // Holds the handle of the active page.
|
375 |
ulong mActualPageHandle{0}; // Holds the handle of the active page.
|
380 |
std::atomic<bool> mBusy{false}; // If TRUE the busy indicator is active
|
376 |
std::atomic<bool> mBusy{false}; // If TRUE the busy indicator is active
|
381 |
TqDownload *mDownloadBar{nullptr}; // Pointer to a dialog showing a progress bar
|
377 |
TqDownload *mDownloadBar{nullptr}; // Pointer to a dialog showing a progress bar
|