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

📄 panelpopup.h

📁 LINUX 下, 以 QT/KDE 写的档案管理员
💻 H
字号:
#ifndef _PANELPOPUP_H#define _PANELPOPUP_H#include <qwidget.h>#include <qwidgetstack.h>#include <qpixmap.h>#include <qvaluelist.h>#include <kfileitem.h>#include <qguardedptr.h>#include <kio/previewjob.h>#include <kurl.h>class QButtonGroup;class QLabel;class QListViewItem;class QSplitter;class KFileTreeView;class QToolButton;class KrSqueezedTextLabel;class KLineEdit;class KComboBox;class KrusaderImageFilePreview;class PanelViewer;class DiskUsageViewer;class PanelPopup: public QWidget {   Q_OBJECT   enum Parts { Tree, Preview, QuickPanel, View, DskUsage, Last=0xFF };public:   PanelPopup( QSplitter *splitter, bool left );   ~PanelPopup();	inline int currentPage() const { return stack->id(stack->visibleWidget()); }	void saveSizes();public slots:   void update(KURL url);	void show();	void hide();	signals:	void selection(const KURL &url);	void hideMe();   protected slots:		virtual void setFocus();	void tabSelected(int id);	void treeSelection(QListViewItem*);	void slotDroppedOnTree(QWidget *widget, QDropEvent *e, KURL::List &lst, KURL &);	void handleOpenURLRequest(const KURL &url);	void quickSelect();	void quickSelect(const QString &);        void quickSelectStore();protected:	bool _left;	bool _hidden;	QWidgetStack *stack;	KrusaderImageFilePreview *viewer;	KrSqueezedTextLabel *dataLine;	QGuardedPtr<KIO::PreviewJob> pjob;	KFileTreeView *tree;	QToolButton *treeBtn, *previewBtn, *quickBtn, *viewerBtn, *duBtn;	QButtonGroup *btns;	KLineEdit *quickFilter;	KComboBox *quickSelectCombo;	PanelViewer *panelviewer;	DiskUsageViewer *diskusage;	QValueList<int> splitterSizes;	QSplitter *splitter;};#endif // _PANELPOPUP_H

⌨️ 快捷键说明

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