⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syncbrowsebutton.h

📁 LINUX 下, 以 QT/KDE 写的档案管理员
💻 H
字号:
/***************************************************************************                          syncbrowsebutton.h  -  description                             -------------------    copyright            : (C) 2004 by Jonas B鋒r    e-mail               : krusader@users.sourceforge.net    web site             : http://krusader.sourceforge.net ---------------------------------------------------------------------------  Description ***************************************************************************This is the button which toggles the synchron-browse-mode (a directory-changeis done in both panels)I could imagine an optional extension which also performs mkdir etc. in the other panelor in ALL tabs on the other side (this could also include copy-actions to this panels)This is very handy if you have several identical clients which you want to updatesimoultanious.The current version only manages sync-browse and got no mode-switch options.  *************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef SYNCBROWSEBUTTON_H#define SYNCBROWSEBUTTON_H#include <qtoolbutton.h>// No synchrone browsing#define SYNCBROWSE_OFF		0// Change only the directory#define SYNCBROWSE_CD			1/*// Make new dirs in both panels#define SYNCBROWSE_MKDIR		2// Delete in both panels#define SYNCBROWSE_DELETE		4// Do everything in all tabs on the other side (not only the oposite panel)#define SYNCBROWSE_ALLTABS		1024// Copy files not only to the other panel but to all tabs on the other side#define SYNCBROWSE_COPY		2048*/class SyncBrowseButton : public QToolButton  {   Q_OBJECTpublic:   SyncBrowseButton(QWidget *parent=0, const char *name=0);  ~SyncBrowseButton();    int state();protected:  int _state;  QPixmap _icon_on;  QPixmap _icon_off;  private slots:  void slotToggled(bool on);};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -