TimerPool fixoutManipulator
git-svn-id: svn://db.shs.com.ru/pip@78 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -14,10 +14,13 @@ public:
|
||||
PIScreenTile * tile() const;
|
||||
PIScreenTile * remoteTile() const {return panels[1];}
|
||||
|
||||
void setRemote(bool r) {panels[1]->remote = r;}
|
||||
enum Action {MkDir, Remove, Copy, Move};
|
||||
|
||||
void setRemote(bool r) {panels[1]->remote = r; panels[0]->remote_mode = panels[1]->remote_mode = true;}
|
||||
void setRemoteDir(const PIString & d);
|
||||
void setRemoteContent(const PIVector<PIFile::FileInfo> & el);
|
||||
PIString remoteDir() const {return panels[1]->dir.absolutePath();}
|
||||
PIString localDir() const {return panels[0]->dir.absolutePath();}
|
||||
PIStringList selectedRemote() const;
|
||||
PIFile::FileInfo currentRemoteEntry() const;
|
||||
PIFile::FileInfo selectedRemoteEntry(int index) const {return panels[1]->entries[index];}
|
||||
@@ -25,8 +28,12 @@ public:
|
||||
void remoteRestoreDir();
|
||||
void readingRemote() const {panels[1]->showReading();}
|
||||
|
||||
EVENT(menuRequest)
|
||||
EVENT3(actionRequest, bool, remote_tile, FileManager::Action, type, PIVariant, data)
|
||||
|
||||
private:
|
||||
class TileDir: public TileList {
|
||||
PIOBJECT_SUBCLASS(TileDir, TileList)
|
||||
public:
|
||||
TileDir();
|
||||
void updateDir();
|
||||
@@ -38,17 +45,18 @@ private:
|
||||
void unlock();
|
||||
void showReading();
|
||||
void setContent(const PIVector<PIFile::FileInfo> & l);
|
||||
PIStringList selectedNames() const;
|
||||
TileSimple * label_path;
|
||||
PIVector<PIFile::FileInfo> entries;
|
||||
PIDir dir;
|
||||
PIMap<PIString, PIPair<int, int> > prev_pos;
|
||||
bool resized, remote;
|
||||
bool resized, remote, remote_mode;
|
||||
void * fm, * key_func;
|
||||
EVENT3(actionRequest, bool, remote_tile, FileManager::Action, type, PIVariant, data)
|
||||
};
|
||||
|
||||
EVENT_HANDLER1(void, keyEvent, PIKbdListener::KeyEvent, key);
|
||||
EVENT1(tileKey, PIKbdListener::KeyEvent, key)
|
||||
EVENT(menuRequest)
|
||||
static void tileKey_s(void * fm, PIKbdListener::KeyEvent key) {((FileManager*)fm)->tileKey(key);}
|
||||
void updateConsole();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user