mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Re-organized DetailsPanel across editions in a saner way.
This commit is contained in:
@@ -21,7 +21,7 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
IBOutlet ResultWindowBase *result;
|
||||
|
||||
DirectoryPanel *_directoryPanel;
|
||||
DetailsPanelBase *_detailsPanel;
|
||||
DetailsPanel *_detailsPanel;
|
||||
BOOL _savedResults;
|
||||
}
|
||||
- (IBAction)unlockApp:(id)sender;
|
||||
@@ -29,6 +29,6 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
- (PyDupeGuruBase *)py;
|
||||
- (RecentDirectories *)recentDirectories;
|
||||
- (DirectoryPanel *)directoryPanel;
|
||||
- (DetailsPanelBase *)detailsPanel; // Virtual
|
||||
- (DetailsPanel *)detailsPanel;
|
||||
- (void)saveResults;
|
||||
@end
|
||||
|
||||
@@ -36,7 +36,12 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
return _directoryPanel;
|
||||
}
|
||||
|
||||
- (DetailsPanelBase *)detailsPanel { return nil; } // Virtual
|
||||
- (DetailsPanel *)detailsPanel
|
||||
{
|
||||
if (!_detailsPanel)
|
||||
_detailsPanel = [[DetailsPanel alloc] initWithPy:py];
|
||||
return _detailsPanel;
|
||||
}
|
||||
|
||||
- (void)saveResults
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
#import "Table.h"
|
||||
|
||||
|
||||
@interface DetailsPanelBase : NSWindowController
|
||||
@interface DetailsPanel : NSWindowController
|
||||
{
|
||||
IBOutlet TableView *detailsTable;
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ http://www.hardcoded.net/licenses/hs_license
|
||||
#import "DetailsPanel.h"
|
||||
#import "Consts.h"
|
||||
|
||||
@implementation DetailsPanelBase
|
||||
@implementation DetailsPanel
|
||||
- (id)initWithPy:(PyApp *)aPy
|
||||
{
|
||||
self = [super initWithWindowNibName:@"DetailsPanel"];
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">DetailsPanel</string>
|
||||
<string key="superclassName">DetailsPanelBase</string>
|
||||
<string key="superclassName">NSWindowController</string>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">DetailsPanel.h</string>
|
||||
@@ -524,7 +524,7 @@
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">DetailsPanel</string>
|
||||
<string key="superclassName">DetailsPanelBase</string>
|
||||
<string key="superclassName">NSWindowController</string>
|
||||
<object class="NSMutableDictionary" key="outlets">
|
||||
<string key="NS.key.0">detailsTable</string>
|
||||
<string key="NS.object.0">NSTableView</string>
|
||||
@@ -535,7 +535,7 @@
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">DetailsPanelBase</string>
|
||||
<string key="className">DetailsPanel</string>
|
||||
<string key="superclassName">NSWindowController</string>
|
||||
<object class="NSMutableDictionary" key="outlets">
|
||||
<string key="NS.key.0">detailsTable</string>
|
||||
|
||||
Reference in New Issue
Block a user