Changeset View
Changeset View
Standalone View
Standalone View
krusader/Synchronizer/synchronizergui.h
Show First 20 Lines • Show All 174 Lines • ▼ Show 20 Line(s) | 165 | private: | |||
---|---|---|---|---|---|
175 | void convertFromSeconds(int &time, int &unit, int second); | 175 | void convertFromSeconds(int &time, int &unit, int second); | ||
176 | 176 | | |||
177 | static QPushButton *createButton(QWidget *parent, const QString &iconName, bool checked, | 177 | static QPushButton *createButton(QWidget *parent, const QString &iconName, bool checked, | ||
178 | const QKeySequence &shortCut, const QString &description, | 178 | const QKeySequence &shortCut, const QString &description, | ||
179 | const QString &text = QString(), bool textAndIcon = false); | 179 | const QString &text = QString(), bool textAndIcon = false); | ||
180 | 180 | | |||
181 | protected: | 181 | protected: | ||
182 | void keyPressEvent(QKeyEvent *) Q_DECL_OVERRIDE; | 182 | void keyPressEvent(QKeyEvent *) Q_DECL_OVERRIDE; | ||
183 | void resizeEvent(QResizeEvent *e) Q_DECL_OVERRIDE; | | |||
184 | bool eventFilter(QObject *, QEvent *) Q_DECL_OVERRIDE; | 183 | bool eventFilter(QObject *, QEvent *) Q_DECL_OVERRIDE; | ||
185 | 184 | | |||
186 | void executeOperation(SynchronizerFileItem *item, int op); | 185 | void executeOperation(SynchronizerFileItem *item, int op); | ||
187 | 186 | | |||
188 | ProfileManager *profileManager; | 187 | ProfileManager *profileManager; | ||
189 | FilterTabs *filterTabs; | 188 | FilterTabs *filterTabs; | ||
190 | GeneralFilter *generalFilter; | 189 | GeneralFilter *generalFilter; | ||
191 | 190 | | |||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
234 | QCheckBox *ignoreHiddenFilesCB; | 233 | QCheckBox *ignoreHiddenFilesCB; | ||
235 | 234 | | |||
236 | private: | 235 | private: | ||
237 | static QString dirLabel(); // returns translated '<DIR>' | 236 | static QString dirLabel(); // returns translated '<DIR>' | ||
238 | 237 | | |||
239 | bool isComparing; | 238 | bool isComparing; | ||
240 | bool wasClosed; | 239 | bool wasClosed; | ||
241 | bool wasSync; | 240 | bool wasSync; | ||
242 | bool firstResize; | | |||
243 | bool hasSelectedFiles; | 241 | bool hasSelectedFiles; | ||
244 | SyncViewItem *lastItem; | 242 | SyncViewItem *lastItem; | ||
245 | 243 | | |||
246 | int sizeX; | | |||
247 | int sizeY; | | |||
248 | | ||||
249 | QColor foreGrounds[ TT_MAX ]; | 244 | QColor foreGrounds[ TT_MAX ]; | ||
250 | QColor backGrounds[ TT_MAX ]; | 245 | QColor backGrounds[ TT_MAX ]; | ||
251 | }; | 246 | }; | ||
252 | 247 | | |||
253 | #endif /* __SYNCHRONIZERGUI_H__ */ | 248 | #endif /* __SYNCHRONIZERGUI_H__ */ |